Bug fixes: - stdio: ignore EIO for terminals - ensure console socket buffers are properly sized - conmon: drop return after pexit() - ctrl: make accept4 failures fatal - logging: avoid opening /dev/null for each write - oom: restore old OOM score - Use default umask 0022 Misc changes: - cli: log parsing errors to stderr - Changes to build conmon for riscv64 - Changes to build conmon for ppc64le - Fix close_other_fds on FreeBSD Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=conmon
|
|
PKG_VERSION:=2.1.8
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://github.com/containers/$(PKG_NAME)/archive/v$(PKG_VERSION)
|
|
PKG_HASH:=e72c090210a03ca3b43a0fad53f15bca90bbee65105c412468009cf3a5988325
|
|
|
|
PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_BUILD_DEPENDS:=libseccomp
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/nls.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
define Package/conmon
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=Podman conmon
|
|
URL:=https://podman.io
|
|
DEPENDS:=@!arc +glib2 $(INTL_DEPENDS) $(ICONV_DEPENDS)
|
|
endef
|
|
|
|
define Package/conmon/description
|
|
An OCI container runtime monitor.
|
|
|
|
Conmon is a monitoring program and communication tool between
|
|
a container manager (like Podman or CRI-O) and an OCI runtime
|
|
(like runc or crun) for a single container.
|
|
endef
|
|
|
|
define Package/conmon/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/podman/conmon $(1)/usr/bin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,conmon))
|