archlinux: remove linux kernel from the base install so that it can be selected manually in packages.list

This commit is contained in:
Olivier MEDOC 2014-08-01 12:41:55 +02:00 committed by Marek Marczykowski-Górecki
parent 2306b2286b
commit 39db9786c4
2 changed files with 3 additions and 5 deletions

View File

@ -18,6 +18,9 @@ echo "-> Initializing pacman keychain"
echo "-> Installing core pacman packages..." echo "-> Installing core pacman packages..."
./mnt_archlinux_dvd/usr/bin/arch-chroot mnt_archlinux_dvd/ sh -c 'pacstrap /mnt base' ./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" echo "-> Cleaning up bootstrap environment"
umount mnt_archlinux_dvd/mnt umount mnt_archlinux_dvd/mnt

View File

@ -13,11 +13,6 @@ if [ -n "$cleanuppkgs" ] ; then
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc $cleanuppkgs ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc $cleanuppkgs
fi 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 # Remove video plugins
echo "--> Removing video plugins" echo "--> Removing video plugins"
VIDEOPKGS=`./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman -Qs -q xf86-video` VIDEOPKGS=`./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman -Qs -q xf86-video`