Gentoo Archives: gentoo-hardened

From: Michael Orlitzky <mjo@g.o>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] no-multilib subprofile for new 17.0 hierarchy
Date: Sat, 02 Dec 2017 15:31:49
Message-Id: 652d8ac7-1cca-9578-bf11-1a14f52e381d@gentoo.org
I tried to create this myself and nothing terrible happened. First, I
created the new directory,

  profiles/default/linux/amd64/17.0/hardened/no-multilib           (1)

So, first question: is there a preference between the two choices there,
either "17.0/hardened/no-multilib" or "17.0/no-multilib/hardened"?

In the new directory (1), I created an "eapi" file containing "5", and a
"parent" file containing

  ../../no-multilib
  ../../../../../../features/hardened/amd64

I considered using "features/hardened/amd64/no-multilib" as a parent,
but it doesn't look like anything else is doing so. So my second
question is: is "features/hardened/amd64/no-multilib" unused? And/or
should I be using it?

Finally, I added

  amd64           default/linux/amd64/17.0/hardened/no-multilib      dev

to profiles.desc. After eselecting the new profile, "emerge -uDN @world"
turns up no changes (from my old no-multilib profile).