add dvi optimization
This commit is contained in:
parent
3dd105acff
commit
5337ee2aed
4 changed files with 30 additions and 6 deletions
|
@ -33,7 +33,7 @@ log "installing virtualbox guest additions"
|
|||
echo "
|
||||
cd /mnt/cdrom
|
||||
echo yes | sudo ./VBoxLinuxAdditions.run
|
||||
" | arch-chroot -u user "$ROOT"
|
||||
" | arch-chroot -u user "$ROOT" || true # will fail to reload modules since running in a chroot, but installation still successful
|
||||
|
||||
|
||||
log "installing paru"
|
||||
|
@ -94,3 +94,10 @@ log "configuring home"
|
|||
do code --install-extension $ext
|
||||
done
|
||||
' | arch-chroot -u user "$ROOT"
|
||||
|
||||
|
||||
log "optimizing drive"
|
||||
umount "$ROOT/mnt/crdom"
|
||||
umount "$ROOT/boot"
|
||||
umount "$ROOT"
|
||||
zerofree -v /dev/sda2 # note : sda2 is the 20Gb drive, sda1 is the boot partition
|
||||
|
|
|
@ -132,3 +132,4 @@ xl2tpd
|
|||
zsh
|
||||
|
||||
# mb packages
|
||||
zerofree
|
||||
|
|
|
@ -94,6 +94,6 @@ Include = /etc/pacman.d/mirrorlist
|
|||
|
||||
# An example of a custom package repository. See the pacman manpage for
|
||||
# tips on creating your own repositories.
|
||||
#[custom]
|
||||
#SigLevel = Optional TrustAll
|
||||
#Server = file:///home/custompkgs
|
||||
[custom]
|
||||
SigLevel = Optional TrustAll
|
||||
Server = file:///tmp/custom-db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue