From 39db9786c479f4848da67e9c856bd8c8584568d7 Mon Sep 17 00:00:00 2001 From: Olivier MEDOC Date: Fri, 1 Aug 2014 12:41:55 +0200 Subject: [PATCH] archlinux: remove linux kernel from the base install so that it can be selected manually in packages.list --- scripts_archlinux/01_install_core.sh | 3 +++ scripts_archlinux/09_cleanup.sh | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts_archlinux/01_install_core.sh b/scripts_archlinux/01_install_core.sh index 014e86d..fd27cfe 100755 --- a/scripts_archlinux/01_install_core.sh +++ b/scripts_archlinux/01_install_core.sh @@ -18,6 +18,9 @@ echo "-> Initializing pacman keychain" echo "-> Installing core pacman packages..." ./mnt_archlinux_dvd/usr/bin/arch-chroot mnt_archlinux_dvd/ sh -c 'pacstrap /mnt base' +echo "--> Removing non required linux kernel (can be added manually through a package)" +./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc linux + echo "-> Cleaning up bootstrap environment" umount mnt_archlinux_dvd/mnt diff --git a/scripts_archlinux/09_cleanup.sh b/scripts_archlinux/09_cleanup.sh index 9873a69..e149330 100755 --- a/scripts_archlinux/09_cleanup.sh +++ b/scripts_archlinux/09_cleanup.sh @@ -13,11 +13,6 @@ if [ -n "$cleanuppkgs" ] ; then ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc $cleanuppkgs fi -# Remove non required linux kernel -echo "--> Cleaning up linux kernel" -./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc linux -./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -S linux-firmware - # Remove video plugins echo "--> Removing video plugins" VIDEOPKGS=`./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman -Qs -q xf86-video`