On Mon, Sep 14, 2009 at 01:39:50PM -0300, Otavio Salvador wrote:
I personally like the idea but could you make clear your usercase?
I had problem when using _git or _svn versions with AUTOREV.
When there is SRCREV or SRCPV in PV of that bb file you would like to use then
you need to update PREFERRED_VERSION_pkg with every new commit or just
make sure that _git or _svn version has highest DEFAULT_PREFERENCE.
Setting DEFAULT_PREFERENCE to -1 in all non _git bb files is bad,
because then every distro using that package will get pkg_git.bb, in
contrast to setting PREFERRED_VERSION_pkg for just one distro or machine.
With this wildcard I can set ie
PREFERRED_VERSION_xserver-xorg = "1.6.999+git%"
and there is only one xserver-xorg with PV="1.6.999+gitr${SRCPV}" in my
tree.
--
uin:136542059 jid:Martin.Jansa@...
Jansa Martin sip:jamasip@...
JaMa