Skip to content

Commit

Permalink
Merge pull request #2141 from rancher-sandbox/apk-fix
Browse files Browse the repository at this point in the history
Reinstall apk packages on reboot
  • Loading branch information
AkihiroSuda authored Jan 16, 2024
2 parents cfd5a90 + b58f083 commit de7175d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,6 @@ if [ "$(awk '$2 == "/" {print $3}' /proc/mounts)" == "tmpfs" ]; then
done
# Make sure to re-mount any mount points under /tmp
mount -a
# Reinstall packages from /mnt/data/apk/cache into the RAM disk
apk fix --no-network
fi

0 comments on commit de7175d

Please sign in to comment.