aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'crossdev')
-rwxr-xr-xcrossdev6
1 files changed, 6 insertions, 0 deletions
diff --git a/crossdev b/crossdev
index 1a63bb8..5eef531 100755
--- a/crossdev
+++ b/crossdev
@@ -1496,6 +1496,12 @@ set_metadata() {
EOF
fi
+ if [[ ! -f "${CROSSDEV_OVERLAY}"/profiles/eapi ]] ; then
+ cat <<-EOF > "${CROSSDEV_OVERLAY}"/profiles/eapi || die "could not write ${CROSSDEV_OVERLAY}/profiles/eapi"
+ ${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"