X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/adfb7d3e18335003bbc8a386dc0cebcd6b6d48ce..8fca5a78d5ac869a5c3bd6531f744edc1fe0751d:/bootstrap.sh?ds=inline 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 ) }