Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 716091 Details for
Bug 759424
Stable prefix on amd64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to bootstrap script
0001-scripts-bootstrap-prefix-do-stable-prefix-on-amd64.patch (text/plain), 2.37 KB, created by
Alexey
on 2021-06-14 18:25:06 UTC
(
hide
)
Description:
patch to bootstrap script
Filename:
MIME Type:
Creator:
Alexey
Created:
2021-06-14 18:25:06 UTC
Size:
2.37 KB
patch
obsolete
>From c581655ce5a3fe88d00a651ee8dd9677fad5dd83 Mon Sep 17 00:00:00 2001 >From: Alexey Sokolov <sokolov@google.com> >Date: Mon, 14 Jun 2021 16:08:57 +0100 >Subject: [PATCH 1/1] scripts/bootstrap-prefix: do stable prefix on amd64 > >Bug: https://bugs.gentoo.org/759424 >--- > scripts/bootstrap-prefix.sh | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > >diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh >index 8fab4abf44..92a7facc36 100755 >--- a/scripts/bootstrap-prefix.sh >+++ b/scripts/bootstrap-prefix.sh >@@ -331,6 +331,8 @@ bootstrap_setup() { > echo "PORTDIR_OVERLAY=\"\${PORTDIR_OVERLAY} ${PORTDIR_OVERLAY}\"" > [[ -n ${MAKE_CONF_ADDITIONAL_USE} ]] && > echo "USE=\"\${USE} ${MAKE_CONF_ADDITIONAL_USE}\"" >+ [[ -n ${STABLE_PREFIX} ]] && \ >+ echo "ACCEPT_KEYWORDS=\"amd64 -~amd64\"" > [[ ${OFFLINE_MODE} ]] && \ > echo 'FETCHCOMMAND="bash -c \"echo I need \${FILE} from \${URI} in \${DISTDIR}; read\""' > } > "${ROOT}"/etc/portage/make.conf >@@ -2694,6 +2696,38 @@ EOF > esac > fi > >+ # The experimental support for Stable Prefix. >+ # When expanding this to other CHOSTs, don't forget to update >+ # make.conf generation in bootstrap_setup(). >+ # TODO: Consider at some point removing the ~ARCH override from >+ # profiles/features/prefix/standalone/make.defaults. >+ # https://bugs.gentoo.org/759424 >+ if is-rap ; then >+ if [[ "${CHOST}" == x86_64-pc-linux-gnu ]]; then >+ cat <<EOF >+ >+Normally I can only give you ~amd64 packages, and you would be exposed >+to all the bugs of the newest untested software. Well, ok, sometimes >+it also has new features, but who needs those. But as you are a VIP >+customer who uses Linux on x86_64, I have a one-time offer for you! >+I can limit your Prefix to use only packages keyworded for stable amd64 >+by default. Of course, you can still enable testing ~amd64 for >+the packages you want, when the need arises. >+EOF >+ [[ ${TODO} == 'noninteractive' ]] && ans=yes || >+ read -p " Do you want to use stable Prefix? [Yn] " ans >+ case "${ans}" in >+ [Yy][Ee][Ss]|[Yy]|"") >+ echo "Okay, I'll disable ~amd64 by default." >+ export STABLE_PREFIX="yes" >+ : ;; >+ *) >+ echo "Fine, I will not disable ~amd64, no problem." >+ ;; >+ esac >+ fi >+ fi >+ > # choose EPREFIX, we do this last, since we have to actually write > # to the filesystem here to check that the EPREFIX is sane > cat << EOF >-- >2.31.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 759424
: 716091