From 99ce6cb1925f6a6b619cdf6a5b802f8358dd7bd9 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 --- builder.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}"