archlinux: Missing packages for using archlinux as a NetVM
This commit is contained in:
parent
95252f246d
commit
07dde30ba2
@ -8,7 +8,15 @@ sudo mount $CACHEDIR/root-image.fs mnt_archlinux_dvd
|
||||
echo "--> Starting cleanup actions"
|
||||
# Remove unused packages and their dependencies (make dependencies)
|
||||
cleanuppkgs=`sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman -Qdt | cut -d " " -f 1`
|
||||
sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc $cleanuppkgs
|
||||
echo "--> Packages that can be cleaned up: $cleanuppkgs"
|
||||
if [ -n "$cleanuppkgs" ] ; then
|
||||
sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc $cleanuppkgs
|
||||
fi
|
||||
|
||||
# Remove non required linux kernel
|
||||
echo "--> Cleaning up linux kernel"
|
||||
sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc linux
|
||||
sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -S linux-firmware
|
||||
|
||||
# Clean pacman cache
|
||||
sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Scc
|
||||
|
@ -13,3 +13,6 @@ ttf-freefont
|
||||
wget
|
||||
zsh
|
||||
xfce4-terminal
|
||||
networkmanager
|
||||
network-manager-applet
|
||||
linux-firmware
|
||||
|
Loading…
Reference in New Issue
Block a user