I think we sort of decided to do a partial migration to a new profiles
format. We'll start with the following:

parent is now called parents.conf, same format as before.

options.conf is now used for options. The format is the same as
options.conf for Paludis, with a few shiny extras:

* You can mask a flag using (-flag), or force it using (flag). To
  unlock a flag, use either -flag or flag in a child profile. There's
  currently no way of unlocking a flag without changing its default,
  because no-one's come up with a nice syntax for it.

* There's a bit of magic done with */* specs, which means SUBOPTIONS is
  now defined in base/ as */* SUBOPTIONS: FOO BAR BAZ. Do not attempt
  to set SUBOPTIONS anywhere except base/ in arbor for now, and do not
  attempt to define it on anything other than */*; we'll work on those
  later. HIDDEN_SUBOPTIONS can be defined in subprofiles (and is, for
  CPU features), but again must be on */*.

make.defaults is no longer used for options things. One change is that,
for now, you'll have to define a var like ACCEPT_PLATFORMS="x86" in
make.defaults, which is used by NoConfig clients. This is probably
temporary.

There's a package_mask.conf with the expected syntax.

Other things remain the same for now.

By default, Paludis will carry on using the old profile format. To use
the new format, set 'profile_layout = exheres' in your repo config.
This is temporary.

I've committed a hacky basic x86 profile, which is living in parallel
alongside old profiles, so either will work for now. I've not done
other archs.

All this should be considered experimental, and as a starting point for
playing around. Feel free to do other profiles, tidy up x86, write a
whole new profile structure from scratch or whatever. Don't break
existing profiles, though.

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Exherbo-dev mailing list
[email protected]
http://lists.exherbo.org/mailman/listinfo/exherbo-dev

Reply via email to