]> git.zerfleddert.de Git - m1-debian/commitdiff
use classic interface names
authorThomas Glanzmann <thomas@glanzmann.de>
Mon, 12 Dec 2022 10:37:17 +0000 (11:37 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Mon, 12 Dec 2022 10:37:17 +0000 (11:37 +0100)
TODO
bootstrap.sh

diff --git a/TODO b/TODO
index 22240e786a0c74af8a167a59e40e8b67c0e34bd0..268ef2bc424abada848c9246ae5add5d5a2c9501 100644 (file)
--- 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
index f3511a8c71094a1fba71c89b31b9d43f606a11d2..fc8c366dc9d532df70ca898f7d3e1fc93fbae9b4 100755 (executable)
@@ -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'
 
Impressum, Datenschutz