util-linux: Add taskset
This adds the taskset application from util Linux.
It is already built, but not packaged yet.
Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
(cherry picked from commit 6ae657e459)
This commit is contained in:
parent
d6f9dd7fa9
commit
31c660335c
@ -439,6 +439,15 @@ define Package/swap-utils/description
|
||||
contains: mkswap, swaplabel
|
||||
endef
|
||||
|
||||
define Package/taskset
|
||||
$(call Package/util-linux/Default)
|
||||
TITLE:=set or retrieve a process's CPU affinity
|
||||
endef
|
||||
|
||||
define Package/taskset/description
|
||||
contains: taskset
|
||||
endef
|
||||
|
||||
define Package/unshare
|
||||
$(call Package/util-linux/Default)
|
||||
TITLE:=unshare userspace tool
|
||||
@ -777,6 +786,11 @@ define Package/swap-utils/install
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/swaplabel $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
define Package/taskset/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/taskset $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
define Package/unshare/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/unshare $(1)/usr/bin/
|
||||
@ -845,6 +859,7 @@ $(eval $(call BuildPackage,script-utils))
|
||||
$(eval $(call BuildPackage,setterm))
|
||||
$(eval $(call BuildPackage,sfdisk))
|
||||
$(eval $(call BuildPackage,swap-utils))
|
||||
$(eval $(call BuildPackage,taskset))
|
||||
$(eval $(call BuildPackage,unshare))
|
||||
$(eval $(call BuildPackage,uuidd))
|
||||
$(eval $(call BuildPackage,uuidgen))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user