Saturday, February 9, 2013

Gentoo 10.0 to 13.0 profiles upgrade & server profiles going away

We've generated a new set of profiles for Gentoo installation. These are now called 13.0 instead of 10.0, e.g., "default/linux/amd64/10.0/desktop" becomes "default/linux/amd64/13.0/desktop".
Everyone should upgrade as soon as possible. This brings (nearly) no user-visible changes. Some new files have been added to the profile directories that make it possible for the developers to do more fine-grained use flag masking (see PMS-5 for the details), and this formally requires a new profile tree with EAPI=5 (and a recent portage version, but anything since sys-apps/portage-2.1.11.31 should work and anything since sys-apps/portage-2.1.11.50 should be perfect).
Since the 10.0 profiles will be deprecated immediately and removed in a year, emerge will suggest a replacement on every run. I strongly suggest you just follow that recommendation.
One additional change has been added to the package: the "server" profiles will be removed; they do not exist in the 13.0 tree anymore. If you have used a server profile so far, you should migrate to its parent, i.e. from "default/linux/amd64/10.0/server" to "default/linux/amd64/13.0". This may change the default value of some use-flags (the setting in "server" was USE="-perl -python snmp truetype xml"), so you may want to check the setting of these flags after switching profile, but otherwise nothing happens.

6 comments:

  1. Great news,
    I think then this page needs a little update:
    http://www.gentoo.org/doc/en/gentoo-upgrading.xml

    ReplyDelete
    Replies
    1. I think it's mostly fine... it just contains a lot of by now useless information for very old upgrades...

      Delete
  2. Pretty disappointed about the server profiles going away... We've used them for about a year, they worked quite well.

    ReplyDelete
    Replies
    1. Well, they did not provide any additional value. Just use the parent profile, you get the same effect.

      Delete
  3. Do you think there will be a 13.N later in the year? I'm a bit scared of the udev etc. changes and would like to wait for a bug fix profile so the upgrade is more guaranteed to go smoothly.

    ReplyDelete
    Replies
    1. Very unlikely. We had to do the "version bump" because of the EAPI requirement, but all subsequent fixes will now be done in place. Please upgrade the profile. The whole udev issue is an entirely separate mess.

      Delete