Update script for rootfs to work better on Debian

This commit is contained in:
Taylor Helsper 2020-10-29 17:22:15 -05:00
parent 9d7584bccf
commit 2236b71f0e

View File

@ -2,5 +2,7 @@
rm -rf $(dirname $0)/out/rootfs_*
fswatch $(dirname $0)/rootfs $(dirname $0)/CHANGELOG | (while read; do $(dirname $0)/make_rootfs.sh; echo "Update rootfs!"; done)
# Did not work well on Linux.... works on OSX :-/
#fswatch -o $(dirname $0)/rootfs $(dirname $0)/CHANGELOG | (while read; do $(dirname $0)/make_rootfs.sh; echo "Update rootfs!"; done)
while true; do find $(dirname $0)/rootfs/ | entr -d -s $(dirname $0)/make_rootfs.sh; done