elemental-toolkit/pkg/features/embedded
David Cassany Viladomat 92264f1e70 Add cloud-init paths of the new root in 'after-*' hooks (#2192)
* Add cloud-init paths of the new root in 'after-*' hooks

This commit enables to run the non chrooted 'after-*' hooks
included in the newly deployed image root. This specially applies to the
install, reset, upgrade and build-disk commands.

Moreover, 'after-disk' command now includes static reference paths to
the new root and working directory, so that those can be used within
the hooks regardless of the choosen output directory.

* Include arm-firwmare feature

This commit introduces an arm-firmware feature adding
the required after-* hooks to ensure the RPi firmware is
copied to the EFI partition.

It could be, eventually, extended to support other boards
and it does not harm systems which are not including RPi
firmware.

* Allow features to be passed as arguments

Signed-off-by: David Cassany <dcassany@suse.com>
(cherry picked from commit 30a64d70be)
2024-10-02 11:42:35 +02:00
..
arm-firmware/system/oem Add cloud-init paths of the new root in 'after-*' hooks (#2192) 2024-10-02 11:42:35 +02:00
autologin/system/oem Add autologin feature (#2056) 2024-04-23 17:37:07 +02:00
boot-assessment
cloud-config-defaults/system/oem Bump to v2.1.1 for tests and fix recovery test 2024-09-05 13:20:53 +02:00
cloud-config-essentials/system/oem Define layout with yaml format 2024-05-08 11:01:45 +02:00
dracut-config/etc/dracut.conf.d
elemental-rootfs Move mount config file to /run/elemental 2024-05-10 15:09:08 +02:00
elemental-setup Make RAW disks recovery partition expandable (#2159) 2024-08-08 10:38:52 +02:00
elemental-sysroot Make RAW disks recovery partition expandable (#2159) 2024-08-08 10:38:52 +02:00
grub-config/etc/elemental
grub-default-bootargs/etc/elemental Do not require network in initrd by default 2024-09-05 13:20:53 +02:00