From 71ccffc6a3a231e75f354aa9b869f0ee0b2e3a94 Mon Sep 17 00:00:00 2001 From: Wesley van Tilburg Date: Sun, 22 Feb 2026 00:02:26 +0100 Subject: [PATCH] initial asahi-cosmic setup --- .gitea/workflows/build.yaml | 6 +++--- builder.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 9b8c5fb..d8bfeee 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -15,12 +15,12 @@ jobs: strategy: fail-fast: false matrix: - image: [base] - version: [43,44] #Build current stable,next stable/rawhide (if not branched) + image: [asahi-cosmic] + version: [43] #Build current stable,next stable/rawhide (if not branched) container: image: "quay.io/fedora-ostree-desktops/buildroot:43" - options: "--security-opt apparmor=unconfined --privileged --user 0:0 --device=/dev/kvm --device=/dev/fuse --volume /:/run/host:rw" + options: "--security-opt apparmor=unconfined --privileged --user 0:0 --device=/dev/kvm --device=/dev/fuse --volume /:/run/host:rw --arch arm64" steps: - name: Install dependencies diff --git a/builder.sh b/builder.sh index 0e79ba1..652d867 100755 --- a/builder.sh +++ b/builder.sh @@ -45,7 +45,7 @@ echo "Composing ${VERSION}.${buildid} ..." # repos import cp images/shared/*.repo "${IMAGE_DIR}" -cp "${IMAGE_DIR}"/repos/*.repo "${IMAGE_DIR}" +cp "${IMAGE_DIR}"/{$IMAGE}/repos/*.repo "${IMAGE_DIR}" # Ensure manifest has correct ref and releasever sed -i '/^ref:/d' "$MANIFEST" @@ -54,7 +54,7 @@ sed -i "1i releasever: ${VERSION}" "$MANIFEST" sed -i "1i ref: ${REF}" "$MANIFEST" #Run a optional per image script to do image specific things -POSTPROCESS="${IMAGE_DIR}/postprocess.sh" +POSTPROCESS="${IMAGE_DIR}/${IMAGE}"/postprocess.sh" if [[ -x "${POSTPROCESS}" ]]; then echo "Running postprocess script: ${POSTPROCESS}" "${POSTPROCESS}"