summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2008-08-07 22:45:40 +0300
committermaximilian attems <maks@debian.org>2008-08-12 11:16:01 +0200
commite0d242989d3ceb6cf8747c07d916e0fa854a810c (patch)
tree8dc5d4ccbc1aecf477101454839dff15b394d050 /hook-functions
parente45c4b24062a490d01c8a3556f09d140bf1a88fe (diff)
downloadinitramfs-tools-e0d242989d3ceb6cf8747c07d916e0fa854a810c.tar.gz
initramfs-tools-e0d242989d3ceb6cf8747c07d916e0fa854a810c.zip
MODULES=dep fix for Orion
Thanks to Kevin Price who sent me logs from the NSLU2, I know why it works there. The difference is that on the NSLU2 USB is a PCI device whereas on my Orion machine it's not. (closes: #494027)
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/hook-functions b/hook-functions
index 01f33c4..7d2e6da 100644
--- a/hook-functions
+++ b/hook-functions
@@ -189,6 +189,7 @@ sys_walk_mod_add()
device_path="$1"
while [ "${device_path}" != "/sys" ]; do
+ sys_walk_modalias ${device_path}
driver_path="$(readlink -f ${device_path}/driver)"
if [ -e "$driver_path" ]; then
module="$(basename $(readlink -f $driver_path))"