switch to task-xfce-desktop, more fixes

This commit is contained in:
ading2210 2023-10-20 23:23:39 -07:00
parent 5132387ff7
commit de4384571a
6 changed files with 3 additions and 3 deletions

0
build.sh Normal file → Executable file
View File

0
build_image.sh Normal file → Executable file
View File

4
build_rootfs.sh Normal file → Executable file
View File

@ -42,7 +42,7 @@ rootfs_dir=$(realpath "${1}")
release_name="${2}" release_name="${2}"
debootstrap $release_name $rootfs_dir http://deb.debian.org/debian/ debootstrap $release_name $rootfs_dir http://deb.debian.org/debian/
cp -r rootfs/* $rootfs_dir cp -ar rootfs/* $rootfs_dir
chroot_mounts="proc sys dev run" chroot_mounts="proc sys dev run"
for mountpoint in $chroot_mounts; do for mountpoint in $chroot_mounts; do
@ -54,7 +54,7 @@ chroot $rootfs_dir /bin/bash -c "${chroot_command}"
chroot_mounts="proc sys dev run" chroot_mounts="proc sys dev run"
for mountpoint in $chroot_mounts; do for mountpoint in $chroot_mounts; do
umount "${rootfs_dir}/$mountpoint" umount -l "${rootfs_dir}/$mountpoint"
done done
echo "rootfs has been created" echo "rootfs has been created"

0
patch_initramfs.sh Normal file → Executable file
View File

0
patch_rootfs.sh Normal file → Executable file
View File

2
rootfs/opt/setup_rootfs.sh Normal file → Executable file
View File

@ -26,7 +26,7 @@ apt-get update
apt-get upgrade -y apt-get upgrade -y
#install desktop #install desktop
apt-get install -y xfce4 xfce4-goodies network-manager blueman firefox-esr sudo apt-get install -y task-xfce-desktop cloud-utils
#set up hostname and username #set up hostname and username
read -p "Enter the hostname for the system: " hostname read -p "Enter the hostname for the system: " hostname