diff options
Diffstat (limited to 'installer/OpenSLX/OSSetup/Distro/SUSE.pm')
-rw-r--r-- | installer/OpenSLX/OSSetup/Distro/SUSE.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE.pm b/installer/OpenSLX/OSSetup/Distro/SUSE.pm index 00cd4bc4..2ea20fc3 100644 --- a/installer/OpenSLX/OSSetup/Distro/SUSE.pm +++ b/installer/OpenSLX/OSSetup/Distro/SUSE.pm @@ -38,7 +38,13 @@ sub initialize $self->SUPER::initialize($engine); $self->{'packager-type'} = 'rpm'; $self->{'meta-packager-type'} = $ENV{SLX_META_PACKAGER} || 'smart'; - $ENV{YAST_IS_RUNNING} = "instsys"; + + if ($engine->{'action-type'} eq 'install') { + # Inform SUSE RPMs that we're performing an installation - this is + # only important for installations taking place in stage 1c: + $ENV{YAST_IS_RUNNING} = "instsys"; + } + return; } |