Compare commits
21 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
760716f703 | |
|
|
cd268474e8 | |
|
|
fb09a8078c | |
|
|
6978bd9826 | |
|
|
6429690c90 | |
|
|
61a2b9b8e6 | |
|
|
6ee61b294c | |
|
|
fb6dfb993d | |
|
|
0b354a246d | |
|
|
e530a46db6 | |
|
|
521751c96f | |
|
|
edddae463e | |
|
|
85fa3f67f9 | |
|
|
564f295d9f | |
|
|
bfca7fb42c | |
|
|
48466b79d0 | |
|
|
4439f65b71 | |
|
|
5be88b6121 | |
|
|
c0ee2f16f4 | |
|
|
faf90d024d | |
|
|
32e4172a46 |
|
|
@ -30,9 +30,6 @@ jobs:
|
|||
- os: debian
|
||||
suite: sid
|
||||
arch: i386
|
||||
- os: debian
|
||||
suite: experimental
|
||||
arch: i386
|
||||
fail-fast: false
|
||||
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -21,15 +21,15 @@ jobs:
|
|||
|
||||
- name: Set up QEMU
|
||||
timeout-minutes: 1
|
||||
uses: docker/setup-qemu-action@v2
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
timeout-minutes: 1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Github Packages
|
||||
timeout-minutes: 5
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
|
||||
- name: Build and push
|
||||
timeout-minutes: 30
|
||||
uses: docker/build-push-action@v3
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ on:
|
|||
schedule:
|
||||
# Every Monday evening
|
||||
- cron: "00 21 * * 1"
|
||||
# Every first day of month evening
|
||||
- cron: "00 21 1 * *"
|
||||
|
||||
jobs:
|
||||
test-prebuilt:
|
||||
|
|
@ -37,9 +39,6 @@ jobs:
|
|||
- boot: boot-qemu_aarch64_virt
|
||||
debian: ubuntu-jammy-arm64
|
||||
debian_index: /index-debians-arm64.txt
|
||||
- boot: boot-qemu_aarch64_virt
|
||||
debian: ubuntu-lunar-arm64
|
||||
debian_index: /index-debians-arm64.txt
|
||||
- boot: boot-qemu_aarch64_virt
|
||||
debian: ubuntu-mantic-arm64
|
||||
debian_index: /index-debians-arm64.txt
|
||||
|
|
@ -72,7 +71,7 @@ jobs:
|
|||
wget
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download
|
||||
timeout-minutes: 1
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM public.ecr.aws/lts/ubuntu:22.04_stable
|
||||
FROM public.ecr.aws/ubuntu/ubuntu:24.04
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && \
|
||||
apt-get --assume-yes \
|
||||
|
|
@ -20,7 +20,6 @@ RUN apt-get update && \
|
|||
pigz \
|
||||
bison \
|
||||
flex \
|
||||
python2-dev \
|
||||
python3-dev \
|
||||
python3-pkg-resources \
|
||||
python3-pyelftools \
|
||||
|
|
|
|||
|
|
@ -194,6 +194,7 @@ radxa_zero,Zero,Radxa,meson-g12a,radxa-zero_defconfig,aarch64-linux-gnu,meson-g1
|
|||
amlogic_u200,U200,Amlogic,meson-g12a,u200_defconfig,aarch64-linux-gnu,meson-g12a-u200
|
||||
|
||||
banana_pi_m2s,Banana Pi M2S,Sinovoip,meson-g12b,bananapi-m2s_defconfig,aarch64-linux-gnu,meson-g12b-a311d-bananapi-m2s
|
||||
banana_pi_cm4io,Banana Pi CM4IO,Sinovoip,meson-g12b,bananapi-cm4-cm4io_defconfig,aarch64-linux-gnu,meson-g12b-bananapi-cm4-cm4io
|
||||
khadas_vim3,VIM3,Khadas,meson-g12b,khadas-vim3_defconfig,aarch64-linux-gnu,meson-g12b-a311d-khadas-vim3
|
||||
beelink_gt_king_x,GT-King X,Beelink,meson-g12b,beelink-gsking-x_defconfig,aarch64-linux-gnu,meson-g12b-gsking-x
|
||||
beelink_gt_king,GT-King,Beelink,meson-g12b,beelink-gtking_defconfig,aarch64-linux-gnu,meson-g12b-gtking
|
||||
|
|
@ -213,7 +214,7 @@ libretech_s905d_pc,AML-S905D-PC (Tartiflette),Libre Computer,meson-gxl,libretech
|
|||
jethub_j80,JetHub J80,JetHome,meson-gxl,jethub_j80_defconfig,aarch64-linux-gnu,meson-gxl-s905w-jethome-jethub-j80
|
||||
khadas_vim,VIM,Khadas,meson-gxl,khadas-vim_defconfig,aarch64-linux-gnu,meson-gxl-s905x-khadas-vim
|
||||
libretech_s905x_cc,AML-S905X-CC (Le Potato),Libre Computer,meson-gxl,libretech-cc_defconfig,aarch64-linux-gnu,meson-gxl-s905x-libretech-cc
|
||||
libretech_s905x_cc_v2,AML-S905X-CC V2 (Le Potato),Libre Computer,meson-gxl,libretech-cc_v2_defconfig,aarch64-linux-gnu,meson-gxl-s905x-libretech-cc-v2
|
||||
libretech_s905x_cc_v2,AML-S905X-CC V2 (Sweet Potato),Libre Computer,meson-gxl,libretech-cc_v2_defconfig,aarch64-linux-gnu,meson-gxl-s905x-libretech-cc-v2
|
||||
amlogic_p212,P212,Amlogic,meson-gxl,p212_defconfig,aarch64-linux-gnu,meson-gxl-s905x-p212
|
||||
|
||||
khadas_vim2,VIM2,Khadas,meson-gxm,khadas-vim2_defconfig,aarch64-linux-gnu,meson-gxm-khadas-vim2
|
||||
|
|
|
|||
|
|
|
@ -1,8 +1,8 @@
|
|||
OS,Dist,Arch,Name,Exp
|
||||
debian,bullseye,armhf,"Debian oldstable/11.9 (""bullseye"")",False
|
||||
debian,bullseye,arm64,"Debian oldstable/11.9 (""bullseye"")",False
|
||||
debian,bookworm,armhf,"Debian stable/12.5 (""bookworm"")",False
|
||||
debian,bookworm,arm64,"Debian stable/12.5 (""bookworm"")",False
|
||||
debian,bullseye,armhf,"Debian oldstable/11.10 (""bullseye"")",False
|
||||
debian,bullseye,arm64,"Debian oldstable/11.10 (""bullseye"")",False
|
||||
debian,bookworm,armhf,"Debian stable/12.6 (""bookworm"")",False
|
||||
debian,bookworm,arm64,"Debian stable/12.6 (""bookworm"")",False
|
||||
debian,trixie,armhf,"Debian testing (""trixie"")",False
|
||||
debian,trixie,arm64,"Debian testing (""trixie"")",False
|
||||
debian,sid,armhf,"Debian unstable (""sid"")",False
|
||||
|
|
@ -13,9 +13,9 @@ ubuntu,focal,armhf,"Ubuntu 20.04 LTS (""focal"")",False
|
|||
ubuntu,focal,arm64,"Ubuntu 20.04 LTS (""focal"")",False
|
||||
ubuntu,jammy,armhf,"Ubuntu 22.04 LTS (""jammy"")",False
|
||||
ubuntu,jammy,arm64,"Ubuntu 22.04 LTS (""jammy"")",False
|
||||
ubuntu,lunar,armhf,"Ubuntu 23.04 (""lunar"")",False
|
||||
ubuntu,lunar,arm64,"Ubuntu 23.04 (""lunar"")",False
|
||||
ubuntu,mantic,armhf,"Ubuntu 23.10 (""mantic"")",False
|
||||
ubuntu,mantic,arm64,"Ubuntu 23.10 (""mantic"")",False
|
||||
ubuntu,noble,armhf,"Ubuntu 24.04 LTS (""noble"")",True
|
||||
ubuntu,noble,arm64,"Ubuntu 24.04 LTS (""noble"")",True
|
||||
ubuntu,noble,armhf,"Ubuntu 24.04 LTS (""noble"")",False
|
||||
ubuntu,noble,arm64,"Ubuntu 24.04 LTS (""noble"")",False
|
||||
ubuntu,oracular,armhf,"Ubuntu 24.10 (""oracular"")",True
|
||||
ubuntu,oracular,arm64,"Ubuntu 24.10 (""oracular"")",True
|
||||
|
|
|
|||
|
|
|
@ -1,8 +1,8 @@
|
|||
OS,Dist,Arch,Name,Exp
|
||||
debian,bullseye,i386,"Debian oldstable/11.9 (""bullseye"")",False
|
||||
debian,bullseye,amd64,"Debian oldstable/11.9 (""bullseye"")",False
|
||||
debian,bookworm,i386,"Debian stable/12.5 (""bookworm"")",False
|
||||
debian,bookworm,amd64,"Debian stable/12.5 (""bookworm"")",False
|
||||
debian,bullseye,i386,"Debian oldstable/11.10 (""bullseye"")",False
|
||||
debian,bullseye,amd64,"Debian oldstable/11.10 (""bullseye"")",False
|
||||
debian,bookworm,i386,"Debian stable/12.6 (""bookworm"")",False
|
||||
debian,bookworm,amd64,"Debian stable/12.6 (""bookworm"")",False
|
||||
debian,trixie,i386,"Debian testing (""trixie"")",False
|
||||
debian,trixie,amd64,"Debian testing (""trixie"")",False
|
||||
debian,sid,i386,"Debian unstable (""sid"")",False
|
||||
|
|
@ -13,9 +13,9 @@ ubuntu,focal,i386,"Ubuntu 20.04 LTS (""focal"")",False
|
|||
ubuntu,focal,amd64,"Ubuntu 20.04 LTS (""focal"")",False
|
||||
ubuntu,jammy,i386,"Ubuntu 22.04 LTS (""jammy"")",False
|
||||
ubuntu,jammy,amd64,"Ubuntu 22.04 LTS (""jammy"")",False
|
||||
ubuntu,lunar,i386,"Ubuntu 23.04 (""lunar"")",False
|
||||
ubuntu,lunar,amd64,"Ubuntu 23.04 (""lunar"")",False
|
||||
ubuntu,mantic,i386,"Ubuntu 23.10 (""mantic"")",False
|
||||
ubuntu,mantic,amd64,"Ubuntu 23.10 (""mantic"")",False
|
||||
ubuntu,noble,i386,"Ubuntu 24.04 LTS (""noble"")",True
|
||||
ubuntu,noble,amd64,"Ubuntu 24.04 LTS (""noble"")",True
|
||||
ubuntu,noble,i386,"Ubuntu 24.04 LTS (""noble"")",False
|
||||
ubuntu,noble,amd64,"Ubuntu 24.04 LTS (""noble"")",False
|
||||
ubuntu,oracular,i386,"Ubuntu 24.10 (""oracular"")",True
|
||||
ubuntu,oracular,amd64,"Ubuntu 24.10 (""oracular"")",True
|
||||
|
|
|
|||
|
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
layout: board
|
||||
title: Banana Pi CM4IO SD card images
|
||||
description: "Minimal, pure and up-to-date vanilla Debian/Ubuntu arm64 SD card images for Banana Pi CM4IO by Sinovoip, SoC: Amlogic S922X/A311D, CPU ISA: armv8"
|
||||
board_id: banana_pi_cm4io
|
||||
board_dtb_name: meson-g12b-bananapi-cm4-cm4io
|
||||
board_name: Banana Pi CM4IO
|
||||
board_maker_name: Sinovoip
|
||||
board_soc_name: Amlogic S922X/A311D
|
||||
board_cpu_name: ARM Cortex A73/A53 (armv8)
|
||||
board_cpu_arch_isa: armv8
|
||||
board_cpu_arch_debian: arm64
|
||||
---
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
layout: board
|
||||
title: AML-S905X-CC V2 (Le Potato) SD card images
|
||||
description: "Minimal, pure and up-to-date vanilla Debian/Ubuntu arm64 SD card images for AML-S905X-CC V2 (Le Potato) by Libre Computer, SoC: Amlogic S905X/S905W/S905D/S805X, CPU ISA: armv8"
|
||||
title: AML-S905X-CC V2 (Sweet Potato) SD card images
|
||||
description: "Minimal, pure and up-to-date vanilla Debian/Ubuntu arm64 SD card images for AML-S905X-CC V2 (Sweet Potato) by Libre Computer, SoC: Amlogic S905X/S905W/S905D/S805X, CPU ISA: armv8"
|
||||
board_id: libretech_s905x_cc_v2
|
||||
board_dtb_name: meson-gxl-s905x-libretech-cc-v2
|
||||
board_name: AML-S905X-CC V2 (Le Potato)
|
||||
board_name: AML-S905X-CC V2 (Sweet Potato)
|
||||
board_maker_name: Libre Computer
|
||||
board_soc_name: Amlogic S905X/S905W/S905D/S805X
|
||||
board_cpu_name: ARM Cortex A53 (armv8)
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
os: debian
|
||||
dist: bullseye
|
||||
arch: armhf
|
||||
name: Debian oldstable/11.9 ("bullseye")
|
||||
name: Debian oldstable/11.10 ("bullseye")
|
||||
exp: False
|
||||
---
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
os: debian
|
||||
dist: bullseye
|
||||
arch: arm64
|
||||
name: Debian oldstable/11.9 ("bullseye")
|
||||
name: Debian oldstable/11.10 ("bullseye")
|
||||
exp: False
|
||||
---
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
os: debian
|
||||
dist: bookworm
|
||||
arch: armhf
|
||||
name: Debian stable/12.5 ("bookworm")
|
||||
name: Debian stable/12.6 ("bookworm")
|
||||
exp: False
|
||||
---
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
os: debian
|
||||
dist: bookworm
|
||||
arch: arm64
|
||||
name: Debian stable/12.5 ("bookworm")
|
||||
name: Debian stable/12.6 ("bookworm")
|
||||
exp: False
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
os: ubuntu
|
||||
dist: lunar
|
||||
arch: armhf
|
||||
name: Ubuntu 23.04 ("lunar")
|
||||
exp: False
|
||||
---
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
os: ubuntu
|
||||
dist: lunar
|
||||
arch: arm64
|
||||
name: Ubuntu 23.04 ("lunar")
|
||||
exp: False
|
||||
---
|
||||
|
|
@ -3,5 +3,5 @@ os: ubuntu
|
|||
dist: noble
|
||||
arch: armhf
|
||||
name: Ubuntu 24.04 LTS ("noble")
|
||||
exp: True
|
||||
exp: False
|
||||
---
|
||||
|
|
@ -3,5 +3,5 @@ os: ubuntu
|
|||
dist: noble
|
||||
arch: arm64
|
||||
name: Ubuntu 24.04 LTS ("noble")
|
||||
exp: True
|
||||
exp: False
|
||||
---
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
os: ubuntu
|
||||
dist: oracular
|
||||
arch: armhf
|
||||
name: Ubuntu 24.10 ("oracular")
|
||||
exp: True
|
||||
---
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
os: ubuntu
|
||||
dist: oracular
|
||||
arch: arm64
|
||||
name: Ubuntu 24.10 ("oracular")
|
||||
exp: True
|
||||
---
|
||||
|
|
@ -97,7 +97,7 @@ class Release:
|
|||
|
||||
if self.label == "Ubuntu":
|
||||
if self.is_lts():
|
||||
return self.age() < 4 * timedelta(days=365)
|
||||
return self.age() < 5 * timedelta(days=365)
|
||||
else:
|
||||
return self.age() < timedelta(days=365)
|
||||
|
||||
|
|
|
|||
|
|
@ -44,6 +44,9 @@ libretech_s912_pc*)
|
|||
beelink_gt_king*)
|
||||
BOARD=beelink-s922x
|
||||
;;
|
||||
banana_pi_cm4io)
|
||||
BOARD=bananapi-cm4io
|
||||
;;
|
||||
*)
|
||||
# X_Y_defconfig -> x-y
|
||||
BOARD=`echo "${DEFCONFIG%_defconfig}" | tr _ -`
|
||||
|
|
@ -54,5 +57,5 @@ mkdir ../amlogic-boot-fip-output
|
|||
cd ..
|
||||
|
||||
# Copy U-Boot but don't overwrite the partition table
|
||||
dd if=amlogic-boot-fip-output/u-boot.bin.sd.bin of=tmp.img conv=notrunc bs=1 count=446
|
||||
dd if=amlogic-boot-fip-output/u-boot.bin.sd.bin of=tmp.img conv=notrunc bs=512 skip=1 seek=1
|
||||
dd if=amlogic-boot-fip-output/u-boot.bin.sd.bin of=tmp.img conv=fsync,notrunc bs=512 skip=1 seek=1
|
||||
dd if=amlogic-boot-fip-output/u-boot.bin.sd.bin of=tmp.img conv=fsync,notrunc bs=1 count=440
|
||||
|
|
|
|||
|
|
@ -11,31 +11,37 @@ case "${OS}-${ARCH}" in
|
|||
debian-armhf)
|
||||
KERNEL=linux-image-armmp
|
||||
URL=http://deb.debian.org/debian
|
||||
KERNEL_URL=http://packages.debian.org/"${DIST}"/"${KERNEL}"
|
||||
SCRIPT=/usr/share/debootstrap/scripts/sid
|
||||
;;
|
||||
debian-arm64)
|
||||
KERNEL=linux-image-arm64
|
||||
URL=http://deb.debian.org/debian
|
||||
KERNEL_URL=http://packages.debian.org/"${DIST}"/"${KERNEL}"
|
||||
SCRIPT=/usr/share/debootstrap/scripts/sid
|
||||
;;
|
||||
debian-i386)
|
||||
KERNEL=linux-image-686
|
||||
URL=http://deb.debian.org/debian
|
||||
KERNEL_URL=http://packages.debian.org/"${DIST}"/"${KERNEL}"
|
||||
SCRIPT=/usr/share/debootstrap/scripts/sid
|
||||
;;
|
||||
debian-amd64)
|
||||
KERNEL=linux-image-amd64
|
||||
URL=http://deb.debian.org/debian
|
||||
KERNEL_URL=http://packages.debian.org/"${DIST}"/"${KERNEL}"
|
||||
SCRIPT=/usr/share/debootstrap/scripts/sid
|
||||
;;
|
||||
ubuntu-amd64)
|
||||
KERNEL=linux-image-generic
|
||||
URL=http://archive.ubuntu.com/ubuntu
|
||||
KERNEL_URL=http://packages.ubuntu.com/"${DIST}"/"${KERNEL}"
|
||||
SCRIPT=/usr/share/debootstrap/scripts/gutsy
|
||||
;;
|
||||
ubuntu-armhf|ubuntu-arm64)
|
||||
KERNEL=linux-image-generic
|
||||
URL=http://ports.ubuntu.com/ubuntu-ports
|
||||
KERNEL_URL=http://packages.ubuntu.com/"${DIST}"/"${KERNEL}"
|
||||
SCRIPT=/usr/share/debootstrap/scripts/gutsy
|
||||
;;
|
||||
*)
|
||||
|
|
@ -156,17 +162,18 @@ chroot debian /bin/sh -ex <<- EOF
|
|||
/bin/mv /tmp/priority-experimental /etc/apt/preferences.d/priority-experimental || :
|
||||
/usr/bin/apt-get update
|
||||
/usr/bin/apt-get -y upgrade
|
||||
/usr/bin/apt-get -y --no-install-recommends ${KERNELSUITE} install ${KERNEL}
|
||||
/usr/bin/apt-get -y --no-install-recommends "${KERNELSUITE}" install "${KERNEL}"
|
||||
/usr/bin/apt-get -y install systemd-timesyncd || :
|
||||
/usr/bin/apt-get -y install systemd-resolved || :
|
||||
/usr/bin/apt-get clean
|
||||
/bin/rm -rf /var/lib/apt/lists/*
|
||||
/usr/bin/dpkg-query --showformat='kernel,\${Version}\n' --show ${KERNEL} > /tmp/versions.csv
|
||||
echo "kernel-url,${KERNEL_URL}\n" >> /tmp/versions.csv
|
||||
/usr/bin/dpkg-query --showformat='kernel,\${Version}\n' --show "${KERNEL}" >> /tmp/versions.csv
|
||||
/usr/bin/systemctl enable systemd-networkd.service
|
||||
/usr/bin/systemctl enable systemd-resolved.service
|
||||
/usr/bin/systemctl enable systemd-timesyncd.service
|
||||
/bin/rm -f /var/log/*.log
|
||||
/bin/echo root:${PASSWORD} | /usr/sbin/chpasswd
|
||||
/bin/echo "root:${PASSWORD}" | /usr/sbin/chpasswd
|
||||
/bin/sed -i "s/#*\s*PermitRootLogin .*/PermitRootLogin yes/" /etc/ssh/sshd_config
|
||||
EOF
|
||||
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ set -ex
|
|||
# >>> (0.95 * 4000000000 // 512) * 512
|
||||
# 3800000000.0
|
||||
IMAGE_SIZE=${IMAGE_SIZE:-3800000000}
|
||||
if [ "$IMAGE_SIZE" -lt 1000000000 ]; then
|
||||
if [ $IMAGE_SIZE -lt 1000000000 ]; then
|
||||
echo "IMAGE_SIZE of 1GB or less unsupported!"
|
||||
exit 1
|
||||
fi
|
||||
rm -f "${IMAGE}"
|
||||
fallocate -v -l "${IMAGE_SIZE}" "${IMAGE}" # 3,800,000,000 bytes
|
||||
|
||||
parted -s "${IMAGE}" mklabel gpt
|
||||
parted -s "${IMAGE}" mklabel msdos
|
||||
parted -s "${IMAGE}" mkpart primary fat32 -- 4MiB 32MiB # 28 MiB (29,360,128 bytes)
|
||||
parted -s "${IMAGE}" mkpart primary ext2 -- 32MiB -1
|
||||
parted -s "${IMAGE}" set 2 boot on
|
||||
|
|
|
|||
|
|
@ -24,8 +24,6 @@ zcat "${BOOT}" "${DEBIAN}" > image.bin
|
|||
LOOP1=$(losetup -f -P --show image.bin) && {
|
||||
trap 'losetup -d "${LOOP1}"' ERR
|
||||
sleep 1
|
||||
fdisk -l "${LOOP1}"
|
||||
blkid "${LOOP1}" "${LOOP1}p1" "${LOOP1}p2"
|
||||
fsck.vfat -p -f "${LOOP1}p1"
|
||||
fsck.ext4 -p -f "${LOOP1}p2"
|
||||
trap '-' ERR
|
||||
|
|
|
|||
Loading…
Reference in New Issue