summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-02-13 14:43:10 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-02-13 14:43:10 +0000
commit766198e9b35460e05c9da2ed9b4d1d314e5f0c7b (patch)
tree1e46290fd77ddd4217045aea1ffab3e88cab203c /rescue
parent1e20915ac8e69b0ffa44f1e16bf322ec70d07ae8 (diff)
downloaddrakx-backup-do-not-use-766198e9b35460e05c9da2ed9b4d1d314e5f0c7b.tar
drakx-backup-do-not-use-766198e9b35460e05c9da2ed9b4d1d314e5f0c7b.tar.gz
drakx-backup-do-not-use-766198e9b35460e05c9da2ed9b4d1d314e5f0c7b.tar.bz2
drakx-backup-do-not-use-766198e9b35460e05c9da2ed9b4d1d314e5f0c7b.tar.xz
drakx-backup-do-not-use-766198e9b35460e05c9da2ed9b4d1d314e5f0c7b.zip
include libs for hostname resolving
Diffstat (limited to 'rescue')
-rw-r--r--rescue/list3
-rwxr-xr-xrescue/make_rescue_img2
2 files changed, 4 insertions, 1 deletions
diff --git a/rescue/list b/rescue/list
index cd90bc14e..8ad89d58b 100644
--- a/rescue/list
+++ b/rescue/list
@@ -134,4 +134,7 @@
/usr/share/pci.ids
/usr/bin/lspcidrake
/usr/share/ldetect-lst/pcitable
+/usr/share/ldetect-lst/usbtable
/bin/vim-minimal
+/lib/libnss_dns.so.2
+/lib/libresolv.so.2
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img
index 8d35efe5a..e26f57d18 100755
--- a/rescue/make_rescue_img
+++ b/rescue/make_rescue_img
@@ -28,8 +28,8 @@ sub install_ {
commands::mkdir_("-p", "$tmp$d") unless -d "$tmp$d";
_ "$sudo cp $_[1] $_[0] $tmp$d";
}
-sub install { install_($_[0], "-a") }
sub install_lib { install_($_[0], "") }
+sub install { grep {/lib\w+.so/} @_ and install_lib(@_) or install_($_[0], "-a") }
sub installown($$) {
my ($own, $dir) = @_;