Help clear rootfs on rebuild

This commit is contained in:
Taylor Helsper 2022-08-19 01:00:40 -05:00
parent eba288c868
commit 5115762230

View File

@ -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