wok-current diff cookutils/receipt @ rev 13585
sbxkb: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 06 12:55:04 2012 +0100 (2012-11-06) |
parents | 7449759b1941 |
children | 22d2275b30ec |
line diff
1.1 --- a/cookutils/receipt Sun May 13 16:00:53 2012 +0200 1.2 +++ b/cookutils/receipt Tue Nov 06 12:55:04 2012 +0100 1.3 @@ -27,3 +27,15 @@ 1.4 # Daemon goes in cookutils-deamon 1.5 rm -rf $fs/etc/init.d 1.6 } 1.7 + 1.8 +# Pre and post install commands for Tazpkg. 1.9 +post_install() 1.10 +{ 1.11 + case "$(cat $1/etc/hostname)" in 1.12 + tank*) 1.13 + if ! chroot $1/ tazpkg list | grep -q aufs ; then 1.14 + tazpkg get-install aufs --root=$1/ 1.15 + sed -i 's/LOAD_MODULES="/&aufs /' $1/etc/rcS.conf 1.16 + fi ;; 1.17 + esac 1.18 +}