feat: remove linux kernel prior to installation

This commit is contained in:
Rudra Saraswat 2023-05-14 19:31:46 +05:30
parent db15089789
commit ec0be2ed48

View file

@ -244,6 +244,8 @@ def inst_setup_base(config):
# Refresh package lists, pacman-key --init # Refresh package lists, pacman-key --init
exec_chroot(['pacman-key', '--init']) exec_chroot(['pacman-key', '--init'])
exec_chroot(['pacman-key', '--populate', 'archlinux', 'blend']) exec_chroot(['pacman-key', '--populate', 'archlinux', 'blend'])
# Remove linux package, since we're using linux-zen
exec_chroot(['pacman', '-R', 'linux'])
# Copy kernel # Copy kernel
if testing == False: if testing == False:
airootfs_files = [os.path.join(dirpath, filename) airootfs_files = [os.path.join(dirpath, filename)