Skip to content

Commit

Permalink
main/containers-common: use tmpfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Sep 29, 2024
1 parent 3625f32 commit d60ae64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions main/containers-common/files/tmpfiles.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Create containers-common sigstore dir

d /var/lib/containers/sigstore 0755 root root -
4 changes: 2 additions & 2 deletions main/containers-common/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "containers-common"
pkgver = "0.60.3"
pkgrel = 0
pkgrel = 1
make_build_args = ["-C", "docs"]
make_install_args = [*make_build_args]
hostmakedepends = ["go-md2man"]
Expand Down Expand Up @@ -44,7 +44,7 @@ def build(self):
def install(self):
self.install_dir("etc/containers/certs.d")
self.install_dir("etc/containers/oci/hooks.d")
self.install_dir("var/lib/containers/sigstore", empty=True)
self.install_tmpfiles(self.files_path / "tmpfiles.conf")

with self.pushd("common"):
self.install_file("pkg/config/containers.conf", "etc/containers")
Expand Down

0 comments on commit d60ae64

Please sign in to comment.