Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 565026 Details for
Bug 677800
Migrate the ACCEPT_LICENSE default from portage to the base profile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
portage.patch (text/plain), 1.93 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2019-02-13 01:36:50 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2019-02-13 01:36:50 UTC
Size:
1.93 KB
patch
obsolete
>From 8f4eb5b7114637db5e604450730e0b7ac49731ab Mon Sep 17 00:00:00 2001 >From: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> >Date: Wed, 13 Feb 2019 02:31:04 +0100 >Subject: [PATCH] ResolverPlayground: Set ACCEPT_LICENSE for test suite here > instead of in config class. > >Bug: https://bugs.gentoo.org/677800 >Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> >--- > lib/portage/package/ebuild/config.py | 2 +- > lib/portage/tests/resolver/ResolverPlayground.py | 3 ++- > 2 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/lib/portage/package/ebuild/config.py b/lib/portage/package/ebuild/config.py >index 2981f7e31..95910dfe4 100644 >--- a/lib/portage/package/ebuild/config.py >+++ b/lib/portage/package/ebuild/config.py >@@ -2278,7 +2278,7 @@ class config(object): > for curdb in mydbs: > mysplit.extend(curdb.get('ACCEPT_LICENSE', '').split()) > mysplit = prune_incremental(mysplit) >- accept_license_str = ' '.join(mysplit) or '* -@EULA' >+ accept_license_str = ' '.join(mysplit) > self.configlist[-1]['ACCEPT_LICENSE'] = accept_license_str > self._license_manager.set_accept_license_str(accept_license_str) > else: >diff --git a/lib/portage/tests/resolver/ResolverPlayground.py b/lib/portage/tests/resolver/ResolverPlayground.py >index fc754fb42..77c7c1b52 100644 >--- a/lib/portage/tests/resolver/ResolverPlayground.py >+++ b/lib/portage/tests/resolver/ResolverPlayground.py >@@ -1,4 +1,4 @@ >-# Copyright 2010-2015 Gentoo Foundation >+# Copyright 2010-2019 Gentoo Authors > # Distributed under the terms of the GNU General Public License v2 > > from itertools import permutations >@@ -412,6 +412,7 @@ class ResolverPlayground(object): > with open(make_defaults_file, "w") as f: > f.write("ARCH=\"x86\"\n") > f.write("ACCEPT_KEYWORDS=\"x86\"\n") >+ f.write("ACCEPT_LICENSE=\"* -@EULA\"\n") > > use_force_file = os.path.join(sub_profile_dir, "use.force") > with open(use_force_file, "w") as f: >-- >2.20.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 677800
:
564928
|
565022
| 565026 |
565028