a radical and experimental distribution based on musl libc and busybox http://sabo.xyz
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
337 B

#!/bin/sh
# release - package file sets
H=$(pwd)
RELEASE=sabotage-$(date -Idate)
mkdir -p $H/dist/$RELEASE
for s in base comp doc etc kernel xorg; do
cd /
cat $H/sets/$s $H/sets/$A/$s |sed 's/^/./' |bsdcpio -o -H ustar |xz -e >$H/dist/$RELEASE/$s.tar.xz
ls -l $H/dist/$RELEASE/$s*
done
cd $H/dist/$RELEASE
sha1sum *.*z* >SHA1SUMS