From 7279d212847bf9fa04af7606738539d64b9b62d1 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Sun, 4 Oct 2020 14:23:39 +0200 Subject: [PATCH] Needed to remove exit 1 because mkinitcpio returns 1 also if command execute successfull --- scripts/image/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/image/setup.sh b/scripts/image/setup.sh index 6f74a9e..66d0686 100644 --- a/scripts/image/setup.sh +++ b/scripts/image/setup.sh @@ -369,7 +369,7 @@ if [ "$encrypt_system" == "y" ] sed -i "s/$mkinitcpio_search_hooks/$mkinitcpio_replace_hooks/g" "$mkinitcpio_path" && info "Content of $mkinitcpio_path:$(cat "$mkinitcpio_path")" && info "Generating mkinitcpio..." && - echo "mkinitcpio -vP || exit 1" | chroot "$root_mount_path" /bin/bash && + echo "mkinitcpio -vP" | chroot "$root_mount_path" /bin/bash && fstab_insert_line="UUID=$root_partition_uuid / $root_filesystem defaults,noatime 0 1" && info "Configuring $fstab_path..." || error