archlinux: additionnal fixes, packages, and cleanups
This commit is contained in:
parent
9be5dc591f
commit
f2eadb1740
@ -30,6 +30,8 @@ chown -R --reference=$CUSTOMREPO $CUSTOMREPO
|
|||||||
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "pacman -Sy"
|
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "pacman -Sy"
|
||||||
|
|
||||||
echo "--> Installing qubes-packages..."
|
echo "--> Installing qubes-packages..."
|
||||||
|
# Install xinit first to allow qubes-vm-core to fix potential bugs in xinit (xinit is a dep of qubes-vm-gui)
|
||||||
|
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "pacman -S --noconfirm --asdeps xorg-xinit"
|
||||||
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "pacman -S --noconfirm qubes-vm-xen"
|
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "pacman -S --noconfirm qubes-vm-xen"
|
||||||
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "pacman -S --noconfirm qubes-vm-core"
|
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "pacman -S --noconfirm qubes-vm-core"
|
||||||
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "pacman -S --noconfirm qubes-vm-gui"
|
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "pacman -S --noconfirm qubes-vm-gui"
|
||||||
@ -51,7 +53,6 @@ ln -s /etc/sysconfig/i18n $INSTALLDIR/etc/locale.conf
|
|||||||
sed 's/#en_US/en_US/g' -i $INSTALLDIR/etc/locale.gen
|
sed 's/#en_US/en_US/g' -i $INSTALLDIR/etc/locale.gen
|
||||||
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "locale-gen"
|
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR sh -c "locale-gen"
|
||||||
|
|
||||||
|
|
||||||
mkdir -p $INSTALLDIR/lib/modules
|
mkdir -p $INSTALLDIR/lib/modules
|
||||||
# Creating a random file in /lib/modules to ensure that the directory in never deleted when packages are removed
|
# Creating a random file in /lib/modules to ensure that the directory in never deleted when packages are removed
|
||||||
touch $INSTALLDIR/lib/modules/QUBES
|
touch $INSTALLDIR/lib/modules/QUBES
|
||||||
|
@ -18,6 +18,14 @@ 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 -Rsc linux
|
||||||
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -S linux-firmware
|
./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`
|
||||||
|
echo $VIDEOPKGS | ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc -
|
||||||
|
|
||||||
|
# Remove other font package
|
||||||
|
./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc xorg-fonts-100dpi xorg-fonts-75dpi
|
||||||
|
|
||||||
# Disable qubes local repository
|
# Disable qubes local repository
|
||||||
sed '/QubesTMP/d' -i $INSTALLDIR/etc/pacman.conf
|
sed '/QubesTMP/d' -i $INSTALLDIR/etc/pacman.conf
|
||||||
|
|
||||||
|
@ -4,15 +4,22 @@ python2
|
|||||||
artwiz-fonts
|
artwiz-fonts
|
||||||
ethtool
|
ethtool
|
||||||
font-bitstream-speedo
|
font-bitstream-speedo
|
||||||
leafpad
|
|
||||||
net-tools
|
net-tools
|
||||||
sudo
|
sudo
|
||||||
ttf-dejavu
|
ttf-dejavu
|
||||||
ttf-freefont
|
ttf-freefont
|
||||||
wget
|
wget
|
||||||
zsh
|
zsh
|
||||||
xfce4-terminal
|
|
||||||
networkmanager
|
networkmanager
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
linux-firmware
|
linux-firmware
|
||||||
gnome-settings-daemon
|
gnome-settings-daemon
|
||||||
|
gvfs
|
||||||
|
lxappearance
|
||||||
|
gtk-engines
|
||||||
|
firefox
|
||||||
|
thunderbird
|
||||||
|
xfce4-terminal
|
||||||
|
leafpad
|
||||||
|
thunar
|
||||||
|
thunar-volman
|
||||||
|
Loading…
Reference in New Issue
Block a user