From 563658f7384bf9ff32ae74c8598044f35e05e016 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 2 Apr 2001 16:59:41 +0000 Subject: fix pixelization (aka take advantage of all.kernels/.main) --- rescue/make_rescue_img | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'rescue') 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"); -- cgit v1.2.1