aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metadata/layout.conf4
-rw-r--r--profiles/arch.list4
-rw-r--r--profiles/arches.desc4
-rw-r--r--profiles/default/linux/amd64/17.0/x32/package.mask (renamed from profiles/profiles/default/linux/amd64/17.0/x32/package.mask)0
-rw-r--r--profiles/default/linux/amd64/17.0/x32/parent9
-rw-r--r--profiles/profiles.desc6
6 files changed, 27 insertions, 0 deletions
diff --git a/metadata/layout.conf b/metadata/layout.conf
index 91f5b7f8c..a65ab94ad 100644
--- a/metadata/layout.conf
+++ b/metadata/layout.conf
@@ -48,3 +48,7 @@ thin-manifests = true
# Sign Git commits, and NOT Manifests
sign-commits = true
sign-manifests = false
+
+# Part of ability to mask features in overlays
+# https://trofi.github.io/posts/201-masking-a-package-in-gentoo-overlay.html
+profile-formats = portage-2
diff --git a/profiles/arch.list b/profiles/arch.list
new file mode 100644
index 000000000..5ed7343ce
--- /dev/null
+++ b/profiles/arch.list
@@ -0,0 +1,4 @@
+# Theo Anderson <telans@posteo.de> (2021-01-06)
+# New arch created for the purpose of hiding profiles.
+# Assuming no one sets KEYWORDS="~hidden"
+hidden
diff --git a/profiles/arches.desc b/profiles/arches.desc
new file mode 100644
index 000000000..99924d624
--- /dev/null
+++ b/profiles/arches.desc
@@ -0,0 +1,4 @@
+# Theo Anderson <telans@posteo.de> (2021-01-06)
+# Masked the new hidden arch as testing to keep
+# in line with no stable packages in ::guru
+hidden testing
diff --git a/profiles/profiles/default/linux/amd64/17.0/x32/package.mask b/profiles/default/linux/amd64/17.0/x32/package.mask
index 4f9228f91..4f9228f91 100644
--- a/profiles/profiles/default/linux/amd64/17.0/x32/package.mask
+++ b/profiles/default/linux/amd64/17.0/x32/package.mask
diff --git a/profiles/default/linux/amd64/17.0/x32/parent b/profiles/default/linux/amd64/17.0/x32/parent
new file mode 100644
index 000000000..9f3a62d88
--- /dev/null
+++ b/profiles/default/linux/amd64/17.0/x32/parent
@@ -0,0 +1,9 @@
+# Theo Anderson <telans@posteo.de> (2021-01-06)
+# Paths relative to `profiles`. The first line denotes the
+# parent profile which should inherit any changes we make here.
+# The second line points to the location where the appropriate
+# masks or forces(?) are. It is important to keep the
+# changes separated per profile/feature in case a
+# parent profile picks up on changes intended for a different profile.
+gentoo:default/linux/amd64/17.0/x32
+:default/linux/amd64/17.0/x32
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
new file mode 100644
index 000000000..f2ac76066
--- /dev/null
+++ b/profiles/profiles.desc
@@ -0,0 +1,6 @@
+# Theo Anderson <telans@posteo.de> (2021-01-06)
+# Create profiles with the hidden arch where dependency conflicts
+# arise and masks are needed. They must match :gentoo profiles.
+# Using parent files within the profiles allows gentoo: profiles
+# to inherit any ::guru masks we choose.
+hidden default/linux/amd64/17.0/x32 dev