Skip to content

Commit

Permalink
util-linux: add lslocks
Browse files Browse the repository at this point in the history
This change adds the "lslocks" utility from util-linux.

Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu>
  • Loading branch information
RomanIOPSYS authored and hauke committed Jan 28, 2022
1 parent 30cff7c commit 5bd926e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions package/utils/util-linux/Makefile
Expand Up @@ -317,6 +317,16 @@ define Package/lscpu/description
lscpu displays information about the CPU architecture
endef

define Package/lslocks
$(call Package/util-linux/Default)
TITLE:=list local system locks
DEPENDS:= +libmount +libsmartcols
endef

define Package/lslocks/description
lslocks lists information about all the currently held file locks in a Linux system
endef

define Package/more
$(call Package/util-linux/Default)
TITLE:=filter for paging through text one screenful at a time
Expand Down Expand Up @@ -704,6 +714,11 @@ define Package/lscpu/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lscpu $(1)/usr/bin/
endef

define Package/lslocks/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lslocks $(1)/usr/bin/
endef

define Package/more/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/more $(1)/usr/bin/
Expand Down Expand Up @@ -831,6 +846,7 @@ $(eval $(call BuildPackage,look))
$(eval $(call BuildPackage,losetup))
$(eval $(call BuildPackage,lsblk))
$(eval $(call BuildPackage,lscpu))
$(eval $(call BuildPackage,lslocks))
$(eval $(call BuildPackage,more))
$(eval $(call BuildPackage,mcookie))
$(eval $(call BuildPackage,mount-utils))
Expand Down

0 comments on commit 5bd926e

Please sign in to comment.