File tree Expand file tree Collapse file tree 2 files changed +65
-0
lines changed
Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 7979 - raspberry-pi-4/ubuntu_server_20.04_arm64.json
8080 - raspberry-pi-4/ubuntu_server_20.04_arm64.pkr.hcl
8181 - raspberry-pi-4/archlinuxarm.pkr.hcl
82+ - rock-4b/debos-radxa.pkr.hcl
8283 - wandboard/archlinuxarm.json
8384 name : Build ${{ matrix.boards }} image
8485 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+ source "arm" "radxa" {
2+ file_urls = [" https://github.com/radxa/debos-radxa/releases/download/20221201-0835/rockpi-4b-debian-bullseye-xfce4-arm64-20221201-1203-gpt.img.xz" ]
3+ file_checksum = " 14d5c5318e5a5bd407e718ba01a03a4e631895007fb6ddde1597310d23782894"
4+ file_checksum_type = " sha256"
5+ file_target_extension = " xz"
6+ file_unarchive_cmd = [" xz" , " --decompress" , " $ARCHIVE_PATH" ]
7+ image_build_method = " reuse"
8+ image_path = " rock-4b-radxa-debian11.img"
9+ image_size = " 3.8G"
10+ image_type = " gpt"
11+ image_partitions {
12+ name = " "
13+ type = " c"
14+ start_sector = " 64"
15+ filesystem = " fat"
16+ size = " 3.9M"
17+ mountpoint = " "
18+ }
19+ image_partitions {
20+ name = " "
21+ type = " c"
22+ start_sector = " 16384"
23+ filesystem = " fat"
24+ size = " 4M"
25+ mountpoint = " "
26+ }
27+ image_partitions {
28+ name = " "
29+ type = " c"
30+ start_sector = " 24576"
31+ filesystem = " fat"
32+ size = " 4M"
33+ mountpoint = " "
34+ }
35+ image_partitions {
36+ name = " boot"
37+ type = " c"
38+ start_sector = " 32768"
39+ filesystem = " fat"
40+ size = " 512M"
41+ mountpoint = " /boot"
42+ }
43+ image_partitions {
44+ name = " root"
45+ type = " 83"
46+ start_sector = " 1081344"
47+ filesystem = " ext4"
48+ size = " 3.2G"
49+ mountpoint = " /"
50+ }
51+ image_chroot_env = [" PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" ]
52+ qemu_binary_source_path = " /usr/bin/qemu-aarch64-static"
53+ qemu_binary_destination_path = " /usr/bin/qemu-aarch64-static"
54+ }
55+
56+ build {
57+ sources = [" source.arm.radxa" ]
58+
59+ provisioner "shell" {
60+ inline = [
61+ " touch /tmp/test" ,
62+ ]
63+ }
64+ }
You can’t perform that action at this time.
0 commit comments