mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-14 01:01:30 +01:00
Second stage of script for isos
This commit is contained in:
@@ -17,6 +17,8 @@ function modifyimage {
|
|||||||
sudo arch-chroot $sfslocate/ /usr/bin/reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist
|
sudo arch-chroot $sfslocate/ /usr/bin/reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist
|
||||||
#Delete packages not needed from official iso
|
#Delete packages not needed from official iso
|
||||||
sudo arch-chroot $sfslocate/ /usr/bin/pacman -R clonezilla darkhttpd diffutils grml-zsh-config irssi linux-atm lvm2 man-db man-pages mc ndisc6 nmap smartmontools testdisk vi vim vim-runtime zsh openconnect pcsclite python2 --noconfirm
|
sudo arch-chroot $sfslocate/ /usr/bin/pacman -R clonezilla darkhttpd diffutils grml-zsh-config irssi linux-atm lvm2 man-db man-pages mc ndisc6 nmap smartmontools testdisk vi vim vim-runtime zsh openconnect pcsclite python2 --noconfirm
|
||||||
|
#Restore bash shell (not zsh)
|
||||||
|
sudo arch-chroot $sfslocate/ /usr/bin/chsh -s /bin/bash root
|
||||||
#Install new
|
#Install new
|
||||||
sudo arch-chroot $sfslocate/ /usr/bin/pacman -Su gparted xf86-video-vesa xorg-xinit --noconfirm --ignore linux #Do not upgrade kernel automatically
|
sudo arch-chroot $sfslocate/ /usr/bin/pacman -Su gparted xf86-video-vesa xorg-xinit --noconfirm --ignore linux #Do not upgrade kernel automatically
|
||||||
sudo rm -rf $sfslocate/var/cache/pacman/pkg/*
|
sudo rm -rf $sfslocate/var/cache/pacman/pkg/*
|
||||||
|
|||||||
Reference in New Issue
Block a user