From: Thomas Glanzmann Date: Mon, 12 Dec 2022 10:37:17 +0000 (+0100) Subject: use classic interface names X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/8895ecacda91c69b91929eb047c2db3ee470e90e use classic interface names --- diff --git a/TODO b/TODO index 22240e7..268ef2b 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ -[ ] Put net.ifnames=0 as default [ ] Check if /boot/esp is mounted otherwise bail on error, for bootstrap check for the file '/debootstrap' [ ] Re-enable crosscompilation for m1n1_uboot_kernel.sh [ ] Script the bootstrapping of rust necessary for the kernel diff --git a/bootstrap.sh b/bootstrap.sh index f3511a8..fc8c366 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -41,6 +41,8 @@ build_rootfs() sudo cp ../../files/30-modeset.conf etc/X11/xorg.conf.d/30-modeset.conf sudo cp ../../files/blacklist.conf etc/modprobe.d/ + sudo perl -p -i -e 's/"quiet"/"net.ifnames=0"/ if /^GRUB_CMDLINE_LINUX_DEFAULT=/' etc/default/grub + sudo bash -c 'chroot . apt update' sudo bash -c 'chroot . apt install -y firmware-linux'