mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
podman: add runit service
This commit is contained in:
parent
27bfe553ee
commit
cb15632148
5 changed files with 15 additions and 1 deletions
3
srcpkgs/podman/files/podman-docker/finish
Executable file
3
srcpkgs/podman/files/podman-docker/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ "$(realpath /run/docker.sock)" = "/run/podman/podman.sock" ] && rm /run/docker.sock
|
4
srcpkgs/podman/files/podman-docker/run
Executable file
4
srcpkgs/podman/files/podman-docker/run
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
ln -sf /run/podman/podman.sock /run/docker.sock
|
||||
exec chpst -b podman-docker pause
|
1
srcpkgs/podman/files/podman/log/run
Symbolic link
1
srcpkgs/podman/files/podman/log/run
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/bin/vlogger
|
4
srcpkgs/podman/files/podman/run
Executable file
4
srcpkgs/podman/files/podman/run
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
exec podman --log-level info system service ${OPTS:---time=0} 2>&1
|
|
@ -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,6 @@ 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
|
||||
vsv podman-docker
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue