wok-stable rev 12422
linux-lxc: modify post_install() for update /etc/fstab
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 08:41:14 2013 +0100 (2013-12-21) |
parents | 25f390915f8a |
children | dfde943f9e22 |
files | linux-lxc/receipt |
line diff
1.1 --- a/linux-lxc/receipt Sat Dec 21 08:21:50 2013 +0100 1.2 +++ b/linux-lxc/receipt Sat Dec 21 08:41:14 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.