initial asahi-cosmic setup
Some checks failed
Build containers / Build and push image (base, 44) (push) Has been cancelled
Build containers / Build and push image (base, 43) (push) Has been cancelled

This commit is contained in:
2026-02-22 00:02:26 +01:00
parent ac08df1901
commit 99ce6cb192

View File

@@ -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}"