From c65b9c54fb96652022c18aa633c29dc89a8c6132 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Thu, 5 Sep 2024 14:55:12 +0530 Subject: [PATCH] RPM: Update storage.conf patching storage.conf has been updated upstream so the config files update script needs to account for that. Ref: https://github.com/containers/storage/pull/2066 Signed-off-by: Lokesh Mandvekar --- rpm/update-config-files.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpm/update-config-files.sh b/rpm/update-config-files.sh index 216d8d42e..58e6c60eb 100755 --- a/rpm/update-config-files.sh +++ b/rpm/update-config-files.sh @@ -54,11 +54,10 @@ if [[ -n "$FEDORA" ]] || [[ "$RHEL" -ge 10 ]]; then sed -i -e '/^additionalimagestores\ =\ \[/a "\/usr\/lib\/containers\/storage",' storage.conf fi -# Set these on Fedora Rawhide (41+) and RHEL 10+ +# Set these on Fedora 41+ and RHEL 10+ # regardless of distro if [[ "$FEDORA" -gt 40 ]] || [[ "$RHEL" -ge 10 ]]; then ensure pkg/config/containers.conf compression_format \"zstd:chunked\" - ensure storage.conf pull_options \{enable_partial_images\ =\ \"true\",\ use_hard_links\ =\ \"false\",\ ostree_repos=\"\",\ convert_images\ =\ \"false\"\} # Leave composefs disabled ensure storage.conf use_composefs \"false\" fi