summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2019-03-17 14:05:43 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2019-03-17 14:14:56 +0000
commitc77e23e522998f725952da34b214ccea3c1a10d5 (patch)
treed716eec9bf9dde07a8f0bc73ac503fe2fb5a55a0 /lib/MGA/DrakISO
parent3d2aae54d5df4831e88b386275bf62aac368b8a0 (diff)
downloaddrakiso-c77e23e522998f725952da34b214ccea3c1a10d5.tar
drakiso-c77e23e522998f725952da34b214ccea3c1a10d5.tar.gz
drakiso-c77e23e522998f725952da34b214ccea3c1a10d5.tar.bz2
drakiso-c77e23e522998f725952da34b214ccea3c1a10d5.tar.xz
drakiso-c77e23e522998f725952da34b214ccea3c1a10d5.zip
Fix ownership of dummy root directory (mga#24501)
systemd 240 introduces a new requirement that the root directory must be owned by root.
Diffstat (limited to 'lib/MGA/DrakISO')
-rw-r--r--lib/MGA/DrakISO/BuildRoot.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm
index fe248ba..b4078d9 100644
--- a/lib/MGA/DrakISO/BuildRoot.pm
+++ b/lib/MGA/DrakISO/BuildRoot.pm
@@ -76,6 +76,7 @@ sub install_live_system {
run_as_root('rm', '-rf', $live_root);
}
mkdir_p($live_root);
+ run_as_root('chown', 'root.root', $live_root);
my $Xserver_pid;
my $error_message;