]> git.zerfleddert.de Git - m1-debian/commitdiff
more packages for wifi
authorThomas Glanzmann <thomas@glanzmann.de>
Tue, 25 Jan 2022 12:57:22 +0000 (13:57 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Tue, 25 Jan 2022 12:57:22 +0000 (13:57 +0100)
bootstrap.sh

index 36347b6d0dfd616a41a064a4c834ab1c94be32e9..7582b15d1290b097e4189743940c7dd6727bf952 100644 (file)
@@ -52,7 +52,7 @@ build_rootfs()
 {
 (
         sudo rm -rf testing
 {
 (
         sudo rm -rf testing
-        sudo eatmydata debootstrap --arch=arm64 --include iwd,tcpdump,vim,tmux,vlan,ntpdate,bridge-utils,parted,curl,wget,grub-efi-arm64,mtr-tiny testing testing http://ftp.fau.de/debian
+        sudo eatmydata debootstrap --arch=arm64 --include iwd,tcpdump,vim,tmux,vlan,ntpdate,bridge-utils,parted,curl,wget,grub-efi-arm64,mtr-tiny,dbus testing testing http://ftp.fau.de/debian
 
         cd testing
 
 
         cd testing
 
@@ -75,6 +75,7 @@ build_rootfs()
         sudo chroot . dpkg -i linux-image-5.16.0-asahi-next-20220118-gdcd14bb2ec40_5.16.0-asahi-next-20220118-gdcd14bb2ec40-1_arm64.deb
 
         sudo rm linux-image-5.16.0-asahi-next-20220118-gdcd14bb2ec40_5.16.0-asahi-next-20220118-gdcd14bb2ec40-1_arm64.deb
         sudo chroot . dpkg -i linux-image-5.16.0-asahi-next-20220118-gdcd14bb2ec40_5.16.0-asahi-next-20220118-gdcd14bb2ec40-1_arm64.deb
 
         sudo rm linux-image-5.16.0-asahi-next-20220118-gdcd14bb2ec40_5.16.0-asahi-next-20220118-gdcd14bb2ec40-1_arm64.deb
+        sudo bash -c 'apt-get clean'
 )
 }
 
 )
 }
 
@@ -82,12 +83,12 @@ build_stick()
 {
 (
         rm -rf stick
 {
 (
         rm -rf stick
-        mkdir -p stick/efi/boot
+        mkdir -p stick/efi/boot stick/boot
         sudo bash -c 'cd testing; find . | cpio --quiet -H newc -o | pigz > ../stick/initrd.gz'
         cp testing/usr/lib/grub/arm64-efi/monolithic/grubaa64.efi stick/efi/boot/bootaa64.efi
         cp testing/boot/vmlinuz* stick/vmlinuz
 
         sudo bash -c 'cd testing; find . | cpio --quiet -H newc -o | pigz > ../stick/initrd.gz'
         cp testing/usr/lib/grub/arm64-efi/monolithic/grubaa64.efi stick/efi/boot/bootaa64.efi
         cp testing/boot/vmlinuz* stick/vmlinuz
 
-        cat > stick/efi/boot/grub.cfg <<EOF
+        cat > stick/boot/grub.cfg <<EOF
 echo Loading Kernel...
 linux (hd0,msdos1)/vmlinuz net.ifnames=0
 echo Loading initrd... Please wait
 echo Loading Kernel...
 linux (hd0,msdos1)/vmlinuz net.ifnames=0
 echo Loading initrd... Please wait
Impressum, Datenschutz