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.

16 lines
435 B

# use: update-chroot.sh [no args, uses $H/config]
# updates the chroot /src with the contents of the current sabotage checkout
MYDIR=$(dirname "$(readlink -f "$0")")
export H="$MYDIR/.."
. "$H"/config
if [ -z "$R" ] ; then
echo "error sourcing config" >&2
exit 1
cp "$H"/COOKBOOK.md "$H"/LICENSE "$H"/README.md "$R"/src/
cp "$H"/build-stage0 "$H"/enter-chroot "$R"/src/
cp -r "$H"/KEEP "$H"/pkg "$H"/utils "$R"/src/