diff options
Diffstat (limited to 'meta/classes/systemd-boot.bbclass')
-rw-r--r-- | meta/classes/systemd-boot.bbclass | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/classes/systemd-boot.bbclass b/meta/classes/systemd-boot.bbclass deleted file mode 100644 index 5aa32dd997..0000000000 --- a/meta/classes/systemd-boot.bbclass +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | # Copyright (C) 2016 Intel Corporation | ||
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | |||
5 | # systemd-boot.bbclass - The "systemd-boot" is essentially the gummiboot merged into systemd. | ||
6 | # The original standalone gummiboot project is dead without any more | ||
7 | # maintenance. | ||
8 | # | ||
9 | # Set EFI_PROVIDER = "systemd-boot" to use systemd-boot on your live images instead of grub-efi | ||
10 | # (images built by image-live.bbclass) | ||
11 | |||
12 | do_bootimg[depends] += "${MLPREFIX}systemd-boot:do_deploy" | ||
13 | |||
14 | require conf/image-uefi.conf | ||
15 | # Need UUID utility code. | ||
16 | inherit fs-uuid | ||
17 | |||
18 | efi_populate() { | ||
19 | efi_populate_common "$1" systemd | ||
20 | |||
21 | # systemd-boot requires these paths for configuration files | ||
22 | # they are not customizable so no point in new vars | ||
23 | install -d ${DEST}/loader | ||
24 | install -d ${DEST}/loader/entries | ||
25 | install -m 0644 ${SYSTEMD_BOOT_CFG} ${DEST}/loader/loader.conf | ||
26 | for i in ${SYSTEMD_BOOT_ENTRIES}; do | ||
27 | install -m 0644 ${i} ${DEST}/loader/entries | ||
28 | done | ||
29 | } | ||
30 | |||
31 | efi_iso_populate:append() { | ||
32 | cp -r $iso_dir/loader ${EFIIMGDIR} | ||
33 | } | ||
34 | |||
35 | inherit systemd-boot-cfg | ||