This commit is contained in:
Marcus 2023-05-01 06:14:58 +02:00
parent a09ef63b09
commit d65961997d

View file

@ -17,12 +17,11 @@ error ()
exit 1 exit 1
} }
check_requirements () { message "installing requirements"
echo "we are checking for requirements" # ~fakeroot fakechroot~
# ~fakeroot fakechroot~ # debootstrap chroot
# debootstrap chroot ### https://www.willhaley.com/blog/custom-debian-live-environment/
### https://www.willhaley.com/blog/custom-debian-live-environment/ sudo apt install \
sudo apt install \
debootstrap \ debootstrap \
squashfs-tools \ squashfs-tools \
xorriso \ xorriso \
@ -34,9 +33,6 @@ check_requirements () {
mtools \ mtools \
dosfstools chroot dosfstools chroot
}
### stuff begins here ### stuff begins here
message "Checking build directory" message "Checking build directory"
test -f build/chroot || mkdir -p build/chroot test -f build/chroot || mkdir -p build/chroot