diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-09-16 17:29:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-16 23:02:45 +0100 |
commit | 48c9259eae6f8ca9bd7b4fb9c41f8b26c086738d (patch) | |
tree | d500a29c50154c34aabfc3d592f80494e0878f19 | |
parent | 224355418b514ca16334ae261ff8404a14987ad3 (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-bsp/grub/grub-efi_2.04.bb | 2 | ||||
-rw-r--r-- | meta/recipes-bsp/grub/grub_2.04.bb | 2 |
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 | |||
3 | GRUBPLATFORM = "efi" | 3 | GRUBPLATFORM = "efi" |
4 | 4 | ||
5 | DEPENDS_append_class-target = " grub-efi-native" | 5 | DEPENDS_append_class-target = " grub-efi-native" |
6 | RDEPENDS_${PN}_class-target = "diffutils freetype grub-common virtual/grub-bootconf" | 6 | RDEPENDS_${PN}_class-target = "grub-common virtual/grub-bootconf" |
7 | 7 | ||
8 | SRC_URI += " \ | 8 | SRC_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 @@ | |||
1 | require grub2.inc | 1 | require grub2.inc |
2 | 2 | ||
3 | RDEPENDS_${PN}-common += "${PN}-editenv" | 3 | RDEPENDS_${PN}-common += "${PN}-editenv" |
4 | RDEPENDS_${PN} += "diffutils freetype ${PN}-common" | 4 | RDEPENDS_${PN} += "${PN}-common" |
5 | 5 | ||
6 | RPROVIDES_${PN}-editenv += "${PN}-efi-editenv" | 6 | RPROVIDES_${PN}-editenv += "${PN}-efi-editenv" |
7 | 7 | ||