summaryrefslogtreecommitdiff
path: root/config/chroot_local-includes/usr/share/initramfs-tools/hooks/pcidetect
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/usr/share/initramfs-tools/hooks/pcidetect')
-rwxr-xr-xconfig/chroot_local-includes/usr/share/initramfs-tools/hooks/pcidetect24
1 files changed, 24 insertions, 0 deletions
diff --git a/config/chroot_local-includes/usr/share/initramfs-tools/hooks/pcidetect b/config/chroot_local-includes/usr/share/initramfs-tools/hooks/pcidetect
new file mode 100755
index 0000000..0af110b
--- /dev/null
+++ b/config/chroot_local-includes/usr/share/initramfs-tools/hooks/pcidetect
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+set -e
+
+PREREQ=""
+
+prereqs()
+{
+ echo "${PREREQ}"
+}
+
+case "${1}" in
+ prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+. /usr/share/initramfs-tools/hook-functions
+
+copy_exec /lib/libresolv* /lib
+copy_exec /usr/lib/libpci.so.* /lib
+copy_exec /usr/bin/lspci /bin
+