summaryrefslogtreecommitdiff
path: root/components/chroot_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'components/chroot_hooks')
-rwxr-xr-xcomponents/chroot_hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/chroot_hooks b/components/chroot_hooks
index d27d7ecc7..cf000cd95 100755
--- a/components/chroot_hooks
+++ b/components/chroot_hooks
@@ -84,7 +84,7 @@ def main():
if verbose:
print('I: Copying config/hooks/*.hook.chroot to chroot/live-build')
- os.link(hook, os.path.join('chroot/live-build/' + os.path.basename(hook)), follow_symlinks=True)
+ shutil.copy(hook, os.path.join('chroot/live-build/' + os.path.basename(hook)), follow_symlinks=True)
if verbose:
print('I: Executing \' ' + hook + '\'')