new musl stage4 uses xz

This commit is contained in:
Matthew Thode 2019-05-23 22:50:12 -05:00
parent f0c94b6607
commit 96fc8a991b
No known key found for this signature in database
GPG key ID: 64A37BEAAE19A4E8

View file

@ -16,8 +16,8 @@ sed -i "s|MY_DATE|${MY_DATE}|g" "${MUSL_DIR}"/stage4-hardened-amd64-configured.s
catalyst -f "${MUSL_DIR}"/stage4-hardened-amd64-configured.spec | tee -a "${MUSL_DIR}"/zzz.log
# update link, rm -f returns 0 if file isn't there yet
rm -f "${storedir}/builds/musl/hardened/amd64/stage4-amd64-musl-hardened.tar.bz2"
ln -s "${storedir}/builds/musl/hardened/amd64/stage4-amd64-musl-hardened-${MY_DATE}.tar.bz2" "${storedir}/builds/musl/hardened/amd64/stage4-amd64-musl-hardened.tar.bz2"
rm -f "${storedir}/builds/musl/hardened/amd64/stage4-amd64-musl-hardened.tar.xz"
ln -s "${storedir}/builds/musl/hardened/amd64/stage4-amd64-musl-hardened-${MY_DATE}.tar.xz" "${storedir}/builds/musl/hardened/amd64/stage4-amd64-musl-hardened.tar.xz"
# remove old specfile
rm "${MUSL_DIR}"/stage4-hardened-amd64-configured.spec