initial asahi-cosmic setup
Some checks failed
Build containers / Build and push image (base, 43) (push) Failing after 36s
Build containers / Build and push image (base, 44) (push) Failing after 49s

This commit is contained in:
2026-02-21 23:38:38 +01:00
parent e903787ba0
commit ac08df1901
13 changed files with 490 additions and 29 deletions

View File

@@ -43,14 +43,26 @@ echo "${buildid}" > .buildid
echo "Composing ${VERSION}.${buildid} ..."
# shared repos
# repos import
cp images/shared/*.repo "${IMAGE_DIR}"
cp "${IMAGE_DIR}"/repos/*.repo "${IMAGE_DIR}"
# Ensure manifest has correct ref and releasever
sed -i '/^ref:/d' "$MANIFEST"
sed -i '/^releasever:/d' "$MANIFEST"
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"
if [[ -x "${POSTPROCESS}" ]]; then
echo "Running postprocess script: ${POSTPROCESS}"
"${POSTPROCESS}"
else
echo "No postprocess.sh found in ${IMAGE_DIR}, skipping."
fi
# --- COMPOSE IMAGE ---
ARGS=(
"--cachedir=cache"