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
|
- os: debian
|
||||||
suite: sid
|
suite: sid
|
||||||
arch: i386
|
arch: i386
|
||||||
- os: debian
|
|
||||||
suite: experimental
|
|
||||||
arch: i386
|
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -21,15 +21,15 @@ jobs:
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Login to Github Packages
|
- name: Login to Github Packages
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
# Every Monday evening
|
# Every Monday evening
|
||||||
- cron: "00 21 * * 1"
|
- cron: "00 21 * * 1"
|
||||||
|
# Every first day of month evening
|
||||||
|
- cron: "00 21 1 * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-prebuilt:
|
test-prebuilt:
|
||||||
|
|
@ -37,9 +39,6 @@ jobs:
|
||||||
- boot: boot-qemu_aarch64_virt
|
- boot: boot-qemu_aarch64_virt
|
||||||
debian: ubuntu-jammy-arm64
|
debian: ubuntu-jammy-arm64
|
||||||
debian_index: /index-debians-arm64.txt
|
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
|
- boot: boot-qemu_aarch64_virt
|
||||||
debian: ubuntu-mantic-arm64
|
debian: ubuntu-mantic-arm64
|
||||||
debian_index: /index-debians-arm64.txt
|
debian_index: /index-debians-arm64.txt
|
||||||
|
|
@ -72,7 +71,7 @@ jobs:
|
||||||
wget
|
wget
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Download
|
- name: Download
|
||||||
timeout-minutes: 1
|
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
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get --assume-yes \
|
apt-get --assume-yes \
|
||||||
|
|
@ -20,7 +20,6 @@ RUN apt-get update && \
|
||||||
pigz \
|
pigz \
|
||||||
bison \
|
bison \
|
||||||
flex \
|
flex \
|
||||||
python2-dev \
|
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pkg-resources \
|
python3-pkg-resources \
|
||||||
python3-pyelftools \
|
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
|
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_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
|
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_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
|
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
|
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
|
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,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
|
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
|
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
|
OS,Dist,Arch,Name,Exp
|
||||||
debian,bullseye,armhf,"Debian oldstable/11.9 (""bullseye"")",False
|
debian,bullseye,armhf,"Debian oldstable/11.10 (""bullseye"")",False
|
||||||
debian,bullseye,arm64,"Debian oldstable/11.9 (""bullseye"")",False
|
debian,bullseye,arm64,"Debian oldstable/11.10 (""bullseye"")",False
|
||||||
debian,bookworm,armhf,"Debian stable/12.5 (""bookworm"")",False
|
debian,bookworm,armhf,"Debian stable/12.6 (""bookworm"")",False
|
||||||
debian,bookworm,arm64,"Debian stable/12.5 (""bookworm"")",False
|
debian,bookworm,arm64,"Debian stable/12.6 (""bookworm"")",False
|
||||||
debian,trixie,armhf,"Debian testing (""trixie"")",False
|
debian,trixie,armhf,"Debian testing (""trixie"")",False
|
||||||
debian,trixie,arm64,"Debian testing (""trixie"")",False
|
debian,trixie,arm64,"Debian testing (""trixie"")",False
|
||||||
debian,sid,armhf,"Debian unstable (""sid"")",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,focal,arm64,"Ubuntu 20.04 LTS (""focal"")",False
|
||||||
ubuntu,jammy,armhf,"Ubuntu 22.04 LTS (""jammy"")",False
|
ubuntu,jammy,armhf,"Ubuntu 22.04 LTS (""jammy"")",False
|
||||||
ubuntu,jammy,arm64,"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,armhf,"Ubuntu 23.10 (""mantic"")",False
|
||||||
ubuntu,mantic,arm64,"Ubuntu 23.10 (""mantic"")",False
|
ubuntu,mantic,arm64,"Ubuntu 23.10 (""mantic"")",False
|
||||||
ubuntu,noble,armhf,"Ubuntu 24.04 LTS (""noble"")",True
|
ubuntu,noble,armhf,"Ubuntu 24.04 LTS (""noble"")",False
|
||||||
ubuntu,noble,arm64,"Ubuntu 24.04 LTS (""noble"")",True
|
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
|
OS,Dist,Arch,Name,Exp
|
||||||
debian,bullseye,i386,"Debian oldstable/11.9 (""bullseye"")",False
|
debian,bullseye,i386,"Debian oldstable/11.10 (""bullseye"")",False
|
||||||
debian,bullseye,amd64,"Debian oldstable/11.9 (""bullseye"")",False
|
debian,bullseye,amd64,"Debian oldstable/11.10 (""bullseye"")",False
|
||||||
debian,bookworm,i386,"Debian stable/12.5 (""bookworm"")",False
|
debian,bookworm,i386,"Debian stable/12.6 (""bookworm"")",False
|
||||||
debian,bookworm,amd64,"Debian stable/12.5 (""bookworm"")",False
|
debian,bookworm,amd64,"Debian stable/12.6 (""bookworm"")",False
|
||||||
debian,trixie,i386,"Debian testing (""trixie"")",False
|
debian,trixie,i386,"Debian testing (""trixie"")",False
|
||||||
debian,trixie,amd64,"Debian testing (""trixie"")",False
|
debian,trixie,amd64,"Debian testing (""trixie"")",False
|
||||||
debian,sid,i386,"Debian unstable (""sid"")",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,focal,amd64,"Ubuntu 20.04 LTS (""focal"")",False
|
||||||
ubuntu,jammy,i386,"Ubuntu 22.04 LTS (""jammy"")",False
|
ubuntu,jammy,i386,"Ubuntu 22.04 LTS (""jammy"")",False
|
||||||
ubuntu,jammy,amd64,"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,i386,"Ubuntu 23.10 (""mantic"")",False
|
||||||
ubuntu,mantic,amd64,"Ubuntu 23.10 (""mantic"")",False
|
ubuntu,mantic,amd64,"Ubuntu 23.10 (""mantic"")",False
|
||||||
ubuntu,noble,i386,"Ubuntu 24.04 LTS (""noble"")",True
|
ubuntu,noble,i386,"Ubuntu 24.04 LTS (""noble"")",False
|
||||||
ubuntu,noble,amd64,"Ubuntu 24.04 LTS (""noble"")",True
|
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
|
layout: board
|
||||||
title: AML-S905X-CC V2 (Le Potato) SD card images
|
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 (Le Potato) by Libre Computer, SoC: Amlogic S905X/S905W/S905D/S805X, CPU ISA: armv8"
|
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_id: libretech_s905x_cc_v2
|
||||||
board_dtb_name: meson-gxl-s905x-libretech-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_maker_name: Libre Computer
|
||||||
board_soc_name: Amlogic S905X/S905W/S905D/S805X
|
board_soc_name: Amlogic S905X/S905W/S905D/S805X
|
||||||
board_cpu_name: ARM Cortex A53 (armv8)
|
board_cpu_name: ARM Cortex A53 (armv8)
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
os: debian
|
os: debian
|
||||||
dist: bullseye
|
dist: bullseye
|
||||||
arch: armhf
|
arch: armhf
|
||||||
name: Debian oldstable/11.9 ("bullseye")
|
name: Debian oldstable/11.10 ("bullseye")
|
||||||
exp: False
|
exp: False
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
os: debian
|
os: debian
|
||||||
dist: bullseye
|
dist: bullseye
|
||||||
arch: arm64
|
arch: arm64
|
||||||
name: Debian oldstable/11.9 ("bullseye")
|
name: Debian oldstable/11.10 ("bullseye")
|
||||||
exp: False
|
exp: False
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
os: debian
|
os: debian
|
||||||
dist: bookworm
|
dist: bookworm
|
||||||
arch: armhf
|
arch: armhf
|
||||||
name: Debian stable/12.5 ("bookworm")
|
name: Debian stable/12.6 ("bookworm")
|
||||||
exp: False
|
exp: False
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
os: debian
|
os: debian
|
||||||
dist: bookworm
|
dist: bookworm
|
||||||
arch: arm64
|
arch: arm64
|
||||||
name: Debian stable/12.5 ("bookworm")
|
name: Debian stable/12.6 ("bookworm")
|
||||||
exp: False
|
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
|
dist: noble
|
||||||
arch: armhf
|
arch: armhf
|
||||||
name: Ubuntu 24.04 LTS ("noble")
|
name: Ubuntu 24.04 LTS ("noble")
|
||||||
exp: True
|
exp: False
|
||||||
---
|
---
|
||||||
|
|
@ -3,5 +3,5 @@ os: ubuntu
|
||||||
dist: noble
|
dist: noble
|
||||||
arch: arm64
|
arch: arm64
|
||||||
name: Ubuntu 24.04 LTS ("noble")
|
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.label == "Ubuntu":
|
||||||
if self.is_lts():
|
if self.is_lts():
|
||||||
return self.age() < 4 * timedelta(days=365)
|
return self.age() < 5 * timedelta(days=365)
|
||||||
else:
|
else:
|
||||||
return self.age() < timedelta(days=365)
|
return self.age() < timedelta(days=365)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,9 @@ libretech_s912_pc*)
|
||||||
beelink_gt_king*)
|
beelink_gt_king*)
|
||||||
BOARD=beelink-s922x
|
BOARD=beelink-s922x
|
||||||
;;
|
;;
|
||||||
|
banana_pi_cm4io)
|
||||||
|
BOARD=bananapi-cm4io
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
# X_Y_defconfig -> x-y
|
# X_Y_defconfig -> x-y
|
||||||
BOARD=`echo "${DEFCONFIG%_defconfig}" | tr _ -`
|
BOARD=`echo "${DEFCONFIG%_defconfig}" | tr _ -`
|
||||||
|
|
@ -54,5 +57,5 @@ mkdir ../amlogic-boot-fip-output
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Copy U-Boot but don't overwrite the partition table
|
# 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=fsync,notrunc bs=512 skip=1 seek=1
|
||||||
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=1 count=440
|
||||||
|
|
|
||||||
|
|
@ -11,31 +11,37 @@ case "${OS}-${ARCH}" in
|
||||||
debian-armhf)
|
debian-armhf)
|
||||||
KERNEL=linux-image-armmp
|
KERNEL=linux-image-armmp
|
||||||
URL=http://deb.debian.org/debian
|
URL=http://deb.debian.org/debian
|
||||||
|
KERNEL_URL=http://packages.debian.org/"${DIST}"/"${KERNEL}"
|
||||||
SCRIPT=/usr/share/debootstrap/scripts/sid
|
SCRIPT=/usr/share/debootstrap/scripts/sid
|
||||||
;;
|
;;
|
||||||
debian-arm64)
|
debian-arm64)
|
||||||
KERNEL=linux-image-arm64
|
KERNEL=linux-image-arm64
|
||||||
URL=http://deb.debian.org/debian
|
URL=http://deb.debian.org/debian
|
||||||
|
KERNEL_URL=http://packages.debian.org/"${DIST}"/"${KERNEL}"
|
||||||
SCRIPT=/usr/share/debootstrap/scripts/sid
|
SCRIPT=/usr/share/debootstrap/scripts/sid
|
||||||
;;
|
;;
|
||||||
debian-i386)
|
debian-i386)
|
||||||
KERNEL=linux-image-686
|
KERNEL=linux-image-686
|
||||||
URL=http://deb.debian.org/debian
|
URL=http://deb.debian.org/debian
|
||||||
|
KERNEL_URL=http://packages.debian.org/"${DIST}"/"${KERNEL}"
|
||||||
SCRIPT=/usr/share/debootstrap/scripts/sid
|
SCRIPT=/usr/share/debootstrap/scripts/sid
|
||||||
;;
|
;;
|
||||||
debian-amd64)
|
debian-amd64)
|
||||||
KERNEL=linux-image-amd64
|
KERNEL=linux-image-amd64
|
||||||
URL=http://deb.debian.org/debian
|
URL=http://deb.debian.org/debian
|
||||||
|
KERNEL_URL=http://packages.debian.org/"${DIST}"/"${KERNEL}"
|
||||||
SCRIPT=/usr/share/debootstrap/scripts/sid
|
SCRIPT=/usr/share/debootstrap/scripts/sid
|
||||||
;;
|
;;
|
||||||
ubuntu-amd64)
|
ubuntu-amd64)
|
||||||
KERNEL=linux-image-generic
|
KERNEL=linux-image-generic
|
||||||
URL=http://archive.ubuntu.com/ubuntu
|
URL=http://archive.ubuntu.com/ubuntu
|
||||||
|
KERNEL_URL=http://packages.ubuntu.com/"${DIST}"/"${KERNEL}"
|
||||||
SCRIPT=/usr/share/debootstrap/scripts/gutsy
|
SCRIPT=/usr/share/debootstrap/scripts/gutsy
|
||||||
;;
|
;;
|
||||||
ubuntu-armhf|ubuntu-arm64)
|
ubuntu-armhf|ubuntu-arm64)
|
||||||
KERNEL=linux-image-generic
|
KERNEL=linux-image-generic
|
||||||
URL=http://ports.ubuntu.com/ubuntu-ports
|
URL=http://ports.ubuntu.com/ubuntu-ports
|
||||||
|
KERNEL_URL=http://packages.ubuntu.com/"${DIST}"/"${KERNEL}"
|
||||||
SCRIPT=/usr/share/debootstrap/scripts/gutsy
|
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 || :
|
/bin/mv /tmp/priority-experimental /etc/apt/preferences.d/priority-experimental || :
|
||||||
/usr/bin/apt-get update
|
/usr/bin/apt-get update
|
||||||
/usr/bin/apt-get -y upgrade
|
/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-timesyncd || :
|
||||||
/usr/bin/apt-get -y install systemd-resolved || :
|
/usr/bin/apt-get -y install systemd-resolved || :
|
||||||
/usr/bin/apt-get clean
|
/usr/bin/apt-get clean
|
||||||
/bin/rm -rf /var/lib/apt/lists/*
|
/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-networkd.service
|
||||||
/usr/bin/systemctl enable systemd-resolved.service
|
/usr/bin/systemctl enable systemd-resolved.service
|
||||||
/usr/bin/systemctl enable systemd-timesyncd.service
|
/usr/bin/systemctl enable systemd-timesyncd.service
|
||||||
/bin/rm -f /var/log/*.log
|
/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
|
/bin/sed -i "s/#*\s*PermitRootLogin .*/PermitRootLogin yes/" /etc/ssh/sshd_config
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue