skopeo-1.2.1-12.el9
- configure short-name-mode = "enforcing" for RHEL9 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
05ee2aa9a9
commit
23506144a2
@ -111,3 +111,5 @@ unqualified-search-registries = ["registry.fedoraproject.org", "registry.access.
|
||||
# # 2. example-mirror-1.local/mirrors/foo/image:latest
|
||||
# # 3. internal-registry-for-example.net/bar/myimage:latest
|
||||
# # in order, and use the first one that exists.
|
||||
# Enforcing mode for short names is default for RHEL9.
|
||||
short-name-mode = "enforcing"
|
||||
|
@ -29,7 +29,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
|
||||
Epoch: 1
|
||||
Name: skopeo
|
||||
Version: 1.2.1
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
Summary: Inspect container images and repositories on registries
|
||||
License: ASL 2.0
|
||||
URL: %{git0}
|
||||
@ -237,6 +237,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
||||
%{_datadir}/%{name}/test
|
||||
|
||||
%changelog
|
||||
* Thu Feb 18 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-12
|
||||
- configure short-name-mode = "enforcing" for RHEL9
|
||||
|
||||
* Thu Feb 18 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.2.1-11
|
||||
- disable LTO
|
||||
|
||||
|
@ -12,3 +12,10 @@ then
|
||||
sed -i '/^default_capabilities/a \
|
||||
"NET_RAW",' containers.conf
|
||||
fi
|
||||
if ! grep ^short-name-mode.*= registries.conf
|
||||
then
|
||||
echo "# Enforcing mode for short names is default for RHEL9." >> registries.conf
|
||||
echo 'short-name-mode = "enforcing"' >> registries.conf
|
||||
else
|
||||
sed -i 's/^short-name-mode.*=.*/short-name-mode = "enforcing"/'
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user