mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Fix some issues with Raspi4 ARM64 upgrades
This commit is contained in:
parent
e6941e9eb4
commit
4178b70836
|
@ -34,7 +34,7 @@ tar -xf /tmp/mynode_rootfs_${DEVICE_TYPE}.tar.gz -C /tmp/rootfs/
|
||||||
echo Done!
|
echo Done!
|
||||||
|
|
||||||
# Install files
|
# Install files
|
||||||
if [ $IS_X86 = 1 ]; then
|
if [ $IS_X86 = 1 ] || [ $IS_RASPI4_ARM64 = 1 ]; then
|
||||||
rsync -r -K /tmp/rootfs/out/rootfs_${DEVICE_TYPE}/* /
|
rsync -r -K /tmp/rootfs/out/rootfs_${DEVICE_TYPE}/* /
|
||||||
else
|
else
|
||||||
cp -rf /tmp/rootfs/out/rootfs_${DEVICE_TYPE}/* /
|
cp -rf /tmp/rootfs/out/rootfs_${DEVICE_TYPE}/* /
|
||||||
|
|
|
@ -50,7 +50,7 @@ tar -xvf /opt/mynode_release_latest.tar.gz -C /opt/upgrade/
|
||||||
|
|
||||||
# Install files
|
# Install files
|
||||||
VERSION=$(cat /opt/upgrade/out/rootfs_*/usr/share/mynode/version)
|
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
|
rsync -r -K /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1
|
||||||
else
|
else
|
||||||
cp -rf /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1
|
cp -rf /opt/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user