diff options
author | Wolfgang Müller | 2022-04-28 17:21:37 +0200 |
---|---|---|
committer | Wolfgang Müller | 2022-04-28 17:21:37 +0200 |
commit | 71cd74069ebd85716384a7f3fb07bfc22218044d (patch) | |
tree | 455a8e98845bbed5c8b564c896f4a37141ef287c | |
parent | 58e458ae0330b021b1c318941dac35b5fbe2a928 (diff) | |
download | portage-roles-71cd74069ebd85716384a7f3fb07bfc22218044d.tar.gz |
boot-efi: Add profile for EFI booting
This enables systemd-boot support and includes a script that will
automatically update the systemd bootloader every time the systemd
package is updated.
-rw-r--r-- | boot-efi/env/sys-apps/systemd | 3 | ||||
-rw-r--r-- | boot-efi/package.use/04-boot-efi | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/boot-efi/env/sys-apps/systemd b/boot-efi/env/sys-apps/systemd new file mode 100644 index 0000000..91b83b4 --- /dev/null +++ b/boot-efi/env/sys-apps/systemd @@ -0,0 +1,3 @@ +if test "${EBUILD_PHASE}" = "postinst"; then + bootctl --no-variables --graceful update +fi diff --git a/boot-efi/package.use/04-boot-efi b/boot-efi/package.use/04-boot-efi new file mode 100644 index 0000000..0fe5888 --- /dev/null +++ b/boot-efi/package.use/04-boot-efi @@ -0,0 +1 @@ +sys-apps/systemd gnuefi |