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/LiveBuild.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/MGA/DrakISO/LiveBuild.pm') diff --git a/lib/MGA/DrakISO/LiveBuild.pm b/lib/MGA/DrakISO/LiveBuild.pm index 8b61601..c41618b 100644 --- a/lib/MGA/DrakISO/LiveBuild.pm +++ b/lib/MGA/DrakISO/LiveBuild.pm @@ -55,6 +55,11 @@ sub get_langs { ); } +sub get_system_root { + my ($build) = @_; + $build->get_builddir('root'); +} + sub find_kernel { my ($build) = @_; require bootloader; -- cgit v1.2.1