When copying aports to chroots, resolve symlinks
When doing it this way, we can share patches between kernels the aports (pmaports!35, pmaports#95).
This commit is contained in:
parent
09fcdba597
commit
46d7891a22
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue