From 9e889bc74012c4d7bedb9f7fa31d6625be93cf3c Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 4 May 2024 12:44:11 +0100 Subject: 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 --- crossdev | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crossdev b/crossdev index 7a5ad37..1a63bb8 100755 --- a/crossdev +++ b/crossdev @@ -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" -- cgit v1.2.3-65-gdbad