wok diff cookutils/receipt @ rev 13484
up usbids (20120920)
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Oct 11 23:17:24 2012 +0000 (2012-10-11) |
parents | 7449759b1941 |
children | 22d2275b30ec |
line diff
1.1 --- a/cookutils/receipt Sun May 13 16:00:53 2012 +0200 1.2 +++ b/cookutils/receipt Thu Oct 11 23:17:24 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 +}