Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265745 - savedconfig eclass should allow restore_config in src_prepare
Summary: savedconfig eclass should allow restore_config in src_prepare
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-11 10:39 UTC by Michał Górny
Modified: 2009-04-11 17:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to let restore_config() be called within src_prepare() (savedconfig.eclass.diff,824 bytes, patch)
2009-04-11 10:40 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-04-11 10:39:47 UTC
Current savedconfig's restore_config() works only in unpack & compile phases, while for EAPI=2 it would be desirable to use it within src_prepare().
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-04-11 10:40:33 UTC
Created attachment 187969 [details, diff]
Patch to let restore_config() be called within src_prepare()
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-04-11 17:36:24 UTC
Works fine. Thanks.