diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-04-02 16:59:41 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-04-02 16:59:41 +0000 |
commit | 563658f7384bf9ff32ae74c8598044f35e05e016 (patch) | |
tree | fb93544ef677eb94f9f53385af3c016f5d6c5d1c /rescue | |
parent | cbcc426347090465871a5d05997bbf9aa81136f1 (diff) | |
download | drakx-563658f7384bf9ff32ae74c8598044f35e05e016.tar drakx-563658f7384bf9ff32ae74c8598044f35e05e016.tar.gz drakx-563658f7384bf9ff32ae74c8598044f35e05e016.tar.bz2 drakx-563658f7384bf9ff32ae74c8598044f35e05e016.tar.xz drakx-563658f7384bf9ff32ae74c8598044f35e05e016.zip |
fix pixelization (aka take advantage of all.kernels/.main)
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/make_rescue_img | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index 777ff286c..c100f9594 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -64,13 +64,10 @@ foreach (cat_("aliases")) { symlink $dest, "$tmp$f"; } -my @modulz = sort grep { -d $_ } glob("../all.modules/*"); -my $selected_mod = pop @modulz; -my ($kern) = $selected_mod =~ /.*\/([^\/]+)/; -print "\tChoosing kernel modules from $kern\n"; +chomp($main = `cat ../all.kernels/.main`); -_ "cp ../all.modules/modules.cz$kern $tmp/modules/modules.cz"; -_ "cp ../all.modules/$kern/modules.dep $tmp/modules"; +_ "cp ../all.modules/modules.cz-$main $tmp/modules/modules.cz"; +_ "cp ../all.modules/$main/modules.dep $tmp/modules"; installown("drvinst", "/usr/bin"); |