wok-current diff squashfs/receipt @ rev 242
Shfs & squashfs : check linux cooked
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 14:40:48 2008 +0100 (2008-02-18) |
parents | 88157e3ce9ac |
children | f1a4f0123071 |
line diff
1.1 --- a/squashfs/receipt Mon Feb 18 00:24:44 2008 +0100 1.2 +++ b/squashfs/receipt Mon Feb 18 14:40:48 2008 +0100 1.3 @@ -18,6 +18,9 @@ 1.4 local patch_dir 1.5 1.6 # get kernel version 1.7 + if [ ! -d ../linux/taz ]; then 1.8 + tazwok cook linux 1.9 + fi 1.10 kver=$(grep "kernel version" ../linux/linux-*/.config) 1.11 kver=${kver##* } 1.12 1.13 @@ -75,8 +78,13 @@ 1.14 strip -s $fs/usr/sbin/* 1.15 } 1.16 1.17 -# Pre and post install commands for Tazpkg. 1.18 +# Post install/remove commands for Tazpkg. 1.19 post_install() 1.20 { 1.21 depmod -a 1.22 } 1.23 + 1.24 +post_remove() 1.25 +{ 1.26 + depmod -a 1.27 +}