diff options
| author | 2023-08-01 10:39:51 +0800 | |
|---|---|---|
| committer | 2023-08-01 10:39:51 +0800 | |
| commit | 395b646f1154d1c1c625387d8decb3a1b8bed254 (patch) | |
| tree | 09600fd9b39389f81c932a8533109887b53e1b69 | |
| parent | scripts/bootstrap-prefix: ensure gnuconfig is installed in stage3 (diff) | |
| download | prefix-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-x | scripts/rsync-generation/update-rsync-master.sh | 7 |
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 |
