mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-27 06:54:00 +00:00
Help clear rootfs on rebuild
This commit is contained in:
parent
eba288c868
commit
5115762230
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user