From 71cd74069ebd85716384a7f3fb07bfc22218044d Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 28 Apr 2022 17:21:37 +0200 Subject: 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. --- boot-efi/env/sys-apps/systemd | 3 +++ boot-efi/package.use/04-boot-efi | 1 + 2 files changed, 4 insertions(+) create mode 100644 boot-efi/env/sys-apps/systemd create mode 100644 boot-efi/package.use/04-boot-efi 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 -- cgit v1.2.3-2-gb3c3