Browse Source

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 in 2cde10b950
reverted in 039912dec5

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 7da7356539)
lilik-openwrt-22.03
Michal Vasilek 2 years ago
committed by Josef Schlehofer
parent
commit
345ae974bc
No known key found for this signature in database GPG Key ID: B950216FE4329F4C
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      utils/lxc/Makefile

+ 4
- 0
utils/lxc/Makefile View File

@ -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…
Cancel
Save