diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-13 13:30:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-13 13:30:37 +0000 |
commit | 5ad0ed55d7a51db8301f44ed2bafdd48c0682e4c (patch) | |
tree | bd51eab841234881b3a8923aa21f63909dc0bb00 /perl-install/install_steps.pm | |
parent | b95c12f4cff7dc36b247391348d2781e70fad29c (diff) | |
download | drakx-5ad0ed55d7a51db8301f44ed2bafdd48c0682e4c.tar drakx-5ad0ed55d7a51db8301f44ed2bafdd48c0682e4c.tar.gz drakx-5ad0ed55d7a51db8301f44ed2bafdd48c0682e4c.tar.bz2 drakx-5ad0ed55d7a51db8301f44ed2bafdd48c0682e4c.tar.xz drakx-5ad0ed55d7a51db8301f44ed2bafdd48c0682e4c.zip |
no_comment
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 9de509b72..298189c21 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -15,14 +15,12 @@ use detect_devices; use modules; use run_program; use lang; -use raid; use keyboard; -use log; use fsedit; use loopback; -use commands; -use network; +#use commands; use any; +use log; use fs; @filesToSaveForUpgrade = qw( @@ -291,6 +289,7 @@ sub beforeInstallPackages { $::live or fs::write($o->{prefix}, $o->{fstab}, $o->{manualFstab}, $o->{useSupermount}); log::l("before install packages, after adding localhost in hosts"); + require network; network::add2hosts("$o->{prefix}/etc/hosts", "localhost.localdomain", "127.0.0.1"); log::l("before openning database"); @@ -502,6 +501,7 @@ sub selectMouse($) { #------------------------------------------------------------------------------ sub configureNetwork { my ($o) = @_; + require network; network::configureNetwork2($o->{prefix}, $o->{netc}, $o->{intf}); } @@ -629,6 +629,7 @@ sub addUser($) { chmod $mode, "$p$u->{home}"; } } + require commands; eval { commands::chown_("-r", "$u->{uid}.$u->{gid}", "$p$u->{home}") } if $u->{uid} != $u->{oldu} || $u->{gid} != $u->{oldg}; } @@ -736,6 +737,7 @@ sub configureXBefore { my ($o) = @_; my $xkb = $o->{X}{keyboard}{xkb_keymap} || keyboard::keyboard2xkb($o->{keyboard}); if (!-e "$o->{prefix}/usr/X11R6/lib/X11/xkb/symbols/$xkb" && (my $f = keyboard::xmodmap_file($o->{keyboard}))) { + require commands; commands::cp("-f", $f, "$o->{prefix}/etc/X11/xinit/Xmodmap"); $xkb = ''; } |