From fab55218350f8d20a5a54bddaf8533f9f86fc6a5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 4 Jul 2002 21:54:33 +0000 Subject: adapt to the move all.modules -> kernel/all.modules and all.kernels -> kernel/all.kernels --- rescue/make_rescue_img | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'rescue/make_rescue_img') diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index 87ea8f870..1e44e379d 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -88,10 +88,12 @@ foreach (cat_("aliases")) { symlink $dest, "$tmp$f"; } -chomp($main = `cat ../all.kernels/.main`); +-e "../kernel/all.modules" or die "use ./update_kernel in gi/kernel first\n"; -_ "cp ../all.modules/modules.cz-$main $tmp/modules/modules.cz"; -_ "cp ../all.modules/$main/modules.dep $tmp/modules"; +chomp($main = `cat ../kernel/all.kernels/.main`); + +_ "cp ../kernel/all.modules/modules.cz-$main $tmp/modules/modules.cz"; +_ "cp ../kernel/all.modules/$main/modules.dep $tmp/modules"; installown("drvinst", "/usr/bin"); installown("guessmounts", "/usr/bin"); -- cgit v1.2.1