diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-23 16:15:06 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-23 16:15:06 +0000 |
| commit | 7b6ad5b9fb0a004cba5a5ff59004aa795ddf0a87 (patch) | |
| tree | 999ea988606f1aefa0e1dd414b56b632d9b0718a /meta/packages/modutils | |
| parent | 75f3ca5abb0d7a476a8926f2007bf40782326ce5 (diff) | |
| download | poky-7b6ad5b9fb0a004cba5a5ff59004aa795ddf0a87.tar.gz | |
Fix postinstall scripts not to use IMAGE_ROOTFS direction by use D instead. Based on a patch from Carl Simonson <simonsonc@gmail.com>
Diffstat (limited to 'meta/packages/modutils')
| -rw-r--r-- | meta/packages/modutils/modutils_2.4.27.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/modutils/modutils_2.4.27.bb b/meta/packages/modutils/modutils_2.4.27.bb index 119e219f7f..a5a9231322 100644 --- a/meta/packages/modutils/modutils_2.4.27.bb +++ b/meta/packages/modutils/modutils_2.4.27.bb | |||
| @@ -3,7 +3,7 @@ DESCRIPTION = "These utilities are intended to make a Linux modular kernel \ | |||
| 3 | manageable for all users, administrators and distribution maintainers." | 3 | manageable for all users, administrators and distribution maintainers." |
| 4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
| 5 | DEPENDS = "bison-native" | 5 | DEPENDS = "bison-native" |
| 6 | PR = "r8" | 6 | PR = "r9" |
| 7 | 7 | ||
| 8 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/modutils/v2.4/modutils-${PV}.tar.bz2 \ | 8 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/modutils/v2.4/modutils-${PV}.tar.bz2 \ |
| 9 | file://lex.l.diff;patch=1 \ | 9 | file://lex.l.diff;patch=1 \ |
| @@ -40,9 +40,9 @@ done | |||
| 40 | if test -n "$D"; then | 40 | if test -n "$D"; then |
| 41 | D="-r $D" | 41 | D="-r $D" |
| 42 | if test -n "`which ${TARGET_PREFIX}depmod-2.4`"; then | 42 | if test -n "`which ${TARGET_PREFIX}depmod-2.4`"; then |
| 43 | for kerneldir in `ls -p ${IMAGE_ROOTFS}/lib/modules|grep /`; do | 43 | for kerneldir in `ls -p $D/lib/modules|grep /`; do |
| 44 | kernelver=`basename $kerneldir` | 44 | kernelver=`basename $kerneldir` |
| 45 | ${TARGET_PREFIX}depmod-2.4 -a -b ${IMAGE_ROOTFS} -C ${IMAGE_ROOTFS}/${sysconfdir}/modules.conf -r $kernelver | 45 | ${TARGET_PREFIX}depmod-2.4 -a -b $D -C ${IMAGE_ROOTFS}/${sysconfdir}/modules.conf -r $kernelver |
| 46 | done | 46 | done |
| 47 | fi | 47 | fi |
| 48 | fi | 48 | fi |
