summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2020-06-23 22:16:16 +0200
committerDavid Runge <dvzrv@archlinux.org>2020-06-23 22:16:16 +0200
commit839f74335bf855f87121f44363039cdb4e93a9d6 (patch)
treed21b5e6391b902875304174dabcc16dbabf049de
parent6bf452f56d9390da4a4418e1bd609f8c5c598c9c (diff)
downloadarchiso32-839f74335bf855f87121f44363039cdb4e93a9d6.tar.xz
Fixing ownership in airootfs customization
configs/releng/build.sh: Fixing wrong ownership of files when copying overlay modifications from the config's airootfs directory to the working directory in make_customize_airootfs() by using the cp flag '--no-preserve=ownership'. Thanks to Marcos Mello and Francois Dupoux of sysresccd (https://gitlab.com/fdupoux/sysresccd-src) for making this fix available. Closes #11
-rwxr-xr-xconfigs/releng/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index bd67554..adbfca2 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -95,7 +95,7 @@ make_setup_mkinitcpio() {
# Customize installation (airootfs)
make_customize_airootfs() {
- cp -af ${script_path}/airootfs ${work_dir}/x86_64
+ cp -af --no-preserve=ownership ${script_path}/airootfs ${work_dir}/x86_64
cp ${script_path}/pacman.conf ${work_dir}/x86_64/airootfs/etc