feat: do not overwrite mkinitcpio.conf
This commit is contained in:
parent
03f30a545e
commit
97224821ef
1 changed files with 0 additions and 5 deletions
5
akshara
5
akshara
|
@ -342,11 +342,6 @@ Server = {package_repo["repo-url"]}
|
|||
error('cancelling update so as not to render the system unbootable')
|
||||
sys.exit(10)
|
||||
|
||||
exec_chroot('bash', '-c', 'echo "MODULES=()" > /etc/mkinitcpio.conf')
|
||||
exec_chroot('bash', '-c', 'echo "BINARIES=()" >> /etc/mkinitcpio.conf')
|
||||
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', '--noconfirm', 'shadow')
|
||||
|
||||
exec_chroot('mkinitcpio', '-P')
|
||||
|
|
Loading…
Reference in a new issue