From 766198e9b35460e05c9da2ed9b4d1d314e5f0c7b Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 13 Feb 2001 14:43:10 +0000 Subject: include libs for hostname resolving --- rescue/list | 3 +++ rescue/make_rescue_img | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'rescue') 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) = @_; -- cgit v1.2.1