mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 20:27:58 +02:00
grub: Move grub-editenv packaging to grub2.inc
The editenv utility must be available on grub and grub-efi so we better have it inside the grub2.inc file to avoid the duplication of metadata. (From OE-Core rev: ebdd054ad85b19d47dd20eab0ba3f31ef5141140) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
add4b2aad1
commit
5719b37bcd
@@ -70,3 +70,9 @@ do_configure_prepend() {
|
||||
# grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are
|
||||
# conflicted, remove it since no one uses it.
|
||||
SYSROOT_DIRS_BLACKLIST += "${datadir}/grub/grub-mkconfig_lib"
|
||||
|
||||
PACKAGES =+ "${PN}-editenv"
|
||||
|
||||
FILES_${PN}-editenv = "${bindir}/grub-editenv"
|
||||
RDEPENDS_${PN} += "${PN}-editenv"
|
||||
RDEPENDS_${PN}_class-native = ""
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
require grub2.inc
|
||||
|
||||
RDEPENDS_${PN} = "diffutils freetype grub-editenv"
|
||||
|
||||
PACKAGES =+ "grub-editenv"
|
||||
|
||||
FILES_grub-editenv = "${bindir}/grub-editenv"
|
||||
RDEPENDS_${PN} += "diffutils freetype"
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}${sysconfdir}/grub.d
|
||||
|
||||
Reference in New Issue
Block a user