FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 09-25-2011, 09:15 PM
Ben Hutchings
 
Default Set $PATH for depmod

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
 

Thread Tools




All times are GMT. The time now is 12:35 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org