add guest addition to build process

This commit is contained in:
JOLIMAITRE Matthieu 2024-03-08 00:14:22 +01:00
parent bdaf26e4da
commit 1bd307f15a
2 changed files with 22 additions and 4 deletions

View file

@ -27,6 +27,15 @@ log "configuring network"
" | arch-chroot -u user "$ROOT"
log "installing virtualbox guest additions"
mkdir "$ROOT/mnt/cdrom"
mount "/dev/sr1" "$ROOT/mnt/cdrom"
echo "
cd /mnt/cdrom
echo yes | sudo ./VBoxLinuxAdditions.run
" | arch-chroot -u user "$ROOT"
log "installing paru"
echo "
cd /tmp