On 02/10/2013 03:45 PM, Andreas K. Huettel wrote:
> Am Montag, 11. Februar 2013, 00:34:19 schrieb Michał Górny:
> 
>>>
>>> actually *do* to one's system?
>>
>> Out of curiosity, does portage suggest switching to the new profiles
>> even if it doesn't support its EAPI?
> 
> Unfortunately, it seems yes. (Feature request?)

It's possible to include additional instructions in the deprecated file.
All lines after the first one as upgrade instructions.

For future portage versions, I've fixed it to behavior better:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=34d8c817080f34f1a0b44cf05b99beacfc0d6314

This fix updates the profile deprecation warning to look like this:

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:
        default/linux/x86/13.0/desktop

!!! Unable to parse profile:
'/usr/portage/profiles/default/linux/x86/13.0/desktop'
!!! ParseError: Profile contains unsupported EAPI '5':
'/usr/portage/profiles/eapi-5-files/eapi'

 * You must update portage before you can migrate to the above profile.
 * In order to update portage, run 'emerge --oneshot portage'.
-- 
Thanks,
Zac

Reply via email to