[yocto] [meta-selinux][PATCH 0/4] Begin mingrating bbappends to use wildcards in place of version numbers.

Randy MacLeod randy.macleod at windriver.com
Tue Feb 11 12:11:27 PST 2014


On 14-02-06 10:09 PM, Philip Tricca wrote:
> The current trend in OE recipes seems to use a wildcard in place of version numbers for bbappends. AFAIK this is a relatively new feature but a welcome one. This is a sort of RFC in that I think it's probably best for meta-selinux to use this mechanism to keep from having to rename bbappends everytime something in oe-core changes. I guess the right way to implement this is to change the bbappends in meta-selinux when the version numbers change upstream.
>

Hi Philip,

This might work out but I'm somewhat attached to the manual process.
Manual matching shows that someone is:
    - paying attention,
    - fixed the bbappend version number,
    - gotten someone else to review,
    - hopefully built the software for at least one arch,
    - hopefully tested run-time for at least one arch.

With a wildcard matching rule, there will be times when the
underlying package has changed and then the recipe changes and
perhaps code patches still apply but are to some extent broken.
Have people accepted this as a possible outcome that they
believe will be rare? Have you tried your approach with a few
different oe-core baselines such as dora, random, master?

I'm not agaist this change but I'm trying to be sure that people
agree that it's a good approach and that we've tested the idea
with some historical changes.

Thanks,

../Randy


> Philip Tricca (4):
>    busybox: Use wildcard for version number in busybox bbappend.
>    libcgroup: Use wildcard for version number in libcgroup bbappend.
>    sudo: Use wildcard for version number in sudo bbappend.
>    libxcb: Use wildcard for version number in libxcb bbappend.
>
>   recipes-core/busybox/busybox_%.bbappend        |   87 ++++++++++++++++++++++++
>   recipes-core/busybox/busybox_1.21.1.bbappend   |   87 ------------------------
>   recipes-core/libcgroup/libcgroup_%.bbappend    |   12 ++++
>   recipes-core/libcgroup/libcgroup_0.38.bbappend |   12 ----
>   recipes-extended/sudo/sudo_%.bbappend          |    3 +
>   recipes-extended/sudo/sudo_1.8.8.bbappend      |    3 -
>   recipes-graphics/xcb/libxcb_%.bbappend         |    8 +++
>   recipes-graphics/xcb/libxcb_1.9.3.bbappend     |    8 ---
>   8 files changed, 110 insertions(+), 110 deletions(-)
>   create mode 100644 recipes-core/busybox/busybox_%.bbappend
>   delete mode 100644 recipes-core/busybox/busybox_1.21.1.bbappend
>   create mode 100644 recipes-core/libcgroup/libcgroup_%.bbappend
>   delete mode 100644 recipes-core/libcgroup/libcgroup_0.38.bbappend
>   create mode 100644 recipes-extended/sudo/sudo_%.bbappend
>   delete mode 100644 recipes-extended/sudo/sudo_1.8.8.bbappend
>   create mode 100644 recipes-graphics/xcb/libxcb_%.bbappend
>   delete mode 100644 recipes-graphics/xcb/libxcb_1.9.3.bbappend
>


-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350



More information about the yocto mailing list