wok-6.x diff linux-tickless/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 9a58fb34a5ac
children
line diff
     1.1 --- a/linux-tickless/receipt	Sun Mar 08 15:41:12 2009 +0000
     1.2 +++ b/linux-tickless/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="linux"
     1.8  BUILD_DEPENDS="slitaz-toolchain perl"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  SOURCE="linux"
    1.11 @@ -82,7 +83,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 ("`