summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2019-09-16 17:29:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-16 23:02:45 +0100
commit48c9259eae6f8ca9bd7b4fb9c41f8b26c086738d (patch)
treed500a29c50154c34aabfc3d592f80494e0878f19 /meta/recipes-bsp/grub
parent224355418b514ca16334ae261ff8404a14987ad3 (diff)
downloadpoky-48c9259eae6f8ca9bd7b4fb9c41f8b26c086738d.tar.gz
grub: remove diffutils and freetype runtime dependencies
The diffutils runtime dependency was introduced from legacy grub since the script grub-install invokes cmp command which is from diffutils package. But in Grub2 the grub-install has been rewritten with C language. So this package isn't needed anymore. The freetype runtime dependency is for grub-mkfont but we have explicitly disabled grub-mkfont build. It is safe to remove it. (From OE-Core rev: 56e4e05417f8ddba60a8b76fa4c8834aa8ea4692) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub')
-rw-r--r--meta/recipes-bsp/grub/grub-efi_2.04.bb2
-rw-r--r--meta/recipes-bsp/grub/grub_2.04.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_2.04.bb b/meta/recipes-bsp/grub/grub-efi_2.04.bb
index aaa198ea23..c85879b677 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.04.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.04.bb
@@ -3,7 +3,7 @@ require grub2.inc
3GRUBPLATFORM = "efi" 3GRUBPLATFORM = "efi"
4 4
5DEPENDS_append_class-target = " grub-efi-native" 5DEPENDS_append_class-target = " grub-efi-native"
6RDEPENDS_${PN}_class-target = "diffutils freetype grub-common virtual/grub-bootconf" 6RDEPENDS_${PN}_class-target = "grub-common virtual/grub-bootconf"
7 7
8SRC_URI += " \ 8SRC_URI += " \
9 file://cfg \ 9 file://cfg \
diff --git a/meta/recipes-bsp/grub/grub_2.04.bb b/meta/recipes-bsp/grub/grub_2.04.bb
index 1d1a45670c..9232ea8120 100644
--- a/meta/recipes-bsp/grub/grub_2.04.bb
+++ b/meta/recipes-bsp/grub/grub_2.04.bb
@@ -1,7 +1,7 @@
1require grub2.inc 1require grub2.inc
2 2
3RDEPENDS_${PN}-common += "${PN}-editenv" 3RDEPENDS_${PN}-common += "${PN}-editenv"
4RDEPENDS_${PN} += "diffutils freetype ${PN}-common" 4RDEPENDS_${PN} += "${PN}-common"
5 5
6RPROVIDES_${PN}-editenv += "${PN}-efi-editenv" 6RPROVIDES_${PN}-editenv += "${PN}-efi-editenv"
7 7