make sure the root filesystem is owned by root
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
d320406c93
commit
55cdc1e9bc
@ -217,6 +217,7 @@ _mkairootfs_img () {
|
|||||||
_mount_airootfs
|
_mount_airootfs
|
||||||
_msg_info "Copying '${work_dir}/airootfs/' to '${work_dir}/mnt/airootfs/'..."
|
_msg_info "Copying '${work_dir}/airootfs/' to '${work_dir}/mnt/airootfs/'..."
|
||||||
cp -aT "${work_dir}/airootfs/" "${work_dir}/mnt/airootfs/"
|
cp -aT "${work_dir}/airootfs/" "${work_dir}/mnt/airootfs/"
|
||||||
|
chown root:root "${work_dir}/mnt/airootfs/"
|
||||||
_msg_info "Done!"
|
_msg_info "Done!"
|
||||||
_umount_airootfs
|
_umount_airootfs
|
||||||
mkdir -p "${work_dir}/iso/${install_dir}/${arch}"
|
mkdir -p "${work_dir}/iso/${install_dir}/${arch}"
|
||||||
|
Loading…
Reference in New Issue
Block a user