From 99f60f266ff5d5022202aa46b62ec7f4197f229e Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Mon, 23 May 2022 18:15:27 +0200 Subject: [PATCH] Add arm64 image generation and configuration --- .gitlab-ci.yml | 16 +++++++++++++++- config | 11 +++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 config diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 077b4d1..fb06733 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ stages: - build -build-images: +build-x86: image: debian:latest stage: build script: @@ -25,3 +25,17 @@ build-images: paths: - halia-debian-11.3.0-amd64.iso 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 diff --git a/config b/config new file mode 100644 index 0000000..de6d6a4 --- /dev/null +++ b/config @@ -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"