From 3b588ebb600704b6f86c25954eb47221aac8af2a Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 28 Oct 2018 22:44:35 +0000 Subject: drakx-in-chroot: allow monitor-edid to be suppressed in package scriptlets. mageia-theme runs monitor-edid in its post-install scriptlet, but this can hang indefinitely when run in a nested X session. So add a LOCAL_INSTALL environment variable to flag this case. --- perl-install/install/steps.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/install/steps.pm') diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm index 7d3a5a67f..91e90e042 100644 --- a/perl-install/install/steps.pm +++ b/perl-install/install/steps.pm @@ -436,6 +436,7 @@ sub installPackages { my $time = time(); { local $ENV{DURING_INSTALL} = 1; + local $ENV{LOCAL_INSTALL} = 1 if $::local_install; local $ENV{TMPDIR} = '/tmp'; local $ENV{TMP} = '/tmp'; local $ENV{HOME}; -- cgit v1.2.1