mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-26 06:28:07 +00:00
7deec49409
* replaced ugly tar output with simple messages * replaced ugly tar extraction output * Update mynode-local-upgrade * Suppress the null byte warning
15 lines
443 B
Bash
Executable File
15 lines
443 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for i in 'rock64' 'rockpro64' 'raspi3' 'raspi4' 'debian'; do
|
|
echo Creating root file system for $i
|
|
mkdir -p out/rootfs_$i/
|
|
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
|
|
cp -f setup/setup_device.sh out/setup_device.sh
|
|
|
|
rm -f out/mynode_rootfs_$i.tar.gz
|
|
tar -zcf out/mynode_rootfs_$i.tar.gz out/rootfs_$i/*
|
|
done
|
|
echo Done!
|