util-linux: added unshare and nsenter executables

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig 2018-03-03 22:18:28 +01:00 committed by Hauke Mehrtens
parent 61e0af06d9
commit 57468c7142

View file

@ -318,6 +318,15 @@ define Package/namei/description
files, directories, and so forth) files, directories, and so forth)
endef 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 define Package/prlimit
$(call Package/util-linux/Default) $(call Package/util-linux/Default)
TITLE:=get and set process resource limits TITLE:=get and set process resource limits
@ -395,6 +404,15 @@ define Package/swap-utils/description
contains: mkswap, swaplabel contains: mkswap, swaplabel
endef 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 define Package/uuidd
$(call Package/util-linux/Default) $(call Package/util-linux/Default)
TITLE:=UUID generation daemon TITLE:=UUID generation daemon
@ -633,6 +651,11 @@ define Package/namei/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/namei $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/namei $(1)/usr/bin/
endef 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 define Package/prlimit/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prlimit $(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/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/swaplabel $(1)/usr/sbin/
endef 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 define Package/uuidd/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin//uuidd $(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,mcookie))
$(eval $(call BuildPackage,mount-utils)) $(eval $(call BuildPackage,mount-utils))
$(eval $(call BuildPackage,namei)) $(eval $(call BuildPackage,namei))
$(eval $(call BuildPackage,nsenter))
$(eval $(call BuildPackage,prlimit)) $(eval $(call BuildPackage,prlimit))
$(eval $(call BuildPackage,rename)) $(eval $(call BuildPackage,rename))
$(eval $(call BuildPackage,partx-utils)) $(eval $(call BuildPackage,partx-utils))
@ -729,6 +758,7 @@ $(eval $(call BuildPackage,script-utils))
$(eval $(call BuildPackage,setterm)) $(eval $(call BuildPackage,setterm))
$(eval $(call BuildPackage,sfdisk)) $(eval $(call BuildPackage,sfdisk))
$(eval $(call BuildPackage,swap-utils)) $(eval $(call BuildPackage,swap-utils))
$(eval $(call BuildPackage,unshare))
$(eval $(call BuildPackage,uuidd)) $(eval $(call BuildPackage,uuidd))
$(eval $(call BuildPackage,uuidgen)) $(eval $(call BuildPackage,uuidgen))
$(eval $(call BuildPackage,wall)) $(eval $(call BuildPackage,wall))