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
autologin/system/oem
boot-assessment
cloud-config-defaults/system/oem
cloud-config-essentials/system/oem
dracut-config/etc/dracut.conf.d
elemental-rootfs
elemental-setup
elemental-sysroot
grub-config/etc/elemental
grub-default-bootargs/etc/elemental