]> code.ossystems Code Review - openembedded-core.git/commitdiff
grub: remove diffutils and freetype runtime dependencies
authorYi Zhao <yi.zhao@windriver.com>
Mon, 16 Sep 2019 09:29:17 +0000 (17:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Sep 2019 10:47:44 +0000 (11:47 +0100)
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.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/grub/grub-efi_2.04.bb
meta/recipes-bsp/grub/grub_2.04.bb

index aaa198ea23ec4039c0b48e9a68d0fcb710da7bfe..c85879b6772f401f569d486966f758c80d88a792 100644 (file)
@@ -3,7 +3,7 @@ require grub2.inc
 GRUBPLATFORM = "efi"
 
 DEPENDS_append_class-target = " grub-efi-native"
-RDEPENDS_${PN}_class-target = "diffutils freetype grub-common virtual/grub-bootconf"
+RDEPENDS_${PN}_class-target = "grub-common virtual/grub-bootconf"
 
 SRC_URI += " \
            file://cfg \
index 1d1a45670cf57638a67634bacdf320112e6d15e6..9232ea81202f3f42340ba46f4648f86b87293409 100644 (file)
@@ -1,7 +1,7 @@
 require grub2.inc
 
 RDEPENDS_${PN}-common += "${PN}-editenv"
-RDEPENDS_${PN} += "diffutils freetype ${PN}-common"
+RDEPENDS_${PN} += "${PN}-common"
 
 RPROVIDES_${PN}-editenv += "${PN}-efi-editenv"