summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) = @_;