Fix Buster incompatibilities
- fix locale kernel parameter for installation - use Buster ISO and checksum and switch to AMD64 architecture - increase memory of VirtualBox VM to 1 GB to allow graphical installer - avoid CD questions by pre-seeding apt-setup/cdrom - uninstall gcc-8 instead of gcc-4.8 in scripts/cleanup.sh - modify hd-media initrd.gz by adding fdisk udeb content needed by the babelbox partition deletion script
This commit is contained in:
parent
e775f21a3a
commit
5b4dd18d7c
4 changed files with 20 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
# Clean up
|
||||
|
||||
apt-get --yes remove libc6-dev gcc-4.8 gcc-4.9 linux-libc-dev gcc-4.8-base dmidecode laptop-detect
|
||||
apt-get --yes remove dmidecode gcc-8 laptop-detect libc6-dev linux-libc-dev
|
||||
apt-get --yes autoremove
|
||||
apt-get --yes clean
|
||||
|
||||
|
|
|
@ -4,11 +4,18 @@ set -e
|
|||
|
||||
apt-get install -y git wget
|
||||
cd /srv
|
||||
wget http://ftp.debian.org/debian/dists/stable/main/installer-i386/current/images/hd-media/gtk/initrd.gz http://ftp.debian.org/debian/dists/stable/main/installer-i386/current/images/hd-media/gtk/vmlinuz
|
||||
git clone https://anonscm.debian.org/git/d-i/babelbox.git
|
||||
wget http://ftp.debian.org/debian/dists/stable/main/installer-amd64/current/images/hd-media/gtk/initrd.gz http://ftp.debian.org/debian/dists/stable/main/installer-amd64/current/images/hd-media/gtk/vmlinuz http://ftp.debian.org/debian/pool/main/u/util-linux/fdisk-udeb_2.33.1-0.1_amd64.udeb
|
||||
mkdir initrd_with_fdisk
|
||||
cd initrd_with_fdisk
|
||||
gunzip -c ../initrd.gz | cpio -id
|
||||
dpkg-deb -x ../fdisk-udeb_2.33.1-0.1_amd64.udeb .
|
||||
find . | cpio --create --format='newc' | gzip -9 > ../initrd.gz
|
||||
cd ..
|
||||
rm -rf initrd_with_fdisk fdisk-udeb_2.33.1-0.1_amd64.udeb
|
||||
git clone https://salsa.debian.org/installer-team/babelbox.git
|
||||
cd babelbox
|
||||
cat babelbox-grub >> /etc/grub.d/40_custom
|
||||
update-grub
|
||||
./cronscript
|
||||
|
||||
echo "You need to download a Debian i386 DVD ISO into /srv"
|
||||
echo "You need to download a Debian amd64 DVD ISO into /srv"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue