mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 05:51:18 +02:00
sys-apps/portage: Apply CoreOS changes
Disable the rsync-verify flag to avoid pulling new dependencies, and apply our patch set.
This commit is contained in:
parent
a045b19aae
commit
2e86b680f2
@ -18,7 +18,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd"
|
||||
SLOT="0"
|
||||
IUSE="build doc epydoc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr"
|
||||
IUSE="build doc epydoc gentoo-dev +ipc +native-extensions rsync-verify selinux xattr"
|
||||
|
||||
DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
|
||||
>=app-arch/tar-1.27
|
||||
@ -96,6 +96,15 @@ pkg_setup() {
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
# CoreOS does not use the gentoo repo, silence oodles of errors about it:
|
||||
echo "# no defaults, configuration is in /etc" > cnf/repos.conf
|
||||
# upstream bug: https://bugs.gentoo.org/507284
|
||||
epatch "${FILESDIR}/${PN}-2.3.8-0001-portage-repository-config.py-add-disabled-attribute-.patch"
|
||||
# upstream bug: https://bugs.gentoo.org/490014
|
||||
epatch "${FILESDIR}/${PN}-2.2.18-0002-environment-Filter-EROOT-for-all-EAPIs.patch"
|
||||
# upstream bug:
|
||||
epatch "${FILESDIR}/${PN}-2.2.18-0003-depgraph-ensure-slot-rebuilds-happen-in-the-correct-.patch"
|
||||
|
||||
epatch "${DISTDIR}/${P}-bug-656942-bug-657436-937d0156aa06.patch" \
|
||||
"${DISTDIR}/${P}-bug-657436-937d0156aa06-1fc628eead43.patch"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user