diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-04 21:54:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-04 21:54:33 +0000 |
commit | fab55218350f8d20a5a54bddaf8533f9f86fc6a5 (patch) | |
tree | 438400201bcf8ee5c7cbc94e134418c4bd21b92c /rescue | |
parent | 3b1a99a97217243630cd7d92f0547f541e48b55e (diff) | |
download | drakx-fab55218350f8d20a5a54bddaf8533f9f86fc6a5.tar drakx-fab55218350f8d20a5a54bddaf8533f9f86fc6a5.tar.gz drakx-fab55218350f8d20a5a54bddaf8533f9f86fc6a5.tar.bz2 drakx-fab55218350f8d20a5a54bddaf8533f9f86fc6a5.tar.xz drakx-fab55218350f8d20a5a54bddaf8533f9f86fc6a5.zip |
adapt to the move all.modules -> kernel/all.modules and all.kernels -> kernel/all.kernels
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/make_rescue_img | 8 |
1 files changed, 5 insertions, 3 deletions
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"); |