summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_local-includes
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2008-10-12 13:46:28 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:42 +0100
commitd9810a364404c6b317287979b15d3b83389bdd64 (patch)
treea251187ae0d65a05527955aa0f0783f5b5443a26 /helpers/lh_chroot_local-includes
parent2722cbb7095cfd8fdc2bf1cb0fad448883a531bd (diff)
downloadvyos-live-build-d9810a364404c6b317287979b15d3b83389bdd64.tar.gz
vyos-live-build-d9810a364404c6b317287979b15d3b83389bdd64.zip
Ensure all files installed via chroot_local-includes are owned by root:root. Thanks to Julien Cristau <jcristau@debian.org>.
This may cause problems for users who are relying on the target uid and gid of the files in the build system's config/chroot_local-includes being the same on the live image.
Diffstat (limited to 'helpers/lh_chroot_local-includes')
-rwxr-xr-xhelpers/lh_chroot_local-includes2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_local-includes b/helpers/lh_chroot_local-includes
index c1308e1b3..ecb68c777 100755
--- a/helpers/lh_chroot_local-includes
+++ b/helpers/lh_chroot_local-includes
@@ -46,7 +46,7 @@ if Find_files config/chroot_local-includes/
then
# Copying includes
cd config/chroot_local-includes
- find . | cpio -dmpu "${OLDPWD}"/chroot
+ find . | cpio -dmpu --no-preserve-owner "${OLDPWD}"/chroot
cd "${OLDPWD}"
# Creating stage file