summaryrefslogtreecommitdiff
path: root/config/chroot_local-includes/usr/share/initramfs-tools/hooks/pcidetect
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-03-04 12:01:50 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2011-03-04 12:01:50 +0100
commit31ad8ce7130bb732ee7e0b7cd1f8f0b47d93e8ed (patch)
tree021bc5af67527faf538a0a7ddeb2fe6f12ead373 /config/chroot_local-includes/usr/share/initramfs-tools/hooks/pcidetect
parentabd81c507273d1820d00d545c0ac9099998d4510 (diff)
parent4b0deb206a6497ab090190fbbdb0086645301b4f (diff)
downloadkanotix-31ad8ce7130bb732ee7e0b7cd1f8f0b47d93e8ed.zip
kanotix-31ad8ce7130bb732ee7e0b7cd1f8f0b47d93e8ed.tar.gz
Merge branch 'master' of ssh://home.acritox.de/data/git/kanotix
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
+