summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2018-06-22 15:41:30 +0200
committerMichael Haubenwallner <haubi@gentoo.org>2018-06-22 15:44:52 +0200
commit9ff91cd60df019c1b008bdafcd32aac9e5811d5f (patch)
tree078d608245f295c0acc29dbeb987b3443f4c6c8e
parentsys-devel/gcc: update manifest for modified cygin patching (diff)
downloadprefix-9ff91cd60df019c1b008bdafcd32aac9e5811d5f.tar.gz
prefix-9ff91cd60df019c1b008bdafcd32aac9e5811d5f.tar.bz2
prefix-9ff91cd60df019c1b008bdafcd32aac9e5811d5f.zip
bootstrap-prefix.sh: only tmp portage really needs the stacked-prefix patch
There is no need to put it into etc/portage/patches/sys-apps/portage/, because when portage itself is merged in stage3, everything's there.
-rwxr-xr-xscripts/bootstrap-prefix.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 5440b54289..046a7918d0 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -628,8 +628,7 @@ bootstrap_portage() {
cd "${S}"
# patch temporary included here: fail when it should be dropped
- mkdir -p "${ROOT}"/etc/portage/patches/sys-apps/portage || return 1
- cat > "${ROOT}"/etc/portage/patches/sys-apps/portage/0001-introduce-the-stacked-prefix-FEATURE.patch <<'EOP'
+ patch -p1 <<'EOP'
From 902fad63990eb4516d3e3815994b2dcbd16155fd Mon Sep 17 00:00:00 2001
From: Michael Haubenwallner <haubi@gentoo.org>
Date: Tue, 19 Jun 2018 16:39:12 +0200
@@ -691,7 +690,6 @@ index a3d927c3b..ed54425b5 100644
EOP
[[ $? -eq 0 ]] || return 1
- patch -p1 < "${ROOT}"/etc/portage/patches/sys-apps/portage/0001-introduce-the-stacked-prefix-FEATURE.patch || return 1
# >=2.3
[[ -r bin/repoman ]] || sed -i -e '/repoman/d' {man,bin}/Makefile.in
@@ -1876,9 +1874,6 @@ bootstrap_stage3() {
USE="ssl" \
emerge_pkgs "" "${pkgs[@]}" || return 1
- # patch temporary included here: fail when it should be dropped
- rm "${ROOT}"/etc/portage/patches/sys-apps/portage/0001-introduce-the-stacked-prefix-FEATURE.patch || return 1
-
# Switch to the proper portage.
hash -r