chore: --noconfirm
This commit is contained in:
parent
98f56a7bd7
commit
d2e30d77f9
1 changed files with 2 additions and 1 deletions
3
akshara
3
akshara
|
@ -126,6 +126,7 @@ def update_system():
|
|||
os.chdir('/')
|
||||
|
||||
if os.path.isdir('/.new_rootfs'):
|
||||
# add code here to unmount any directories under the new rootfs dir
|
||||
exec('rm', '-rf', '/.new_rootfs')
|
||||
|
||||
# Check if update is available
|
||||
|
@ -316,7 +317,7 @@ Server = {package_repo["repo-url"]}
|
|||
exec_chroot('bash', '-c', 'echo "FILES=()" >> /etc/mkinitcpio.conf')
|
||||
exec_chroot('bash', '-c', 'echo "HOOKS=(base udev akshara autodetect keyboard keymap modconf block filesystems fsck)" >> /etc/mkinitcpio.conf')
|
||||
|
||||
exec_chroot('pacman', '-S', 'shadow')
|
||||
exec_chroot('pacman', '-S', '--nonconfirm', 'shadow')
|
||||
|
||||
exec_chroot('mkinitcpio', '-P')
|
||||
|
||||
|
|
Loading…
Reference in a new issue