Add arm64 image generation and configuration

This commit is contained in:
Tanguy Herbron 2022-05-23 18:15:27 +02:00
parent ccb37e5af6
commit 99f60f266f
2 changed files with 26 additions and 1 deletions

View File

@ -1,7 +1,7 @@
stages: stages:
- build - build
build-images: build-x86:
image: debian:latest image: debian:latest
stage: build stage: build
script: script:
@ -25,3 +25,17 @@ build-images:
paths: paths:
- halia-debian-11.3.0-amd64.iso - halia-debian-11.3.0-amd64.iso
expire_in: 1 mos 8 days expire_in: 1 mos 8 days
build-arm64:
image: debian:latest
stage: build
script:
- apt update
- apt install -y git quilt parted qemu-user-static debootstrap zerofree libarchive-tools qemu-utils kpartx pigz
- git clone --depth 1 -b arm64 https://github.com/RPi-Distro/pi-gen
- cd pi-gen
- ./build.sh -c ../config
artifacts:
paths:
- ./pi-gen/deploy/*-Halia-arm64-lite.img
expire_in: 1 mos 8 days

11
config Normal file
View File

@ -0,0 +1,11 @@
IMG_NAME=Halia-arm64
DEPLOY_COMPRESSION=none
LOCALE_DEFAULT=en_US.UTF-8
KEYBOARD_KEYMAP=us
KEYBOARD_LAYOUT="English (US)"
TIMEZONE_DEFAULT=Europe/Copenhagen
FIRST_USER_NAME=creator
ENABLE_SSH=1
PUBKEY_SSH_FIRST_USER="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDYsz4jdyzf9UcJ8eEavVmi+DNYE3ioeJBfTlVMw7Vsb tanguy@Diogenes"
PUBKEY_ONLY_SSH=1
STAGE_LIST="stage0 stage1 stage2"