summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_chroot_apt4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_apt b/scripts/build/lb_chroot_apt
index f981c5298..95c6159cc 100755
--- a/scripts/build/lb_chroot_apt
+++ b/scripts/build/lb_chroot_apt
@@ -117,7 +117,7 @@ case "${1}" in
mv chroot/etc/apt/preferences.d/$(basename ${_FILE}) chroot/etc/apt/preferences.d/$(basename ${_FILE}).orig
fi
- cp ${_FILE} chroot/etc/apt/preferences.d
+ cp -aL ${_FILE} chroot/etc/apt/preferences.d
done
fi
@@ -270,7 +270,7 @@ EOF
mv chroot/etc/apt/preferences.d/$(basename ${_FILE}) chroot/etc/apt/preferences.d/$(basename ${_FILE}).orig
fi
- cp ${_FILE} chroot/etc/apt/preferences.d
+ cp -aL ${_FILE} chroot/etc/apt/preferences.d
if [ -f chroot/etc/apt/preferences.d/$(basename ${_FILE}) ]
then