Skip to content
Snippets Groups Projects
Unverified Commit 46d7891a authored by Oliver Smith's avatar Oliver Smith
Browse files

When copying aports to chroots, resolve symlinks

When doing it this way, we can share patches between kernels the aports
(pmaports!35, pmaports#95).
parent 09fcdba5
No related branches found
No related tags found
1 merge request!1702aportgen linux: make compatible with GCC8
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment