mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-23 21:18:07 +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!
|
||||
|
||||
# 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}/* /
|
||||
else
|
||||
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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user