summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2019-01-08 12:05:54 +0100
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2019-01-09 15:01:51 -0300
commit55cdc1e9bc2b2d56509c3d238f3f19e9822fd976 (patch)
tree5dff87e7fd267879c08a47d187333ffc49ff83db /archiso
parentd320406c9319654c7e0c78ebf2045d662871e430 (diff)
downloadarchiso32-55cdc1e9bc2b2d56509c3d238f3f19e9822fd976.tar.xz
make sure the root filesystem is owned by root
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 4d4db50..72a6e32 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -217,6 +217,7 @@ _mkairootfs_img () {
_mount_airootfs
_msg_info "Copying '${work_dir}/airootfs/' to '${work_dir}/mnt/airootfs/'..."
cp -aT "${work_dir}/airootfs/" "${work_dir}/mnt/airootfs/"
+ chown root:root "${work_dir}/mnt/airootfs/"
_msg_info "Done!"
_umount_airootfs
mkdir -p "${work_dir}/iso/${install_dir}/${arch}"