commit:     59d1da7604f15d2b7688ac4d3c9979113eea1956
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 16 12:35:33 2026 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jan 16 12:50:57 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d1da76

sys-apps/baselayout: warn about changing os-release wrt wiki

It may be worth finding a better captcha method that's more stable
long term, but in the interim it wouldn't hurt to warn in case
someone wants to do other changes so we can add the new hash
beforehand if needed.

Bug: https://bugs.gentoo.org/968834
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 sys-apps/baselayout/baselayout-2.18-r1.ebuild | 4 +++-
 sys-apps/baselayout/baselayout-9999.ebuild    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-apps/baselayout/baselayout-2.18-r1.ebuild 
b/sys-apps/baselayout/baselayout-2.18-r1.ebuild
index 23ca5da49712..8205fbf9b73f 100644
--- a/sys-apps/baselayout/baselayout-2.18-r1.ebuild
+++ b/sys-apps/baselayout/baselayout-2.18-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -256,6 +256,8 @@ src_install() {
        ${BRANDING_OS_NAME} Base System release ${PV}
        EOF
 
+       # warning: changes to os-release may require updating the Gentoo
+       # wiki captcha that uses a sha256sum of the 6th line (bug #968834)
        insinto /usr/lib
        grep . <<-EOF | newins - os-release
        ${BRANDING_OS_NAME:+NAME=${BRANDING_OS_NAME@Q}}

diff --git a/sys-apps/baselayout/baselayout-9999.ebuild 
b/sys-apps/baselayout/baselayout-9999.ebuild
index 23ca5da49712..8205fbf9b73f 100644
--- a/sys-apps/baselayout/baselayout-9999.ebuild
+++ b/sys-apps/baselayout/baselayout-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -256,6 +256,8 @@ src_install() {
        ${BRANDING_OS_NAME} Base System release ${PV}
        EOF
 
+       # warning: changes to os-release may require updating the Gentoo
+       # wiki captcha that uses a sha256sum of the 6th line (bug #968834)
        insinto /usr/lib
        grep . <<-EOF | newins - os-release
        ${BRANDING_OS_NAME:+NAME=${BRANDING_OS_NAME@Q}}

Reply via email to