util-linux: add lscpu package
lscpu is used by lxc-debian template. Signed-off-by: Tomasz Moń <desowin@gmail.com>
This commit is contained in:
parent
316eb26a3a
commit
9a0cc49089
1 changed files with 16 additions and 0 deletions
|
@ -278,6 +278,16 @@ define Package/lsblk/description
|
|||
lsblk lists information about all or the specified block devices
|
||||
endef
|
||||
|
||||
define Package/lscpu
|
||||
$(call Package/util-linux/Default)
|
||||
TITLE:=display information about the CPU architecture
|
||||
DEPENDS:= +libsmartcols
|
||||
endef
|
||||
|
||||
define Package/lscpu/description
|
||||
lscpu displays information about the CPU architecture
|
||||
endef
|
||||
|
||||
define Package/mcookie
|
||||
$(call Package/util-linux/Default)
|
||||
TITLE:=generate magic cookies for xauth
|
||||
|
@ -601,6 +611,11 @@ define Package/lsblk/install
|
|||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsblk $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
define Package/lscpu/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lscpu $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
define Package/mcookie/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcookie $(1)/usr/bin/
|
||||
|
@ -703,6 +718,7 @@ $(eval $(call BuildPackage,logger))
|
|||
$(eval $(call BuildPackage,look))
|
||||
$(eval $(call BuildPackage,losetup))
|
||||
$(eval $(call BuildPackage,lsblk))
|
||||
$(eval $(call BuildPackage,lscpu))
|
||||
$(eval $(call BuildPackage,mcookie))
|
||||
$(eval $(call BuildPackage,mount-utils))
|
||||
$(eval $(call BuildPackage,namei))
|
||||
|
|
Loading…
Reference in a new issue