local build

This commit is contained in:
Daniel J Walsh 2024-01-29 12:21:54 -05:00
parent 0a797de0d4
commit f64e67a66c
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028
3 changed files with 3 additions and 4 deletions

View File

@ -183,7 +183,7 @@ default_sysctls = [
# Logging driver for the container. Available options: k8s-file and journald.
#
#log_driver = "k8s-file"
log_driver = "journald"
# Maximum size allowed for the container log file. Negative numbers indicate
# that no size limit is imposed. If positive, it must be >= 8192 to match or

View File

@ -48,7 +48,6 @@ graphroot = "/var/lib/containers/storage"
# AdditionalImageStores is used to pass paths to additional Read/Only image stores
# Must be comma separated list.
additionalimagestores = [
"/usr/lib/containers/storage",
]
# Allows specification of how storage is populated when pulling images. This
@ -71,7 +70,7 @@ additionalimagestores = [
# Tells containers/storage where an ostree repository exists that might have
# previously pulled content which can be used when attempting to avoid
# pulling content from the container registry
pull_options = {enable_partial_images = "false", use_hard_links = "false", ostree_repos=""}
pull_options = {enable_partial_images = "true", use_hard_links = "false", ostree_repos=""}
# Remap-UIDs/GIDs is the mapping from UIDs/GIDs as they should appear inside of
# a container, to the UIDs/GIDs as they should appear outside of the container,

View File

@ -4,7 +4,7 @@ set -eox pipefail
spectool -fg containers-common.spec
if [[ $(git reg-parse --abbrev-ref HEAD) == "rawhide" ]]; then
if [[ $(git rev-parse --abbrev-ref HEAD) == "rawhide" ]]; then
sed -i -e 's/^driver.*=.*/driver = "overlay"/' -e 's/^mountopt.*=.*/mountopt = "nodev,metacopy=on"/' \
-e 's/^pull_options.*=.*/pull_options = {enable_partial_images = \"true\", use_hard_links = \"false\", ostree_repos=""}/' \
storage.conf