Merge branch 'copytree-symlinks' into 'main'
imagectl: Copy symlinks as symlinks for manifests See merge request fedora/bootc/base-images!101
This commit is contained in:
commit
b4469c1f50
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ def run_build_rootfs(args):
|
|||
for d in [MANIFESTDIR]:
|
||||
dst = path.join(target, d)
|
||||
print(f"Copying /{d} to {dst}")
|
||||
shutil.copytree('/' + d, dst)
|
||||
shutil.copytree('/' + d, dst, symlinks=True)
|
||||
for f in ['usr/libexec/bootc-base-imagectl']:
|
||||
dst = path.join(target, f)
|
||||
print(f"Copying /{f} to {dst}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue