diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2008-08-07 22:45:40 +0300 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2008-08-12 11:16:01 +0200 |
commit | e0d242989d3ceb6cf8747c07d916e0fa854a810c (patch) | |
tree | 8dc5d4ccbc1aecf477101454839dff15b394d050 /hook-functions | |
parent | e45c4b24062a490d01c8a3556f09d140bf1a88fe (diff) | |
download | initramfs-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-functions | 1 |
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))" |