diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-03-03 22:18:28 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-03-09 22:15:01 +0100 |
commit | 57468c7142e8d6e1da01cce02dcecd8c88ab455e (patch) | |
tree | 6ef2db0d5aded4c802fb204e881fdbcc55fe88a7 /package | |
parent | 61e0af06d9da8c7e283fc835befd0ad2c64105bc (diff) | |
download | upstream-57468c7142e8d6e1da01cce02dcecd8c88ab455e.tar.gz upstream-57468c7142e8d6e1da01cce02dcecd8c88ab455e.tar.bz2 upstream-57468c7142e8d6e1da01cce02dcecd8c88ab455e.zip |
util-linux: added unshare and nsenter executables
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/utils/util-linux/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile index fcfc7c7b4e..ed974ce834 100644 --- a/package/utils/util-linux/Makefile +++ b/package/utils/util-linux/Makefile @@ -318,6 +318,15 @@ define Package/namei/description files, directories, and so forth) endef +define Package/nsenter +$(call Package/util-linux/Default) + TITLE:=enter a namespace +endef + +define Package/nsenter/description + run program with namespaces of other processes +endef + define Package/prlimit $(call Package/util-linux/Default) TITLE:=get and set process resource limits @@ -395,6 +404,15 @@ define Package/swap-utils/description contains: mkswap, swaplabel endef +define Package/unshare +$(call Package/util-linux/Default) + TITLE:=unshare userspace tool +endef + +define Package/unshare/description + run programs with some namespaces unshared from parent +endef + define Package/uuidd $(call Package/util-linux/Default) TITLE:=UUID generation daemon @@ -633,6 +651,11 @@ define Package/namei/install $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/namei $(1)/usr/bin/ endef +define Package/nsenter/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nsenter $(1)/usr/bin/ +endef + define Package/prlimit/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prlimit $(1)/usr/bin/ @@ -672,6 +695,11 @@ define Package/swap-utils/install $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/swaplabel $(1)/usr/sbin/ endef +define Package/unshare/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/unshare $(1)/usr/bin/ +endef + define Package/uuidd/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin//uuidd $(1)/usr/sbin/ @@ -722,6 +750,7 @@ $(eval $(call BuildPackage,lscpu)) $(eval $(call BuildPackage,mcookie)) $(eval $(call BuildPackage,mount-utils)) $(eval $(call BuildPackage,namei)) +$(eval $(call BuildPackage,nsenter)) $(eval $(call BuildPackage,prlimit)) $(eval $(call BuildPackage,rename)) $(eval $(call BuildPackage,partx-utils)) @@ -729,6 +758,7 @@ $(eval $(call BuildPackage,script-utils)) $(eval $(call BuildPackage,setterm)) $(eval $(call BuildPackage,sfdisk)) $(eval $(call BuildPackage,swap-utils)) +$(eval $(call BuildPackage,unshare)) $(eval $(call BuildPackage,uuidd)) $(eval $(call BuildPackage,uuidgen)) $(eval $(call BuildPackage,wall)) |