Add amf_return return code everywhere

This commit is contained in:
maride
2017-09-02 15:07:59 +02:00
parent 3fcf5a6a96
commit 4c4b8b624c
10 changed files with 22 additions and 2 deletions

View File

@@ -26,3 +26,5 @@ echo "~> Mount partitions"
mount $rootformat /mnt
mkdir -p /mnt/boot
mount ${blockdevice}1 /mnt/boot
amf_return=0

View File

@@ -2,3 +2,5 @@
echo "~> Installing 'base' group and 'grub', 'efibootmgr'"
pacstrap /mnt base grub efibootmgr
amf_return=0

View File

@@ -33,3 +33,5 @@ echo "HOOKS=\"base udev autodetect modconf block keyboard keymap encrypt filesys
echo "~> ... and recompile the kernel"
arch-chroot /mnt mkinitcpio -p linux
amf_return=0