moved everything to different stages

This commit is contained in:
ag-tsotetsi
2026-03-29 12:29:46 +02:00
parent abcc7eca2a
commit c69f878094
18 changed files with 423 additions and 530 deletions

15
stage/chroot/zstd.bash Normal file
View File

@@ -0,0 +1,15 @@
fetch $ZSTD_URL
sudo chroot "$SYSROOT" /usr/bin/env -i MAKEFLAGS="$MAKEFLAGS" PATH=/usr/bin:/usr/sbin SOURCES=/sources ZSTD_VERSION=$ZSTD_VERSION /usr/bin/bash <<- "EOF"
set -euo pipefail
cd "$SOURCES" && tar xf zstd-$ZSTD_VERSION.tar.gz && cd zstd-$ZSTD_VERSION
make prefix=/usr
make prefix=/usr install
rm /usr/lib/libzstd.a
cd "$SOURCES" && rm -rf zstd-$ZSTD_VERSION
EOF