From 99bbdb1148ad69494df7688974e11ae1c4c76970 Mon Sep 17 00:00:00 2001 From: lemmi Date: Wed, 17 Mar 2021 11:48:01 +0100 Subject: [PATCH] podman: enable btrfs storage driver Adds INSTALL.msg that explains how to handle the new storage driver options. Closes: #29530 --- srcpkgs/podman/INSTALL.msg | 21 +++++++++++++++++++++ srcpkgs/podman/template | 7 +++---- 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/podman/INSTALL.msg diff --git a/srcpkgs/podman/INSTALL.msg b/srcpkgs/podman/INSTALL.msg new file mode 100644 index 00000000000..6d69c9281eb --- /dev/null +++ b/srcpkgs/podman/INSTALL.msg @@ -0,0 +1,21 @@ +`fuse-overlayfs` has been added as a runtime dependency to podman. +podman will now prefer this storage driver to the `vfs` fallback driver. + +To switch to the new storage driver, podman has to be reset: + + # podman system reset + +To keep the `vfs` driver, add this to `/etc/containers/storage.conf` +or `~/.config/containers/storage.conf`: + + [storage] + driver="vfs" + +Otherwise podman will display an error and refuse any further operation. + +Additionally the `btrfs` storage driver has been enabled. This driver is also +available for rootless operation. Reset podman and add the following to your +`storage.conf` to switch to this driver: + + [storage] + driver="btrfs" diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template index 1a186001f3d..ce8b655a444 100644 --- a/srcpkgs/podman/template +++ b/srcpkgs/podman/template @@ -1,14 +1,13 @@ # Template file for 'podman' pkgname=podman version=3.0.1 -revision=2 +revision=3 build_style=go go_import_path="github.com/containers/podman/v2" go_package="${go_import_path}/cmd/podman" -go_build_tags="seccomp apparmor containers_image_ostree_stub - btrfs_noversion exclude_graphdriver_btrfs" +go_build_tags="seccomp apparmor containers_image_ostree_stub" hostmakedepends="pkg-config go-md2man" -makedepends="gpgme-devel libseccomp-devel device-mapper-devel" +makedepends="gpgme-devel libseccomp-devel device-mapper-devel libbtrfs-devel" depends="runc conmon cni-plugins slirp4netns containers.image fuse-overlayfs" short_desc="Simple management tool for containers and images" maintainer="Cameron Nemo "