summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2023-08-01 10:39:51 +0800
committerBenda Xu <heroxbd@gentoo.org>2023-08-01 10:39:51 +0800
commit395b646f1154d1c1c625387d8decb3a1b8bed254 (patch)
tree09600fd9b39389f81c932a8533109887b53e1b69
parentscripts/bootstrap-prefix: ensure gnuconfig is installed in stage3 (diff)
downloadprefix-395b646f1154d1c1c625387d8decb3a1b8bed254.tar.gz
prefix-395b646f1154d1c1c625387d8decb3a1b8bed254.tar.bz2
prefix-395b646f1154d1c1c625387d8decb3a1b8bed254.zip
s/r-g/update-rsync-master.sh: put an alias gentoo repo name.
Closes: https://bugs.gentoo.org/911543 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
-rwxr-xr-xscripts/rsync-generation/update-rsync-master.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/rsync-generation/update-rsync-master.sh b/scripts/rsync-generation/update-rsync-master.sh
index f4b12787d4..6a93207518 100755
--- a/scripts/rsync-generation/update-rsync-master.sh
+++ b/scripts/rsync-generation/update-rsync-master.sh
@@ -271,8 +271,11 @@ START=$(date +%s)
echo "($(date +"%F %R")) signing Manifest"
-# we will generate thick manifests, so ensure Portage knows that
-sed -i -e '/^thin-manifests/s/true/false/' "${RSYNCDIR}"/metadata/layout.conf
+# we will generate thick manifests, so ensure Portage knows that.
+# add a "gentoo" alias for compatibility, bug #911543.
+sed -e '/^thin-manifests/s/true/false/' \
+ -e '$arepo-name = gentoo_prefix\naliases = gentoo' \
+ -i "${RSYNCDIR}"/metadata/layout.conf
# generate Thick Manifests
# Signing is done with our snapshot signing key, and only on the top