From 63555aa270059488b013e6c802cca64a8d6eebdc Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Tue, 9 Jan 2018 23:17:35 +0000 Subject: draklive: allow installer GUI to be used and run as normal user. Read all configuration from the main config file and automatically generate the auto_inst.cfg.pl file. Run the installer GUI in a nested X server if any items are not specified in the config file. Use sudo to run any steps that need root privileges, to avoid running the X server as root. --- lib/MGA/DrakISO/Config.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/MGA/DrakISO/Config.pm') diff --git a/lib/MGA/DrakISO/Config.pm b/lib/MGA/DrakISO/Config.pm index d88df90..a3d0511 100644 --- a/lib/MGA/DrakISO/Config.pm +++ b/lib/MGA/DrakISO/Config.pm @@ -74,8 +74,7 @@ sub complete_config { $build->{settings}{arch} ||= chomp_(`rpm --eval '%{_target_cpu}'`); mkdir_p($build->get_builddir); - mkdir_p($build->get_system_root); - $build->{mnt} ||= $build->get_builddir('/mnt'); + mkdir_p($build->get_chroot_dir); } sub dump_config { -- cgit v1.2.1