wok diff linux/receipt @ rev 2926

linux modules depends on depmod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 07 09:37:08 2009 +0200 (2009-05-07)
parents c841c994fce5
children 9059daaaa23d
line diff
     1.1 --- a/linux/receipt	Mon Apr 27 13:47:44 2009 +0200
     1.2 +++ b/linux/receipt	Thu May 07 09:37:08 2009 +0200
     1.3 @@ -4,6 +4,7 @@
     1.4  VERSION="2.6.25.5"
     1.5  CATEGORY="base-system"
     1.6  SHORT_DESC="The Linux kernel and modules."
     1.7 +DEPENDS="depmod"
     1.8  BUILD_DEPENDS="slitaz-toolchain perl"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11 @@ -89,7 +90,7 @@
    1.12  post_install()
    1.13  {
    1.14      echo "Processing post-install commands..."
    1.15 -    depmod -a -b "$1/" $VERSION-slitaz
    1.16 +    chroot "$1/" depmod -a $VERSION-slitaz
    1.17      if [ -f "$1/boot/grub/menu.lst" ]; then
    1.18      	root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/'`
    1.19  		grub_dev=`cat $1/boot/grub/menu.lst | grep "root ("`