summaryrefslogtreecommitdiffstats
path: root/rescue/make_rescue_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-07-06 14:41:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-07-06 14:41:56 +0000
commit7b975041ea5dfe72e19f00bbf1237f8e3cb3e7f3 (patch)
treee614b7d77b8a30d60213f907ec891c619c3021b8 /rescue/make_rescue_img
parentd45baedc0a1cee278ceda95b77eb1762427bc89d (diff)
downloaddrakx-7b975041ea5dfe72e19f00bbf1237f8e3cb3e7f3.tar
drakx-7b975041ea5dfe72e19f00bbf1237f8e3cb3e7f3.tar.gz
drakx-7b975041ea5dfe72e19f00bbf1237f8e3cb3e7f3.tar.bz2
drakx-7b975041ea5dfe72e19f00bbf1237f8e3cb3e7f3.tar.xz
drakx-7b975041ea5dfe72e19f00bbf1237f8e3cb3e7f3.zip
no_comment
Diffstat (limited to 'rescue/make_rescue_img')
-rwxr-xr-xrescue/make_rescue_img8
1 files changed, 4 insertions, 4 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img
index ffe078992..32186628a 100755
--- a/rescue/make_rescue_img
+++ b/rescue/make_rescue_img
@@ -35,6 +35,10 @@ sub install_lib {
_ "$sudo rm -rf $tmp" if -e $tmp;
_ "mkdir $tmp";
_ 'find . -name "*~" | xargs rm -f';
+foreach (cat_("dirs")) {
+ chomp;
+ commands::mkdir_("-p", "$tmp$_");
+}
_ "cp -a tree/* $tmp";
_ "find $tmp -name 'CVS*' | xargs rm -rf";
_ "cd $tmp; mkdir -p lib tmp modules proc";
@@ -51,10 +55,6 @@ foreach (cat_("list"), cat_(`../tools/specific_arch list`)) {
install($_);
chomp, install_lib($_) foreach `ldd $_ 2>/dev/null | grep "=>" | sed -e 's/.*=> //' -e 's/ .*//'`;
}
-foreach (cat_("dirs")) {
- chomp;
- commands::mkdir_("-p", "$tmp$_");
-}
foreach (cat_("aliases")) {
chomp; my ($f, $dest) = split;
symlink $dest, "$tmp$f";