diff options
| author | maximilian attems <maks@debian.org> | 2006-01-14 17:40:23 +0100 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2006-01-14 17:40:23 +0100 |
| commit | 51aeb44deb330033ad26ffcb1494136a4d0fd159 (patch) | |
| tree | 5fc7b493914256f80d90f2a2d58ac39b90821d28 /hook-functions | |
| parent | bce0c73e77b777ef03894d703c727dbf4b0f4298 (diff) | |
| download | initramfs-tools-51aeb44deb330033ad26ffcb1494136a4d0fd159.tar.gz initramfs-tools-51aeb44deb330033ad26ffcb1494136a4d0fd159.zip | |
fix MODULES=dep due to modprobe --show-depends printing not only insmod commands but also the install ones.
Diffstat (limited to 'hook-functions')
| -rw-r--r-- | hook-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions index 9d0bc29..d3fe0a3 100644 --- a/hook-functions +++ b/hook-functions @@ -40,7 +40,7 @@ add_modules_from_file() manual_add_modules() { - for mam_x in $(modprobe --set-version="${version}" --show-depends "${1}" 2>/dev/null | awk '{ print $2 }'); do + for mam_x in $(modprobe --set-version="${version}" --show-depends "${1}" 2>/dev/null | awk '/^insmod/ { print $2 }'); do # Prune duplicates if [ -e "${DESTDIR}/${mam_x}" ]; then continue |
