Compare commits

...

2 commits

Author SHA1 Message Date
James Calligeros 93e91b45da
specs: allow setting of distcc hosts
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
2024-08-30 03:11:26 +00:00
James Calligeros 4ed9260166
builder: copy finalised build to destination
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
2024-08-30 03:09:59 +00:00
3 changed files with 10 additions and 1 deletions

View file

@ -6,12 +6,13 @@
: ${BUILDDIR:="${BASEDIR}/builds"}
: ${VER:=$(date +'%Y%m%d')}
: ${GENTOO_MIRROR:="https://mirror.aarnet.edu.au/pub/gentoo/"}
: ${DESTDIR:="/path/to/dest"}
echo "Trying to enter ${BASEDIR}..."
cd "${BASEDIR}"
echo "Cleaning out ${BASEDIR}..."
#rm -rf "${BASEDIR}"/*
rm -rf "${BASEDIR}"/*
echo "Cloning Gentoo Asahi releng files..."
git clone https://github.com/chadmed/gentoo-asahi-releng \
@ -65,3 +66,9 @@ catalyst -f installcd-stage1.spec
echo "Building stage2 ISO..."
catalyst -f installcd-stage2-minimal.spec
cp -r "${BASEDIR}"/builds/23.0-default/install-arm64-asahi-"${VER}".i* "${DESTDIR}"/.
ln -sf "${DESTDIR}/install-arm64-asahi-${VER}.iso" "${DESTDIR}/install-arm64-asahi-latest.iso"
ln -sf "${DESTDIR}/install-arm64-asahi-${VER}.iso.sha256" "${DESTDIR}/install-arm64-asahi-latest.iso.sha256"
ln -sf "${DESTDIR}/install-arm64-asahi-${VER}.iso.CONTENTS.gz" "${DESTDIR}/install-arm64-asahi-latest.iso.CONTENTS.gz"
ln -sf "${DESTDIR}/install-arm64-asahi-${VER}.iso.DIGESTS" "${DESTDIR}/install-arm64-asahi-latest.iso.DIGESTS"

View file

@ -8,6 +8,7 @@ source_subpath: @STAGE3_PATH@
compression_mode: pixz
portage_confdir: @REPO_DIR@/releases/portage/isos
repos: @ASAHIOVERLAY@ # Clone chadmed/asahi-overlay (GitHub) and point this to it
distcc_hosts: @DISTCC_HOSTS@
livecd/use:
alsa

View file

@ -7,6 +7,7 @@ snapshot_treeish: @TREEISH@
source_subpath: 23.0-default/livecd-stage1-arm64-@TIMESTAMP@.tar.xz
portage_confdir: @REPO_DIR@/releases/portage/isos
repos: @ASAHIOVERLAY@ # Clone chadmed/asahi-overlay (GitHub) and point this to it
distcc_hosts: @DISTCC_HOSTS@
livecd/bootargs: dokeymap
livecd/fstype: squashfs