summaryrefslogtreecommitdiffstats
path: root/rescue/make_rescue_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-04 21:54:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-04 21:54:33 +0000
commitfab55218350f8d20a5a54bddaf8533f9f86fc6a5 (patch)
tree438400201bcf8ee5c7cbc94e134418c4bd21b92c /rescue/make_rescue_img
parent3b1a99a97217243630cd7d92f0547f541e48b55e (diff)
downloaddrakx-backup-do-not-use-fab55218350f8d20a5a54bddaf8533f9f86fc6a5.tar
drakx-backup-do-not-use-fab55218350f8d20a5a54bddaf8533f9f86fc6a5.tar.gz
drakx-backup-do-not-use-fab55218350f8d20a5a54bddaf8533f9f86fc6a5.tar.bz2
drakx-backup-do-not-use-fab55218350f8d20a5a54bddaf8533f9f86fc6a5.tar.xz
drakx-backup-do-not-use-fab55218350f8d20a5a54bddaf8533f9f86fc6a5.zip
adapt to the move all.modules -> kernel/all.modules and all.kernels -> kernel/all.kernels
Diffstat (limited to 'rescue/make_rescue_img')
-rwxr-xr-xrescue/make_rescue_img8
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");