Skip to content

Commit

Permalink
util-linux: package ipcs command
Browse files Browse the repository at this point in the history
Add a package for util-linux' ipcs command, to show information about
System V inter-process communication facilities.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
  • Loading branch information
stintel committed Feb 5, 2022
1 parent 3f4301e commit 2c929f8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions package/utils/util-linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,18 @@ define Package/hwclock/description
hwclock is a tool for accessing the Hardware Clock
endef

define Package/ipcs
$(call Package/util-linux/Default)
TITLE:=show information on IPC facilities
endef

define Package/ipcs/description
ipcs shows information on the inter-process communication facilities for
which the calling process has read access. By default it shows information
about all three resources: shared memory segments, message queues, and
semaphore arrays.
endef

define Package/logger
$(call Package/util-linux/Default)
TITLE:=a shell command interface to the syslog system log module
Expand Down Expand Up @@ -690,6 +702,11 @@ define Package/hwclock/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/hwclock $(1)/usr/sbin/
endef

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

define Package/logger/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/logger $(1)/usr/bin/util-linux-logger
Expand Down Expand Up @@ -842,6 +859,7 @@ $(eval $(call BuildPackage,flock))
$(eval $(call BuildPackage,fstrim))
$(eval $(call BuildPackage,getopt))
$(eval $(call BuildPackage,hwclock))
$(eval $(call BuildPackage,ipcs))
$(eval $(call BuildPackage,logger))
$(eval $(call BuildPackage,look))
$(eval $(call BuildPackage,losetup))
Expand Down

0 comments on commit 2c929f8

Please sign in to comment.