lxc: export systemd cgroups after install
otherwise, a user would have to either manually run /etc/init.d/lxc-auto boot or reboot the system to start using lxc. originally committed in2cde10b950
reverted in039912dec5
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz> (cherry picked from commit7da7356539
) (cherry picked from commit345ae974bc
)
This commit is contained in:
parent
883fded23d
commit
af27e76540
1 changed files with 4 additions and 0 deletions
|
@ -61,6 +61,10 @@ define Package/lxc-auto
|
|||
DEPENDS+=+lxc-start +lxc-stop
|
||||
endef
|
||||
|
||||
define Package/lxc-auto/postinst
|
||||
[ -n "$${IPKG_INSTROOT}" ] || [ "$${PKG_UPGRADE}" = 1 ] || /etc/init.d/lxc-auto boot
|
||||
endef
|
||||
|
||||
define Package/lxc-auto/description
|
||||
LXC is the userspace control package for Linux Containers, a lightweight
|
||||
virtual system mechanism sometimes described as "chroot on steroids".
|
||||
|
|
Loading…
Reference in a new issue