Compare commits

..

21 Commits
gpt ... master

Author SHA1 Message Date
Johan Gunnarsson 760716f703 boards: Fix Banana Pi CM4IO DTB name
docker build and deploy / build and deploy (push) Failing after 4m1s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (push) Failing after 5m26s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (push) Failing after 4m9s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (push) Failing after 4m3s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (push) Failing after 5m25s Details
Delete packages / delete-packages (push) Failing after 51s Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, debian-bookworm-arm64, /index-debians-arm64.txt) (push) Failing after 2m59s Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, debian-sid-arm64, /index-debians-arm64.txt) (push) Failing after 3s Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, debian-trixie-arm64, /index-debians-arm64.txt) (push) Failing after 11m38s Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, ubuntu-jammy-arm64, /index-debians-arm64.txt) (push) Has been cancelled Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, ubuntu-mantic-arm64, /index-debians-arm64.txt) (push) Has been cancelled Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, ubuntu-noble-arm64, /index-debians-arm64.txt) (push) Has been cancelled Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_arm_virt, debian-bookworm-armhf, /index-debians-armhf.txt) (push) Has been cancelled Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_arm_virt, debian-sid-armhf, /index-debians-armhf.txt) (push) Has been cancelled Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_arm_virt, debian-trixie-armhf, /index-debians-armhf.txt) (push) Has been cancelled Details
sd-card-images CI / build docker images (push) Has been cancelled Details
Rebuild debian-*.csv / rebuild-debian-csv (push) Has been cancelled Details
2024-07-05 11:04:41 +02:00
Johan Gunnarsson cd268474e8 docs: Regenerate boards 2024-06-30 21:11:15 +00:00
Johan Gunnarsson fb09a8078c debians: Update Debian/Ubuntu versions 2024-06-30 21:11:14 +00:00
cbayle 6978bd9826
Add support for Banana PI CM4IO (#133) 2024-05-21 19:12:19 +02:00
Johan Gunnarsson 6429690c90 docs: Regenerate boards 2024-05-12 21:10:20 +00:00
Johan Gunnarsson 61a2b9b8e6 debians: Update Debian/Ubuntu versions 2024-05-12 21:10:20 +00:00
Johan Gunnarsson 6ee61b294c docs: Regenerate boards 2024-05-05 21:09:23 +00:00
Johan Gunnarsson fb6dfb993d debians: Update Debian/Ubuntu versions 2024-05-05 21:09:22 +00:00
Johan Gunnarsson 0b354a246d github: Drop Debian Experimental and Ubuntu Lunar 2024-04-21 15:57:16 +02:00
Johan Gunnarsson e530a46db6 docs: Regenerate boards 2024-04-07 21:10:16 +00:00
Johan Gunnarsson 521751c96f debians: Update Debian/Ubuntu versions 2024-04-07 21:10:16 +00:00
Johan Gunnarsson edddae463e boards: Update AML-S905X-CC V2 name 2024-04-01 18:45:39 +02:00
Johan Gunnarsson 85fa3f67f9 rebuild-debian-csv: LTS is 5 years 2024-04-01 18:45:39 +02:00
Johan Gunnarsson 564f295d9f docs: Regenerate boards 2024-03-31 21:08:14 +00:00
Johan Gunnarsson bfca7fb42c debians: Update Debian/Ubuntu versions 2024-03-31 21:08:14 +00:00
Johan Gunnarsson 48466b79d0 github: Bump various Docker actions 2024-03-24 12:05:06 +01:00
Johan Gunnarsson 4439f65b71 Dockerfile: Drop Python 2 2024-03-24 12:03:09 +01:00
Johan Gunnarsson 5be88b6121 build-debian: Collect kernel URL in versions.csv 2024-03-24 11:54:00 +01:00
Johan Gunnarsson c0ee2f16f4 Dockerfile: Bump to Ubuntu 24.04 2024-03-24 11:51:56 +01:00
Johan Gunnarsson faf90d024d github: Run prebuilt tests on 1st each month 2024-02-29 19:57:32 +01:00
Johan Gunnarsson 32e4172a46 build-boot-meson: Don't overwrite disk identifier
Fixes #115.
2024-02-22 21:09:57 +01:00
26 changed files with 80 additions and 63 deletions

View File

@ -30,9 +30,6 @@ jobs:
- os: debian
suite: sid
arch: i386
- os: debian
suite: experimental
arch: i386
fail-fast: false
env:

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -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 Board ID Board name Board maker Chip ID U-Boot defconfig Build tuple Device tree
194 qemu_x86_virt qemu_aarch64_virt QEMU x86 virt QEMU aarch64 virt QEMU qemu-x86 qemu-aarch64 qemu-x86_defconfig qemu_arm64_defconfig i686-linux-gnu aarch64-linux-gnu N/A
195 qemu_x86_64_virt qemu_x86_virt QEMU x86_64 virt QEMU x86 virt QEMU qemu-x86_64 qemu-x86 qemu-x86_64_defconfig qemu-x86_defconfig x86_64-linux-gnu i686-linux-gnu N/A
196 qemu_x86_64_virt QEMU x86_64 virt QEMU qemu-x86_64 qemu-x86_64_defconfig x86_64-linux-gnu N/A
197
198
199
200
214
215
216
217
218
219
220

View File

@ -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 OS Dist Arch Name Exp
2 debian bullseye armhf Debian oldstable/11.9 ("bullseye") Debian oldstable/11.10 ("bullseye") False
3 debian bullseye arm64 Debian oldstable/11.9 ("bullseye") Debian oldstable/11.10 ("bullseye") False
4 debian bookworm armhf Debian stable/12.5 ("bookworm") Debian stable/12.6 ("bookworm") False
5 debian bookworm arm64 Debian stable/12.5 ("bookworm") Debian stable/12.6 ("bookworm") False
6 debian trixie armhf Debian testing ("trixie") False
7 debian trixie arm64 Debian testing ("trixie") False
8 debian sid armhf Debian unstable ("sid") False
13 ubuntu focal arm64 Ubuntu 20.04 LTS ("focal") False
14 ubuntu jammy armhf Ubuntu 22.04 LTS ("jammy") False
15 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
16 ubuntu mantic armhf Ubuntu 23.10 ("mantic") False
17 ubuntu mantic arm64 Ubuntu 23.10 ("mantic") False
18 ubuntu noble armhf Ubuntu 24.04 LTS ("noble") True False
19 ubuntu noble arm64 Ubuntu 24.04 LTS ("noble") True False
20 ubuntu oracular armhf Ubuntu 24.10 ("oracular") True
21 ubuntu oracular arm64 Ubuntu 24.10 ("oracular") True

View File

@ -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

1 OS Dist Arch Name Exp
2 debian bullseye i386 Debian oldstable/11.9 ("bullseye") Debian oldstable/11.10 ("bullseye") False
3 debian bullseye amd64 Debian oldstable/11.9 ("bullseye") Debian oldstable/11.10 ("bullseye") False
4 debian bookworm i386 Debian stable/12.5 ("bookworm") Debian stable/12.6 ("bookworm") False
5 debian bookworm amd64 Debian stable/12.5 ("bookworm") Debian stable/12.6 ("bookworm") False
6 debian trixie i386 Debian testing ("trixie") False
7 debian trixie amd64 Debian testing ("trixie") False
8 debian sid i386 Debian unstable ("sid") False
13 ubuntu focal amd64 Ubuntu 20.04 LTS ("focal") False
14 ubuntu jammy i386 Ubuntu 22.04 LTS ("jammy") False
15 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
16 ubuntu mantic i386 Ubuntu 23.10 ("mantic") False
17 ubuntu mantic amd64 Ubuntu 23.10 ("mantic") False
18 ubuntu noble i386 Ubuntu 24.04 LTS ("noble") True False
19 ubuntu noble amd64 Ubuntu 24.04 LTS ("noble") True False
20 ubuntu oracular i386 Ubuntu 24.10 ("oracular") True
21 ubuntu oracular amd64 Ubuntu 24.10 ("oracular") True

View File

@ -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
---

View File

@ -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)

