aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-09-15 20:08:02 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-09-15 20:08:02 +0200
commit06d3c9a7d81c6bde33575183827fe06c3446a3c7 (patch)
tree8dc7b0501cef81f0faf815c05d1ce778bcfbefb5
parentg_sorcery/backend: add checking for installed overlays and fix overlay names ... (diff)
downloadg-sorcery-06d3c9a7d81c6bde33575183827fe06c3446a3c7.tar.gz
g-sorcery-06d3c9a7d81c6bde33575183827fe06c3446a3c7.tar.bz2
g-sorcery-06d3c9a7d81c6bde33575183827fe06c3446a3c7.zip
g_sorcery/backend: add gentoo entry to masters
-rw-r--r--g_sorcery/backend.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/g_sorcery/backend.py b/g_sorcery/backend.py
index fb5e698..49b80fd 100644
--- a/g_sorcery/backend.py
+++ b/g_sorcery/backend.py
@@ -497,6 +497,8 @@ class Backend(object):
return -1
masters_overlays.append(overlays_info[repo]["repo-name"])
+ masters_overlays.append("gentoo")
+
overlays_info[args.repository] = {"repo-name": os.path.basename(overlay), "path": overlay}
with open(os.path.join(overlay, 'metadata', 'layout.conf'), 'w') as f:
f.write("repo-name = %s\n" % os.path.basename(overlay))