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