mirror of
https://github.com/mynodebtc/mynode.git
synced 2025-01-11 11:29:27 +00:00
Use rsync for rp4 arm64 extraction
This commit is contained in:
parent
f310e23cf4
commit
0f2a2484bb
|
@ -50,7 +50,7 @@ tar -xvf /opt/mynode_release_latest.tar.gz -C /opt/upgrade/
|
|||
|
||||
# Install files
|
||||
VERSION=$(cat /opt/upgrade/out/rootfs_*/usr/share/mynode/version)
|
||||
if [ $IS_X86 = 1 ]; then
|
||||
if [ $IS_X86 = 1 ] || [ $IS_RASPI4_ARM64 = 1 ]; then
|
||||
rsync -r -K /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1
|
||||
else
|
||||
cp -rf /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1
|
||||
|
|
|
@ -865,7 +865,7 @@ update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy || true
|
|||
|
||||
|
||||
# Install files (downloaded and extracted earlier)
|
||||
if [ $IS_X86 = 1 ] || [ $IS_RASPI4_ARM64 ]; then
|
||||
if [ $IS_X86 = 1 ] || [ $IS_RASPI4_ARM64 = 1 ]; then
|
||||
rsync -r -K /tmp/upgrade/out/rootfs_*/* /
|
||||
else
|
||||
cp -rf /tmp/upgrade/out/rootfs_*/* /
|
||||
|
|
Loading…
Reference in New Issue
Block a user