diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2005-03-25 16:15:21 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2005-03-25 16:15:21 +0000 |
commit | bff9df2cb21542c19f6974029e75fceaba56884c (patch) | |
tree | ae2425931d6391a53c31bb38db6041d683fcee2d /rescue/make_rescue_img | |
parent | 723238c51a08a914f7ae123d0e806a1a10ab266b (diff) | |
download | drakx-bff9df2cb21542c19f6974029e75fceaba56884c.tar drakx-bff9df2cb21542c19f6974029e75fceaba56884c.tar.gz drakx-bff9df2cb21542c19f6974029e75fceaba56884c.tar.bz2 drakx-bff9df2cb21542c19f6974029e75fceaba56884c.tar.xz drakx-bff9df2cb21542c19f6974029e75fceaba56884c.zip |
take care of lib64 platforms, also add msboot restorer to x86_64 tree
Diffstat (limited to 'rescue/make_rescue_img')
-rwxr-xr-x | rescue/make_rescue_img | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index 6b79edcf4..32a5f1417 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -32,7 +32,7 @@ sub install_l { @l = uniq(map { chomp_($_) } @l); push @l, - `ldd @l 2>/dev/null | grep "=>" | perl -pe 's/.*=> //; s/ .*//; s,^/lib/.*?/,/lib/,'`; + `ldd @l 2>/dev/null | grep "=>" | perl -pe 's/.*=> //; s/ .*//; s,^/(lib|lib64)/.*?/,/\\1/,'`; my ($deref, $raw) = partition { /lib.*\.so/ || readlink("/$_") =~ m|/etc/alternatives| } uniq(map { chomp_($_) } @l); install_raw(@$raw); @@ -100,7 +100,7 @@ _ "cp ../kernel/all.kernels/$main/modules.{cz,dep} $tmp/modules"; installown("drvinst", "/usr/bin"); installown("guessmounts", "/usr/bin"); installown("install_bootloader", "/usr/bin"); -if (arch() =~ /^i.86/) { +if (arch() =~ /^i.86|x86_64/) { installown("restore_ms_boot", "/usr/bin"); } installown("lsparts", "/usr/bin"); |