From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/files/eblits/
Date: Fri, 25 Nov 2016 05:50:33 +0000 (UTC) [thread overview]
Message-ID: <1480051635.49c173976aa0cc4b8df93f3bd4985f27c9ca43b0.vapier@gentoo> (raw)
commit: 49c173976aa0cc4b8df93f3bd4985f27c9ca43b0
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 05:26:41 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 05:27:15 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c17397
sys-libs/glibc: permit downgrades between r# versions
The ABI should not be changed by Gentoo patchsets, so allow people to
move between -r# versions.
sys-libs/glibc/files/eblits/pkg_pretend.eblit | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/sys-libs/glibc/files/eblits/pkg_pretend.eblit b/sys-libs/glibc/files/eblits/pkg_pretend.eblit
index ff8f1c1..47e2987 100644
--- a/sys-libs/glibc/files/eblits/pkg_pretend.eblit
+++ b/sys-libs/glibc/files/eblits/pkg_pretend.eblit
@@ -78,13 +78,15 @@ eblit-glibc-pkg_pretend() {
check_devpts
fi
- # prevent native builds from downgrading ... maybe update to allow people
- # to change between diff -r versions ? (2.3.6-r4 -> 2.3.6-r2)
+ # Prevent native builds from downgrading.
if [[ ${MERGE_TYPE} != "buildonly" ]] && \
[[ ${ROOT} == "/" ]] && \
[[ ${CBUILD} == ${CHOST} ]] && \
[[ ${CHOST} == ${CTARGET} ]] ; then
- if has_version '>'${CATEGORY}/${PF} ; then
+ # The high rev # is to allow people to downgrade between -r# versions.
+ # We want to block 2.20->2.19, but 2.20-r3->2.20-r2 should be fine.
+ # Hopefully we never actually use a r# this high.
+ if has_version ">${CATEGORY}/${P}-r10000" ; then
eerror "Sanity check to keep you from breaking your system:"
eerror " Downgrading glibc is not supported and a sure way to destruction"
die "aborting to save your system"
next reply other threads:[~2016-11-25 5:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-25 5:50 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-01-07 13:49 [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/files/eblits/ Benda XU
2016-12-07 7:03 Mike Frysinger
2016-09-03 11:06 Michał Górny
2016-06-19 23:19 Benda XU
2016-06-06 13:28 Benda XU
2016-06-02 13:26 Benda XU
2016-06-02 8:08 Benda XU
2016-01-16 8:17 Mike Frysinger
2015-12-30 20:40 Mike Frysinger
2015-10-16 18:26 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1480051635.49c173976aa0cc4b8df93f3bd4985f27c9ca43b0.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox