diff options
author | Alejandro del Castillo <alejandro.delcastillo@ni.com> | 2016-08-16 17:00:30 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-18 09:27:53 +0100 |
commit | 10e44fe6fb9f0676dfd4ef10f79eceac61011874 (patch) | |
tree | cecd01bc8d089f4cb5b23883456d502268afdf70 | |
parent | 2973bc2b293a6bced9413c13643d4f213b2308fb (diff) | |
download | poky-10e44fe6fb9f0676dfd4ef10f79eceac61011874.tar.gz |
grub: split grub-editenv into it's own package
grub-editenv edits the env block at runtime on a booted system. Other
tools can depend on it to configure a live system, for ex. to set next
boot mode upon reboot. By splitting grub-editenv, tools don't have to
depend on the entire grub package (grub-editenv just edits one file).
(From OE-Core rev: 24b832b6e31c4e358d0c7a0062b69f66469cdcee)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-bsp/grub/grub_2.00.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-bsp/grub/grub_2.00.bb b/meta/recipes-bsp/grub/grub_2.00.bb index 778074a387..07e1d101b3 100644 --- a/meta/recipes-bsp/grub/grub_2.00.bb +++ b/meta/recipes-bsp/grub/grub_2.00.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require grub2.inc | 1 | require grub2.inc |
2 | 2 | ||
3 | RDEPENDS_${PN} = "diffutils freetype" | 3 | RDEPENDS_${PN} = "diffutils freetype grub-editenv" |
4 | PR = "r1" | 4 | PR = "r1" |
5 | 5 | ||
6 | EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \ | 6 | EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \ |
@@ -8,6 +8,10 @@ EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \ | |||
8 | 8 | ||
9 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}" | 9 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}" |
10 | 10 | ||
11 | PACKAGES =+ "grub-editenv" | ||
12 | |||
13 | FILES_grub-editenv = "${bindir}/grub-editenv" | ||
14 | |||
11 | do_install_append () { | 15 | do_install_append () { |
12 | install -d ${D}${sysconfdir}/grub.d | 16 | install -d ${D}${sysconfdir}/grub.d |
13 | } | 17 | } |