From 8895ecacda91c69b91929eb047c2db3ee470e90e Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Mon, 12 Dec 2022 11:37:17 +0100 Subject: [PATCH 1/1] use classic interface names --- TODO | 1 - bootstrap.sh | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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' -- 2.39.5