2019-05-26 00:44:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
REPOSITORY="/hostdir/binpkgs /hostdir/binpkgs/musl /hostdir/binpkgs/aarch64"
|
|
|
|
DATECODE=$(date "+%Y%m%d")
|
|
|
|
|
|
|
|
make
|
|
|
|
|
2021-03-15 17:05:05 -01:00
|
|
|
ARCHS="$(echo x86_64{,-musl} i686 armv{6,7}l{,-musl} aarch64{,-musl})"
|
2020-10-14 19:07:38 +00:00
|
|
|
PLATFORMS="$(echo rpi{,2,3,4}{,-musl})"
|
|
|
|
SBC_IMGS="$(echo rpi{,2,3,4}{,-musl})"
|
2019-05-26 00:44:21 +00:00
|
|
|
|
|
|
|
make rootfs-all ARCHS="$ARCHS" REPOSITORY="$REPOSITORY" DATECODE="$DATECODE"
|
|
|
|
make platformfs-all PLATFORMS="$PLATFORMS" REPOSITORY="$REPOSITORY" DATECODE="$DATECODE"
|
|
|
|
make images-all-sbc SBC_IMGS="$SBC_IMGS" REPOSITORY="$REPOSITORY" DATECODE="$DATECODE"
|
|
|
|
|
|
|
|
MKLIVE_REPO=(-r /hostdir/binpkgs -r /hostdir/binpkgs/nonfree -r /hostdir/musl -r /hostdir/binpkgs/musl/nonfree)
|
|
|
|
./build-x86-images.sh -a i686 -b base "${MKLIVE_REPO[@]}"
|
|
|
|
./build-x86-images.sh -a i686 -b xfce "${MKLIVE_REPO[@]}"
|
|
|
|
|
|
|
|
./build-x86-images.sh -a x86_64 -b base "${MKLIVE_REPO[@]}"
|
|
|
|
./build-x86-images.sh -a x86_64 -b xfce "${MKLIVE_REPO[@]}"
|
|
|
|
./build-x86-images.sh -a x86_64 -b cinnamon "${MKLIVE_REPO[@]}"
|
|
|
|
./build-x86-images.sh -a x86_64 -b lxde "${MKLIVE_REPO[@]}"
|
|
|
|
|
|
|
|
./build-x86-images.sh -a x86_64-musl -b base "${MKLIVE_REPO[@]}"
|
|
|
|
./build-x86-images.sh -a x86_64-musl -b xfce "${MKLIVE_REPO[@]}"
|
|
|
|
./build-x86-images.sh -a x86_64-musl -b cinnamon "${MKLIVE_REPO[@]}"
|
|
|
|
./build-x86-images.sh -a x86_64-musl -b lxde "${MKLIVE_REPO[@]}"
|
|
|
|
|
|
|
|
mkdir "$DATECODE"
|
|
|
|
mv "*${DATECODE}*.xz" "$DATECODE/"
|
|
|
|
mv "*${DATECODE}*.gz" "$DATECODE/"
|
|
|
|
mv "*${DATECODE}*.iso" "$DATECODE/"
|
|
|
|
|
|
|
|
cd "$DATECODE" || exit 1
|
2021-03-13 01:35:31 -01:00
|
|
|
sha256sum --tag -- * > sha256sums.txt
|