diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2019-03-24 02:19:52 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2019-05-07 09:23:28 -0400 |
commit | b9734e43d4fb7f2f61d061ed3c0643f1fdadf288 (patch) | |
tree | 272352884b8d74c8601fabb03bc8b2a050ebfdc8 | |
parent | 6ce85fbbb99d9b871dcab3211991009b9d67c57e (diff) |
stash - efiefi
-rwxr-xr-x | configs/profile/build.sh | 12 | ||||
-rw-r--r-- | configs/profile/packages/packages-openrc.x86_64 | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/configs/profile/build.sh b/configs/profile/build.sh index 27fea9f..37d4697 100755 --- a/configs/profile/build.sh +++ b/configs/profile/build.sh @@ -276,7 +276,11 @@ make_isolinux() { # Prepare /EFI make_efi() { mkdir -p ${work_dir}/iso/EFI/boot - if [[ "${iso_init}" == 'systemd' ]]; then + if [[ "${iso_init}" == 'openrc' ]]; then + cp ${work_dir}/x86_64/root-image/usr/share/efitools/efi/PreLoader.efi ${work_dir}/iso/EFI/boot/bootx64.efi + cp ${work_dir}/x86_64/root-image/usr/share/efitools/efi/HashTool.efi ${work_dir}/iso/EFI/boot/ + cp ${work_dir}/x86_64/root-image/usr/share/refind/refind_x64.efi ${work_dir}/iso/EFI/boot/loader.efi + else cp ${work_dir}/x86_64/root-image/usr/lib/systemd/boot/efi/systemd-bootx64.efi ${work_dir}/iso/EFI/boot/bootx64.efi fi @@ -315,7 +319,11 @@ make_efiboot() { cp ${work_dir}/iso/${iso_dirname}/boot/x86_64/parabolaiso.img ${work_dir}/efiboot-staging/EFI/parabolaiso/parabolaiso.img mkdir -p ${work_dir}/efiboot-staging/EFI/boot - if [[ "${iso_init}" == 'systemd' ]]; then + if [[ "${iso_init}" == 'openrc' ]]; then + cp ${work_dir}/x86_64/root-image/usr/share/efitools/efi/PreLoader.efi ${work_dir}/efiboot-staging/EFI/boot/bootx64.efi + cp ${work_dir}/x86_64/root-image/usr/share/efitools/efi/HashTool.efi ${work_dir}/efiboot-staging/EFI/boot/ + cp ${work_dir}/x86_64/root-image/usr/share/refind/refind_x64.efi ${work_dir}/efiboot-staging/EFI/boot/loader.efi + else cp ${work_dir}/x86_64/root-image/usr/lib/systemd/boot/efi/systemd-bootx64.efi ${work_dir}/efiboot-staging/EFI/boot/bootx64.efi fi diff --git a/configs/profile/packages/packages-openrc.x86_64 b/configs/profile/packages/packages-openrc.x86_64 index 177733e..04ac66f 100644 --- a/configs/profile/packages/packages-openrc.x86_64 +++ b/configs/profile/packages/packages-openrc.x86_64 @@ -1,3 +1,5 @@ # this file specifies the packages that are to be installed # in all x86_64 OpenRC live environments regardless of the graphical environment # but these packages will not be installed with other init systems or for other architectures + +efitools |