Skip to content

Fix #271: properly resolve symlinks in all paths

Administrator requested to merge fix/271-properly-resolve-paths into master

Created by: ollieparanoid

I've replaced all instances in the code of os.path.abspath with os.path.realpath, as this does the same as abspath plus resolving symlinks. Source: https://stackoverflow.com/a/40311142

How to test this PR

  • Create symlinks in the path to your work folder
  • pmbootstrap zap -p
  • pmbootstrap install
  • Test if the timestamp based rebuilds feature still works: change a comment in aports/main/hello-world/APKBUILD and run pmbootstrap install again. The aport should get rebuilt and updated in the device rootfs chroot.

Merge request reports

Loading