summaryrefslogtreecommitdiffstats
path: root/boot-efi/env/sys-apps
diff options
context:
space:
mode:
authorWolfgang Müller2022-04-28 17:21:37 +0200
committerWolfgang Müller2022-04-28 17:21:37 +0200
commit71cd74069ebd85716384a7f3fb07bfc22218044d (patch)
tree455a8e98845bbed5c8b564c896f4a37141ef287c /boot-efi/env/sys-apps
parent58e458ae0330b021b1c318941dac35b5fbe2a928 (diff)
downloadportage-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.
Diffstat (limited to 'boot-efi/env/sys-apps')
-rw-r--r--boot-efi/env/sys-apps/systemd3
1 files changed, 3 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