Skip to contentSkip to conversation

grub: remove diffutils and freetype runtime dependencies

PATCH New Yi Zhao 1 participant 1 message Sep 16, 2019

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-bsp/grub/grub-efi_2.04.bb | 2 +-
 meta/recipes-bsp/grub/grub_2.04.bb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-bsp/grub/grub-efi_2.04.bb +1 -1
index aaa198e..c85879b 100644
@@ -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 \
meta/recipes-bsp/grub/grub_2.04.bb +1 -1
index 1d1a456..9232ea8 100644
@@ -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"
 
Signature · 1 line
2.7.4