Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cloud-init paths of the new root in 'after-*' hooks #2192

Merged
merged 3 commits into from
Sep 25, 2024

Commits on Sep 24, 2024

  1. 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.
    
    Signed-off-by: David Cassany <dcassany@suse.com>
    davidcassany committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    eb9e4b2 View commit details
    Browse the repository at this point in the history
  2. 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.
    
    Signed-off-by: David Cassany <dcassany@suse.com>
    davidcassany committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    86cd88a View commit details
    Browse the repository at this point in the history
  3. Allow features to be passed as arguments

    Signed-off-by: David Cassany <dcassany@suse.com>
    davidcassany committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    8f8d96b View commit details
    Browse the repository at this point in the history