diff options
author | 2024-05-04 12:44:11 +0100 | |
---|---|---|
committer | 2024-05-04 12:47:05 +0100 | |
commit | 9e889bc74012c4d7bedb9f7fa31d6625be93cf3c (patch) | |
tree | d349b5fc8802d3cc9b567a8bf368a9a85bf95b28 | |
parent | wrappers: mipsel-linux-gnu: fix ac_cv_type_uid_t cache value (diff) | |
download | crossdev-9e889bc74012c4d7bedb9f7fa31d6625be93cf3c.tar.gz crossdev-9e889bc74012c4d7bedb9f7fa31d6625be93cf3c.tar.bz2 crossdev-9e889bc74012c4d7bedb9f7fa31d6625be93cf3c.zip |
crossdev: write profiles/repo_name
PMS requires it, the key in layout.conf isn't enough. Noticed after
pkgcraft rightly complained about it.
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | crossdev | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1490,6 +1490,12 @@ set_metadata() { $(printf '%b' "${this_manifests}") EOF + if [[ ! -f "${CROSSDEV_OVERLAY}"/profiles/repo_name ]] ; then + cat <<-EOF > "${CROSSDEV_OVERLAY}"/profiles/repo_name || die "could not write ${CROSSDEV_OVERLAY}/profiles/repo_name" + ${repo_name} + EOF + fi + # If there is no repos.conf entry for the output overlay, create one here if [[ -n ${CROSSDEV_OVERLAY_CREATE_REPOS_CONF} ]]; then cat <<-EOF > "${CROSSDEV_OVERLAY_CREATE_REPOS_CONF}" || die "could not create the repo conf" |