wok-6.x rev 15693
linux-lxc: modify post_install() for update /etc/fstab
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 08:40:56 2013 +0100 (2013-12-21) |
parents | d0c4b912827a |
children | 9305265ac151 |
files | linux-lxc/receipt |
line diff
1.1 --- a/linux-lxc/receipt Sat Dec 21 08:21:32 2013 +0100 1.2 +++ b/linux-lxc/receipt Sat Dec 21 08:40:56 2013 +0100 1.3 @@ -24,6 +24,9 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 + echo "Update /etc/fstab for use cgroup..." 1.8 + echo "none /cgroup cgroup defaults 0 0" >> /etc/fstab 1.9 + 1.10 echo "Processing post-install commands..." 1.11 chroot "$1/" depmod -a $VERSION-lxc-slitaz 1.12 # GRUB stuff.