2023-05-01 03:54:15 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
### this script makes everything to build a ready to boot .iso file of nanodesk
|
|
|
|
###
|
|
|
|
### By: DeltaLima
|
|
|
|
### 2023
|
2023-05-01 03:58:47 +02:00
|
|
|
|
|
|
|
message () {
|
|
|
|
echo "== " $1
|
|
|
|
}
|
|
|
|
|
|
|
|
error ()
|
|
|
|
{
|
|
|
|
message "ERROR!!"
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
|
|
|
check_requirements () {
|
|
|
|
echo "we are checking for requirements"
|
2023-05-01 04:06:13 +02:00
|
|
|
# fakeroot fakechroot debootstrap
|
2023-05-01 03:58:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
### stuff begins here
|
|
|
|
test -f build/chroot || mkdir -p build/chroot
|
|
|
|
|
2023-05-01 04:06:13 +02:00
|
|
|
fakeroot -s build/fakechroot.save fakechroot debootstrap --variant=fakechroot bullseye build/chroot/ http://ftp.de.debian.org/debian
|