From dad1e444c0d6f592ab3c97e49f698d163490170f Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 13 Nov 2019 23:16:16 +0000 Subject: Added debug output for the AUR step --- archinstall.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archinstall.py') diff --git a/archinstall.py b/archinstall.py index 0727d235..74f69320 100644 --- a/archinstall.py +++ b/archinstall.py @@ -820,6 +820,7 @@ if __name__ == '__main__': entry.write('options cryptdevice=UUID={UUID}:luksdev root=/dev/mapper/luksdev rw intel_pstate=no_hwp\n'.format(UUID=UUID)) if args['aur-support']: + print('[N] AUR support demanded, building "yay" before running POST steps.') o = b''.join(sys_command('/usr/bin/arch-chroot /mnt sh -c "useradd -m -G wheel aibuilder"').exec()) o = b''.join(sys_command("/usr/bin/sed -i 's/# %wheel ALL=(ALL) NO/%wheel ALL=(ALL) NO/' /mnt/etc/sudoers").exec()) @@ -829,6 +830,7 @@ if __name__ == '__main__': o = b''.join(sys_command('/usr/bin/sed -i \'s/%wheel ALL=(ALL) NO/# %wheel ALL=(ALL) NO/\' /mnt/etc/sudoers').exec()) o = b''.join(sys_command('/usr/bin/arch-chroot /mnt sh -c "userdel aibuilder"').exec()) o = b''.join(sys_command('/usr/bin/arch-chroot /mnt sh -c "rm -rf /home/aibuilder"').exec()) + print('[N] AUR support added. use "yay -Syy --noconfirm " to deploy in POST.') conf = {} if 'post' in instructions: -- cgit v1.2.3-70-g09d2