Fix some issues with Raspi4 ARM64 upgrades

This commit is contained in:
Taylor Helsper 2021-04-27 22:22:02 -05:00
parent e6941e9eb4
commit 4178b70836
2 changed files with 2 additions and 2 deletions

View File

@ -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}/* /

View File

@ -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