wok-next diff cookutils/receipt @ rev 13727
busybox: error free nfs-segfault.u
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Dec 21 15:52:12 2012 +0000 (2012-12-21) |
parents | 7449759b1941 |
children | 22d2275b30ec |
line diff
1.1 --- a/cookutils/receipt Sun May 13 16:00:53 2012 +0200 1.2 +++ b/cookutils/receipt Fri Dec 21 15:52:12 2012 +0000 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 +}