Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] podman: add runit service
@ 2022-03-11 21:43 lemmi
  2022-03-11 23:15 ` [PR REVIEW] " CameronNemo
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: lemmi @ 2022-03-11 21:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

There is a new pull request by lemmi against master on the void-packages repository

https://github.com/lemmi/void-packages podman
https://github.com/void-linux/void-packages/pull/36102

podman: add runit service
[Upstream Systemd service](https://github.com/containers/podman/blob/v4.0.2/contrib/systemd/system/podman.service.in) doesn't do anything special. `--time=0 unix:///var/run/docker.sock` is required, since we don't have socket activation.

A patch file from https://github.com/void-linux/void-packages/pull/36102.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-podman-36102.patch --]
[-- Type: text/x-diff, Size: 1660 bytes --]

From d3427f8b1003f7162d334b0df0ae82a06018890d Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Fri, 11 Mar 2022 22:37:26 +0100
Subject: [PATCH] podman: add runit service

---
 srcpkgs/podman/files/podman/log/run | 1 +
 srcpkgs/podman/files/podman/run     | 3 +++
 srcpkgs/podman/template             | 3 ++-
 3 files changed, 6 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/podman/files/podman/log/run
 create mode 100644 srcpkgs/podman/files/podman/run

diff --git a/srcpkgs/podman/files/podman/log/run b/srcpkgs/podman/files/podman/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/podman/files/podman/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/podman/files/podman/run b/srcpkgs/podman/files/podman/run
new file mode 100644
index 000000000000..c98a70437f84
--- /dev/null
+++ b/srcpkgs/podman/files/podman/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec podman --log-level info system service --time=0 unix:///var/run/docker.sock
diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template
index c719e4ca6057..b202bb9823d6 100644
--- a/srcpkgs/podman/template
+++ b/srcpkgs/podman/template
@@ -1,7 +1,7 @@
 # Template file for 'podman'
 pkgname=podman
 version=4.0.2
-revision=2
+revision=3
 build_style=go
 go_import_path="github.com/containers/podman/v4"
 go_package="${go_import_path}/cmd/podman ${go_import_path}/cmd/rootlessport"
@@ -34,4 +34,5 @@ post_install() {
 		vendor/github.com/containers/common/pkg/config/containers.conf \
 		>containers.cgfs.conf
 	vinstall containers.cgfs.conf 644 usr/share/containers containers.conf
+	vsv podman
 }

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-03-28 14:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11 21:43 [PR PATCH] podman: add runit service lemmi
2022-03-11 23:15 ` [PR REVIEW] " CameronNemo
2022-03-12 11:47 ` lemmi
2022-03-13  0:52 ` CameronNemo
2022-03-13  0:58 ` lemmi
2022-03-14 15:58 ` leahneukirchen
2022-03-16  3:58 ` the-maldridge
2022-03-16  4:14 ` lemmi
2022-03-16 14:38 ` leahneukirchen
2022-03-20 23:39 ` [PR PATCH] [Updated] " lemmi
2022-03-20 23:40 ` lemmi
2022-03-27 23:16 ` the-maldridge
2022-03-27 23:26 ` CameronNemo
2022-03-28  0:11 ` Duncaen
2022-03-28 14:36 ` [PR PATCH] [Merged]: " lemmi
2022-03-28 14:36 ` lemmi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).