Skip to content
Snippets Groups Projects
Commit d9bce0e6 authored by alice's avatar alice Committed by alice
Browse files

main/alpine-base: unprotect os-release

this is useful to not create .apk-new's for something that should never
be edited anyway and always overwritten, but that might be edited by
accident, preventing replacement of a newer release version.
parent 8f6b30e3
No related branches found
No related tags found
1 merge request!44990main/alpine-base: unprotect os-release
Pipeline #156377 skipped
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-base
pkgver=3.18_alpha20230208
pkgrel=0
pkgrel=1
pkgdesc="Meta package for minimal alpine base"
url="https://alpinelinux.org"
arch="noarch"
......@@ -62,6 +62,11 @@ VERSION_ID=$pkgver
PRETTY_NAME="Alpine Linux $_rel"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
EOF
mkdir -p "$subpkgdir"/etc/apk/protected_paths.d
cat >"$subpkgdir"/etc/apk/protected_paths.d/alpine-release<<EOF
-etc/os-release
EOF
# create secfixes.d repository list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment