generic-poky/meta/recipes-core/initrdscripts
Jérémy Rosen 21916234dd init-live : make it easier to add custom boot targets
When booting from the live image, the label from the bootloader is passed
to init.sh. init.sh uses the label to either boot a live image or call a
script to take over and install the system.

It is possible to add new labels to the bootloader via the LABELS family of
variables, but the names in init.sh were hardcoded to install and
install-efi

this patch checks if a shell script with the same name as the label is
available instead of using a hardcoded list. Any recipe can add such file
and this provide a new boot target to the live image

(From OE-Core rev: 2c10ca0fe612818cb43931b969ad2af5502f1e84)

Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20 23:12:27 +00:00
..
files init-live : make it easier to add custom boot targets 2016-03-20 23:12:27 +00:00
initramfs-framework initramfs-framework: create directory /var/run 2015-12-08 10:20:53 +00:00
initramfs-boot_1.0.bb meta: set proper S value 2015-01-23 11:36:27 +00:00
initramfs-framework_1.0.bb initramfs-framework_1.0:replace busybox for variable. 2016-01-06 15:27:33 +00:00
initramfs-live-boot_1.0.bb initramfs-live-boot: create /dev/console 2015-09-06 15:26:24 +01:00
initramfs-live-install-efi-testfs_1.0.bb meta: set proper S value 2015-01-23 11:36:27 +00:00
initramfs-live-install-efi_1.0.bb initramfs-live-install: Add blkid to initramfs 2015-06-23 11:47:22 +01:00
initramfs-live-install-testfs_1.0.bb meta: set proper S value 2015-01-23 11:36:27 +00:00
initramfs-live-install_1.0.bb initramfs-live-install: Add blkid to initramfs 2015-06-23 11:47:22 +01:00