make sure the root filesystem is owned by root

Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
Christian Hesse 2019-01-08 12:05:54 +01:00 committed by Gerardo Exequiel Pozzi
parent d320406c93
commit 55cdc1e9bc

View File

@ -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}"