Commit 4579eda 1 parent 6a9d199 commit 4579eda Copy full SHA for 4579eda
File tree 1 file changed +19
-6
lines changed
1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,26 @@ jobs:
19
19
run : |
20
20
sudo apt-get update
21
21
sudo apt-get install -y qemu-user-static
22
- system=radxa-zero3_ubuntu_jammy_cli_b6.img
23
- wget -nv https://github.com/radxa-build/radxa-zero3/releases/download/b6/${system}.xz
24
- unxz -T4 ${system}.xz
22
+
23
+ # https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-generic-arm64.tar.xz
24
+ # https://github.com/OpenIPC/sbc-groundstations/releases/download/zero3w-v1.7.0/radxaZero3wrev2.img.xz
25
+
26
+ host=https://cloud.debian.org/images/cloud/bullseye
27
+ release=latest
28
+ system=debian-11-generic-arm64.tar
29
+
30
+ wget -nv ${host}/${release}/${system}.xz
31
+ # unxz -T4 ${system}.xz
32
+ tar -xf ${system}.xz
25
33
26
34
output=output
27
35
mkdir $output
28
- device=$(sudo losetup -P --show -f ${system})
29
- sudo mount ${device}p3 $output
36
+
37
+ # device=$(sudo losetup -P --show -f ${system})
38
+ # sudo mount ${device}p3 $output
39
+
40
+ device=$(sudo losetup -P --show -f disk.raw)
41
+ sudo mount ${device}p1 $output
30
42
31
43
cat > build.sh << EOL
32
44
#!/bin/bash
44
56
45
57
chmod 755 build.sh
46
58
sudo cp -r build.sh CMakeLists.txt src $output/home
47
- echo nameserver 8.8.8.8 | sudo tee -a $output/etc/resolv.conf
59
+ sudo rm $output/etc/resolv.conf
60
+ echo nameserver 1.1.1.1 | sudo tee -a $output/etc/resolv.conf
48
61
sudo chroot $output /home/build.sh
49
62
sudo cp $output/home/build/pixelpilot .
50
63
You can’t perform that action at this time.
0 commit comments