From 3bfc607abc0ef49101a2fb7eb99b0484452d3f22 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Thu, 29 Dec 2022 20:13:36 -0600 Subject: [PATCH] README updates and rootfs build updates --- README.md | 2 +- make_rootfs.sh | 2 +- make_rootfs_auto.sh | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 96194ac0..926e51b5 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ myNode offers premium support, simplified upgrades and more! If you are running Upgrade now or purchase a device at:
https://mynodebtc.com/order_now -myNode One Device +Devices - Model One and Model Two
diff --git a/make_rootfs.sh b/make_rootfs.sh index a966fa66..b49363f1 100755 --- a/make_rootfs.sh +++ b/make_rootfs.sh @@ -4,7 +4,7 @@ # Make each device for i in 'raspi4' 'debian' 'rockpro64' 'rock64' 'rockpi4' ; do - echo Creating root file system for $i + echo "Creating root file system for $i" mkdir -p out/rootfs_$i/ # Clear out data for old apps diff --git a/make_rootfs_auto.sh b/make_rootfs_auto.sh index 7e2ce8e6..9a3f4186 100755 --- a/make_rootfs_auto.sh +++ b/make_rootfs_auto.sh @@ -11,6 +11,7 @@ function ctrl_c() { rm -rf $(dirname $0)/out/rootfs_* # 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) +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 \ No newline at end of file +# Worked on Linux and OSX (recently failing on OSX) +#while true; do find $(dirname $0)/rootfs/ | entr -d -s $(dirname $0)/make_rootfs.sh; done \ No newline at end of file