@ -70,6 +70,22 @@ define Package/lxc-auto/conffiles
/ e t c / c o n f i g / l x c - a u t o
e n d e f
d e f i n e P a c k a g e / l x c - u n p r i v i l e g e d
$( call Package/lxc/Default)
TITLE:= Helper script for unprivileged containers support
DEPENDS:= +shadow-utils +shadow-newuidmap +shadow-newgidmap
e n d e f
d e f i n e P a c k a g e / l x c - u n p r i v i l e g e d / d e s c r i p t i o n
Support for unprivileged containers requires newuidmap and newguidmap.
This package makes sure they are available & have correct permissions.
e n d e f
d e f i n e P a c k a g e / l x c - u n p r i v i l e g e d / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/uci-defaults
$( INSTALL_DATA) ./files/lxc-unprivileged.defaults $( 1) /etc/uci-defaults/lxc-unprivileged
e n d e f
d e f i n e P a c k a g e / l x c / c o n f i g
source " $( SOURCE) /Config.in "
e n d e f
@ -272,6 +288,7 @@ $(eval $(call BuildPackage,liblxc))
$( eval $ ( call BuildPackage ,lxc -lua ) )
$( eval $ ( call BuildPackage ,lxc -init ) )
$( eval $ ( call BuildPackage ,lxc -auto ) )
$( eval $ ( call BuildPackage ,lxc -unprivileged ) )
$( foreach u ,$ ( LXC_APPLETS_BIN ) ,$ ( eval $ ( call GenPlugin ,$ ( u ) ,$ ( DEPENDS_APPLETS ) ,"/usr /bin ") ) )
$( foreach u ,$ ( LXC_APPLETS_LIB ) ,$ ( eval $ ( call GenPlugin ,$ ( u ) ,$ ( DEPENDS_APPLETS ) ,"/usr /lib /lxc ") ) )
$( foreach u ,$ ( LXC_SCRIPTS ) ,$ ( eval $ ( call GenPlugin ,$ ( u ) ,,"/usr /bin ") ) )