diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-10-28 22:44:35 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-10-29 21:58:02 +0000 |
commit | 3b588ebb600704b6f86c25954eb47221aac8af2a (patch) | |
tree | aa2d2d21aad5ca61e6dfd1429b169eefe2120ea8 /perl-install/install/steps.pm | |
parent | 6b0bd8855ac16e789ffee642bee85ba9d4fb69d7 (diff) | |
download | drakx-3b588ebb600704b6f86c25954eb47221aac8af2a.tar drakx-3b588ebb600704b6f86c25954eb47221aac8af2a.tar.gz drakx-3b588ebb600704b6f86c25954eb47221aac8af2a.tar.bz2 drakx-3b588ebb600704b6f86c25954eb47221aac8af2a.tar.xz drakx-3b588ebb600704b6f86c25954eb47221aac8af2a.zip |
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.
Diffstat (limited to 'perl-install/install/steps.pm')
-rw-r--r-- | perl-install/install/steps.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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}; |