On Thu, 08 Jul 2010 12:03:39 -0400 (EDT), Michael Prokop wrote:
>
> For MODULES=dep we use modprobe as interface to detect dependencies.
> To display the dependencies of dasd_eckd_mod you could run:
>
> modprobe --set-version="$(uname -r)" --ignore-install --quiet --show-depends
> dasd_eckd_mod | awk '/^insmod/ { print $2 }'
>
> which will not list dasd_diag_mod as a dependency AFAICS.
Output of the above command on my system:
/lib/modules/2.6.32-custom5b-s390x/kernel/drivers/s390/block/dasd_mod.ko
/lib/modules/2.6.32-custom5b-s390x/kernel/drivers/s390/block/dasd_eckd_mod.ko
In other words, it list only the module itself plus hard dependencies.
--
.''`. Stephen Powell
: :' :
`. `'`
`-
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive:
http://lists.debian.org/1294535410.43811.1278611163548.javamail.r...@md01.wow.synacor.com