mkdir -p cache
sudo eatmydata ${DEBOOTSTRAP} --cache-dir=`pwd`/cache --arch=arm64 --include initramfs-tools,pciutils,wpasupplicant,tcpdump,vim,tmux,vlan,ntpdate,parted,curl,wget,grub-efi-arm64,mtr-tiny,dbus,ca-certificates,sudo,openssh-client,mtools,gdisk,cryptsetup testing testing http://deb.debian.org/debian
- export KERNEL=`ls -1rt linux-image*.deb | grep -v dbg | tail -1`
-
cd testing
sudo mkdir -p boot/efi
publish_artefacts()
{
- export KERNEL=`ls -1rt linux-image*.deb | grep -v dbg | tail -1`
- cp ${KERNEL} k.deb
sudo cp efi.tgz asahi-debian-live.tar debian-base.zip /u/
}
package_boot_bin()
{
(
- export M1N1_VERSION=1.2.3-1
+ export M1N1_VERSION=1.2.3-2
rm -rf m1n1_${M1N1_VERSION}_arm64
mkdir -p m1n1_${M1N1_VERSION}_arm64/DEBIAN m1n1_${M1N1_VERSION}_arm64/usr/lib/m1n1/
cp u-boot.bin m1n1_${M1N1_VERSION}_arm64/usr/lib/m1n1/boot.bin
#!/bin/bash
export PATH=/bin
-cp /boot/efi/m1n1/boot.bin /boot/efi/m1n1/`date +%Y%m%d%H%M`.bin
+if [ -f /boot/efi/m1n1/boot.bin ]; then
+ cp /boot/efi/m1n1/boot.bin /boot/efi/m1n1/`date +%Y%m%d%H%M`.bin
+fi
+mkdir -p /boot/efi/m1n1/
cp /usr/lib/m1n1/boot.bin /boot/efi/m1n1/
EOF