Files
ports/scripts/genrootfs.sh
2020-06-28 23:50:36 +08:00

14 lines
237 B
Bash
Executable File

#!/bin/sh
PORTSDIR="$(dirname $(dirname $(realpath $0)))"
SCRIPTDIR="$(dirname $(realpath $0))"
[ -f $SCRIPTDIR/config ] && . $SCRIPTDIR/config
sudo $SCRIPTDIR/build.sh \
-zap \
-rebase \
-rootfs || exit 1
exit 0