2019-06-15 23:02:44 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-12-05 01:05:52 +00:00
|
|
|
for i in 'rock64' 'rockpro64' 'raspi3' 'raspi4' 'debian'; do
|
2019-11-06 22:15:33 +00:00
|
|
|
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
|
2019-12-06 03:30:23 +00:00
|
|
|
cp -f setup/setup_device.sh out/setup_device.sh
|
|
|
|
|
2019-11-06 22:15:33 +00:00
|
|
|
rm -f out/mynode_rootfs_$i.tar.gz
|
|
|
|
tar -zcvf out/mynode_rootfs_$i.tar.gz ./out/rootfs_$i/*
|
|
|
|
done
|