View File

@ -2,6 +2,6 @@
os: debian
dist: bullseye
arch: armhf
name: Debian oldstable/11.9 ("bullseye")
name: Debian oldstable/11.10 ("bullseye")
exp: False
---

View File

@ -2,6 +2,6 @@
os: debian
dist: bullseye
arch: arm64
name: Debian oldstable/11.9 ("bullseye")
name: Debian oldstable/11.10 ("bullseye")
exp: False
---

View File

@ -2,6 +2,6 @@
os: debian
dist: bookworm
arch: armhf
name: Debian stable/12.5 ("bookworm")
name: Debian stable/12.6 ("bookworm")
exp: False
---

View File

@ -2,6 +2,6 @@
os: debian
dist: bookworm
arch: arm64
name: Debian stable/12.5 ("bookworm")
name: Debian stable/12.6 ("bookworm")
exp: False
---

View File

@ -1,7 +0,0 @@
---
os: ubuntu
dist: lunar
arch: armhf
name: Ubuntu 23.04 ("lunar")
exp: False
---

View File

@ -1,7 +0,0 @@
---
os: ubuntu
dist: lunar
arch: arm64
name: Ubuntu 23.04 ("lunar")
exp: False
---

View File

@ -3,5 +3,5 @@ os: ubuntu
dist: noble
arch: armhf
name: Ubuntu 24.04 LTS ("noble")
exp: True
exp: False
---

View File

@ -3,5 +3,5 @@ os: ubuntu
dist: noble
arch: arm64
name: Ubuntu 24.04 LTS ("noble")
exp: True
exp: False
---

View File

@ -0,0 +1,7 @@
---
os: ubuntu
dist: oracular
arch: armhf
name: Ubuntu 24.10 ("oracular")
exp: True
---

View File

@ -0,0 +1,7 @@
---
os: ubuntu
dist: oracular
arch: arm64
name: Ubuntu 24.10 ("oracular")
exp: True
---

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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