X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/adfb7d3e18335003bbc8a386dc0cebcd6b6d48ce..8895ecacda91c69b91929eb047c2db3ee470e90e:/bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh index 1cd8634..fc8c366 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -39,6 +39,9 @@ build_rootfs() sudo cp ../../files/wpa.conf etc/wpa_supplicant/wpa_supplicant.conf sudo cp ../../files/rc.local etc/rc.local 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' @@ -50,8 +53,7 @@ build_rootfs() sudo chroot . apt update sudo chroot . apt install -y m1n1 linux-image-asahi sudo chroot . apt clean - - sudo bash -c 'chroot . apt-get clean' + sudo rm var/lib/apt/lists/* || true ) }