summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm2
-rw-r--r--installer/OpenSLX/OSSetup/MetaPackager/apt.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
index 438ffd6b..6dd99e06 100644
--- a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
@@ -35,7 +35,7 @@ sub preSystemInstallationHook
#
# in order to circumvent this problem, we manually install initrd-tools
# (which contains mkinitrd) ...
- slxsystem("apt-get install initrd-tools");
+ $self->{engine}->{'meta-packager'}->installSelection('initrd-tools');
# ... and replace /usr/sbin/mkinitrd with a dummy, in order to skip the
# initrd-creation.
rename('/usr/sbin/mkinitrd', '/usr/sbin/_mkinitrd');
diff --git a/installer/OpenSLX/OSSetup/MetaPackager/apt.pm b/installer/OpenSLX/OSSetup/MetaPackager/apt.pm
index 2fee5f7e..ba9c6722 100644
--- a/installer/OpenSLX/OSSetup/MetaPackager/apt.pm
+++ b/installer/OpenSLX/OSSetup/MetaPackager/apt.pm
@@ -92,7 +92,7 @@ sub installSelection
my $self = shift;
my $pkgSelection = shift;
- if (slxsystem("apt-get update")) {
+ if (slxsystem("apt-get -y update")) {
die _tr("unable to update repository info (%s)\n", $!);
}
if (slxsystem("apt-get -y install $pkgSelection")) {