depmod is currently installed in /sbin, which may not be included in $PATH. Add /usr/sbin and /sbin when invoking depmod. --- commands/copy-modules | 4 +++- debian/changelog | 2 ++ 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/commands/copy-modules b/commands/copy-modules index c988827..875d81f 100755 --- a/commands/copy-modules +++ b/commands/copy-modules @@ -116,7 +116,9 @@ if [ "$os" = "linux" ] ; then modulesdep=$moddir/modules.dep else modulesdep=$tmpdir/modules.dep - depmod ${SOURCEDIR:+-b $SOURCEDIR} $installedname -n >$modulesdep + PATH="/usr/sbin:/sbin:$PATH" depmod \ + ${SOURCEDIR:+-b $SOURCEDIR} $installedname -n \ + >$modulesdep fi # get module dependencies from modules.dep diff --git a/debian/changelog b/debian/changelog index c99837b..9011fe3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ kernel-wedge (2.80) UNRELEASED; urgency=low [ Ben Hutchings ] * Set 'join' output format for module dependencies and exclusions, for compatibility with coreutils 8.13 + * Fix bugs in support for use in kernel source packages: + - Set $PATH for depmod -- Ben Hutchings <ben@decadent.org.uk> Sun, 25 Sep 2011 21:36:51 +0100 -- 1.7.5.4
Attachment:
signature.asc
Description: This is a digitally signed message part