[oe] [PATCH] Allow % as wildcard in the end of PREFERRED_VERSION_pkg
Martin Jansa
martin.jansa at gmail.com
Mon Sep 14 21:31:32 UTC 2009
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 at gmail.com
Jansa Martin sip:jamasip at voip.wengo.fr
JaMa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090914/a608e8da/attachment-0002.sig>
More information about the Openembedded-devel
mailing list