From 5115762230b27190330358b77c08a4dced8988b1 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Fri, 19 Aug 2022 01:00:40 -0500 Subject: [PATCH] Help clear rootfs on rebuild --- make_rootfs.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/make_rootfs.sh b/make_rootfs.sh index eef44421..5e4a6a13 100755 --- a/make_rootfs.sh +++ b/make_rootfs.sh @@ -6,6 +6,11 @@ for i in 'raspi4' 'rock64' 'rockpro64' 'rockpi4' 'debian'; do echo Creating root file system for $i mkdir -p out/rootfs_$i/ + + # Clear out data for old apps + rm -rf out/rootfs_$i/usr/share/mynode_apps + + # Make rootfs rsync -r -u rootfs/standard/* out/rootfs_$i/ rsync -r -u rootfs/$i/* out/rootfs_$i/ rsync -r -u CHANGELOG out/rootfs_$i/usr/share/mynode/changelog