diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-10-06 18:32:15 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-10-06 18:32:15 +0200 |
commit | 264a5e55ba959d1a51e9d5d71106067ac95b5aa3 (patch) | |
tree | 5d38d427155b4c16f44dcd0009e1817a92559b68 | |
parent | 6c440e9fd739032edc5dacffd03944db7cd80636 (diff) |
install fakeroot temporarily to build efistub-standalone
-rwxr-xr-x | mkcryptuefi | 4 | ||||
-rwxr-xr-x | mkuefi | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mkcryptuefi b/mkcryptuefi index d662fb6..eaf67e1 100755 --- a/mkcryptuefi +++ b/mkcryptuefi @@ -47,12 +47,16 @@ sed -i 's/#fallback_uki="\/efi\/EFI\/Linux\/arch-linux-hardened\.efi"/fallback_u mkdir -p /boot/efi/EFI/artix +pacman -S --needed --noconfirm fakeroot + useradd -m aur (cd /home/aur && su aur -c 'git clone https://aur.archlinux.org/efistub-standalone.git') (cd /home/aur/efistub-standalone && su aur -c 'makepkg -rc') pacman -U /home/aur/efistub-standalone/efistub-standalone-*.pkg.tar.zst userdel -r aur +pacman -Rns --noconfirm fakeroot + mkinitcpio -p linux-hardened efibootmgr --create --disk ${DRIVE} --part 1 --label "Artix Linux" --loader '\EFI\artix\artix-linux-hardened.efi' --unicode @@ -44,12 +44,16 @@ sed -i 's/#fallback_uki="\/efi\/EFI\/Linux\/arch-linux\.efi"/fallback_uki="\/boo mkdir -p /boot/efi/EFI/artix +pacman -S --needed --noconfirm fakeroot + useradd -m aur (cd /home/aur && su aur -c 'git clone https://aur.archlinux.org/efistub-standalone.git') (cd /home/aur/efistub-standalone && su aur -c 'makepkg -rc') pacman -U /home/aur/efistub-standalone/efistub-standalone-*.pkg.tar.zst userdel -r aur +pacman -Rns --noconfirm fakeroot + mkinitcpio -p linux efibootmgr --create --disk ${DRIVE} --part 1 --label "Artix Linux" --loader '\EFI\artix\artix-linux.efi' --unicode |