From e0384b9d2710a69743a05f20930f6dc54df49144 Mon Sep 17 00:00:00 2001 From: Tobias Strobel Date: Sun, 11 Sep 2022 18:44:26 +0200 Subject: [PATCH] Fix unterminated sed command + fix efi mount --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index ee3d438..48e0a88 100644 --- a/install.sh +++ b/install.sh @@ -167,7 +167,7 @@ mount -t btrfs -o subvol=docker,$o_btrfs LABEL=system /mnt/var/lib/docker mount -t btrfs -o subvol=logs,$o_btrfs LABEL=system /mnt/var/log mount -t btrfs -o subvol=tmp,$o_btrfs LABEL=system /mnt/var/tmp -mount LABEL=EFI /mnt/efi +mount -o $o LABEL=EFI /mnt/efi echo -e "\n### Configuring custom repo" mkdir "/mnt/var/cache/pacman/${user}-local" @@ -251,7 +251,7 @@ pacstrap /mnt base base-devel arch-secure-boot chezmoi ${all_packages[@]} echo -e "\n### Generating base config files" genfstab -L -p /mnt >> /mnt/etc/fstab -sed -i "s+LABEL=swap+/dev/mapper/swap" /mnt/etc/fstab +sed -i "s+LABEL=swap+/dev/mapper/swap+" /mnt/etc/fstab echo "cryptswap /dev/disk/by-partlabel/cryptswap /dev/urandom swap,cipher=aes-xts-plain64,size=256" >> /mnt/etc/crypttab systemd-nspawn -bD /mnt