diff --git a/pmb/build/other.py b/pmb/build/other.py index 39b9ea1c276472f4a36e8708f7c9ce3ccc519f4a..9259979a7d82eeb8ee2a00c46450ccc2bcc0518e 100644 --- a/pmb/build/other.py +++ b/pmb/build/other.py @@ -86,8 +86,8 @@ def copy_to_buildpath(args, package, suffix="native"): if os.path.exists(build): pmb.chroot.root(args, ["rm", "-rf", "/home/pmos/build"], suffix) - # Copy aport contents - pmb.helpers.run.root(args, ["cp", "-r", aport + "/", build]) + # Copy aport contents with resolved symlinks + pmb.helpers.run.root(args, ["cp", "-rL", aport + "/", build]) pmb.chroot.root(args, ["chown", "-R", "pmos:pmos", "/home/pmos/build"], suffix)