Hi bark-woof-fetch, as I was curious, I did some playing with your idea.
Found that without the busterdog repo it will be very difficult, since apart from the packages install from config file, there are some more lines in the script that install required packages (e.g. elogind, part of busterdog repo), so I made busterdog-repo.iso:
https://github.com/DebianDog/BusterDog/ ... g-repo.iso
I must say that I came very far with only the first 3 Debian DVD's (most essential packages available, but not all) and busterdog-repo.iso
Changes I made in modified mklive-buster script for to point to ISO mountpoints:
(change paths according to what it is for you, of course)
This is for 64-bit build and I only tested offline apt install packages from ISO mirrors.
line 649:
Code: Select all
########## Set up debootstrap ##########
echo -e "\e[0;36mSetting up debootstrap in buster/chroot\033[0m"
echo -e "\e[0;36mThis may take a while...\033[0m"
mkdir -p buster/chroot && cd buster &&
mkdir -p chroot/mnt/iso1
mkdir -p chroot/mnt/iso2
mkdir -p chroot/mnt/iso3
mkdir -p chroot/mnt/iso4
mount -o loop /mnt/sda2/00-debiso/debian-10.5.0-amd64-DVD-1.iso chroot/mnt/iso1
mount -o loop /mnt/sda2/00-debiso/debian-10.5.0-amd64-DVD-2.iso chroot/mnt/iso2
mount -o loop /mnt/sda2/00-debiso/debian-10.5.0-amd64-DVD-3.iso chroot/mnt/iso3
mount -o loop /mnt/sda2/00-debiso/busterdog-repo.iso chroot/mnt/iso4 # busterdog-repo.iso
debootstrap --no-check-gpg --no-merged-usr --arch=$ARCH --variant=minbase --include=apt-transport-https,ca-certificates buster chroot file:///mnt/sda5/buster/chroot/mnt/iso1
(I have buster/chroot on sda5, needs full path for debootstrap, I think)
line 723:
Code: Select all
[ "$ARCH" = "amd64" ] && echo '#deb https://github.com/doglinux/busterdog/raw/master/amd64/ ./
deb [trusted=yes] file:///mnt/iso4/amd64/ ./
## package repositories
deb [trusted=yes] file:///mnt/iso1/ buster main contrib
deb [trusted=yes] file:///mnt/iso2/ buster main contrib
deb [trusted=yes] file:///mnt/iso3/ buster main contrib
#deb http://ftp.us.debian.org/debian/ buster main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ buster main contrib non-free
#deb http://security.debian.org/ buster/updates main contrib non-free
#deb-src http://security.debian.org/ buster/updates main contrib non-free
#deb http://ftp.us.debian.org/debian/ buster-updates main contrib non-free
#deb http://la.mxrepo.com/antix/buster buster main nonfree
#deb http://mxrepo.com/mx/repo/ buster main non-free
' > /etc/apt/sources.list
line 803 (remove live-boot from this line as it is not available from the 3 DVD's):
Code: Select all
apt-get install menu dbus xserver-xorg-legacy --yes
Do not forget to unmount chroot/mnt/iso1 chroot/mnt/iso2 etc... before creating 01-filesystem.squashfs
Attached is "custom.conf" that works for me, remove fake .gz and run (I named the script mklive-buster-mod) :
Code: Select all
./mklive-buster-mod -gui /path/to/custom.conf
Resulted for me in ISO size 288MB, including openbox, lxpanel, firefox-esr, pcmanfm, synaptic, gparted and more, and boots fine.
Hope this helps.
Fred