summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-26 16:48:30 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-26 16:48:30 +0000
commit6dbd6e6db0495ddd9774f20f0fb3c239b15e13a2 (patch)
tree334db31f66a0407bb640b510f789e24ea8295dde /perl-install/install_any.pm
parenta58f7bf96be7dbd8b4b59a01fc81c31a7a4d6dc0 (diff)
downloaddrakx-6dbd6e6db0495ddd9774f20f0fb3c239b15e13a2.tar
drakx-6dbd6e6db0495ddd9774f20f0fb3c239b15e13a2.tar.gz
drakx-6dbd6e6db0495ddd9774f20f0fb3c239b15e13a2.tar.bz2
drakx-6dbd6e6db0495ddd9774f20f0fb3c239b15e13a2.tar.xz
drakx-6dbd6e6db0495ddd9774f20f0fb3c239b15e13a2.zip
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm9
1 files changed, 7 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index dbacd6e12..52731da54 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -128,6 +128,7 @@ sub setPackages($) {
push @{$o->{base}}, "kernel-smp" if detect_devices::hasSMP();
push @{$o->{base}}, "kernel-pcmcia-cs" if $o->{pcmcia};
push @{$o->{base}}, "raidtools" if !is_empty_hash_ref($o->{raid});
+ push @{$o->{base}}, "nfs-utils-clients" if $o->{method} eq "nfs";
grep { !$o->{packages}{$_} && log::l("missing base package $_") } @{$o->{base}} and die "missing some base packages";
} else {
@@ -394,7 +395,11 @@ sub g_auto_install(;$) {
my @fields = qw(mntpoint type size);
$o->{partitions} = [ map { my %l; @l{@fields} = @$_{@fields}; \%l } grep { $_->{mntpoint} } @{$::o->{fstab}} ];
- exists $::o->{$_} and $o->{$_} = $::o->{$_} foreach qw(lang autoSCSI authentication printer mouse netc timezone superuser intf keyboard mkbootdisk base users installClass partitioning isUpgrade X manualFstab nomouseprobe); #- TODO modules bootloader
+ exists $::o->{$_} and $o->{$_} = $::o->{$_} foreach qw(lang autoSCSI authentication printer mouse netc timezone superuser intf keyboard mkbootdisk base users installClass partitioning isUpgrade manualFstab nomouseprobe); #- TODO modules bootloader
+
+ my $card = $::o->{X}{card};
+ $o->{X}{card}{$_} = $card->{$_} foreach qw(default_depth);
+ $o->{X}{card}{resolution_wanted} = join "x", @{$card->{depth}{$card->{default_depth}}[0]};
#- local $o->{partitioning}{clearall} = 1;
@@ -451,7 +456,7 @@ sub fsck_option() {
sub install_urpmi {
my ($prefix, $method) = @_;
- (my $name = _("installation_cd")) =~ s/\s/_/g; #- in case translators are too good :-/
+ (my $name = _("installation")) =~ s/\s/_/g; #- in case translators are too good :-/
my $f = "$prefix/etc/urpmi/hdlist.$name";
{