]> git.zerfleddert.de Git - m1-debian/commitdiff
add wpa conf
authorThomas Glanzmann <thomas@glanzmann.de>
Wed, 26 Jan 2022 21:51:26 +0000 (22:51 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Wed, 26 Jan 2022 21:51:26 +0000 (22:51 +0100)
bootstrap.sh
files/wpa.conf [new file with mode: 0644]

index 39231442c003022df99b8f01f850356615472e46..b890105a176247181ba606f162881dea67832504 100644 (file)
@@ -113,6 +113,21 @@ build_fs()
 )
 }
 
+build_di_stick()
+{
+        rm -rf di-stick
+        mkdir -p live-stick/efi/boot live-stick/efi/debian/
+        wget https://d-i.debian.org/daily-images/arm64/daily/netboot/debian-installer/arm64/initrd.gz
+        mkdir initrd; cd initrd; gzip -cd ../initrd.gz | sudo cpio -imd --quiet
+        rm -rf initrd/lib/modules/*
+        cp -a ../testing/lib/modules/* initrd/lib/modules/
+        (cd initrd; find . | cpio --quiet -H newc -o | pigz > ../initrd.gz)
+        cp testing/usr/lib/grub/arm64-efi/monolithic/grubaa64.efi live-stick/efi/boot/bootaa64.efi
+        cp testing/boot/vmlinuz* live-stick/vmlinuz
+        cp ../files/grub.cfg live-stick/efi/debian/grub.cfg
+        (cd live-stick; tar cf ../m1-d-i-`date "+%Y-%m-%d"`.tar .)
+}
+
 mkdir -p build
 cd build
 
@@ -121,4 +136,5 @@ cd build
 # build_linux
 # build_rootfs
 # build_live_stick
+build_di_stick
 # build_fs
diff --git a/files/wpa.conf b/files/wpa.conf
new file mode 100644 (file)
index 0000000..1e1bbff
--- /dev/null
@@ -0,0 +1,6 @@
+network={
+        ssid="linksys"
+        scan_ssid=1
+        key_mgmt=WPA-PSK
+        psk="password"
+}
Impressum, Datenschutz