Hi, Am Mittwoch, dem 18.10.2023 um 11:08 +0200 schrieb Alexander Kanavin: > Ugh, that's a really ugly hack in meta-rauc. They shouldn't force > themselves into all images that way. You should file a ticket.
it's not really that it's 'forced' into all image. The .bbappend just says: > require ${@bb.utils.contains('DISTRO_FEATURES', 'rauc', '${BPN}_rauc.inc', > '', d)} The assumption was that if you have 'rauc' in you DISTRO_FEATURES, you want to install it. And this was just the best way I saw to automatically end up in base images for this case while ensuring that we do not modify the base packagegroup unconditionally. A step back: I would expect that a recovery image is exactly where you would want RAUC to be available to recover you rootfs by installing a valid bundle, or? Anyway, feel free to file an issue or a discussion at https://github.com/rauc/meta-rauc 🙂 Regards, Enrico > I would suggest either dropping rauc from DISTRO_FEATURES globally > (that may have unwanted side effects though and you should check what > else that affects), or using BBMASK as shown in reference manual to > blacklist the offending bbappend, e.g. something like: > > BBMASK += "/meta-ti/recipes-misc/ meta-ti/recipes-ti/packagegroup/" > > > Alex > > On Wed, 18 Oct 2023 at 11:00, Ivan Stojanovic <ivastojano...@gmail.com> wrote: > > > > We have 2 images, adios-image-standard and adios-image-recovery. > > In adios-image-standard, I want to have rauc. > > In adios-image-recovery due to lack of space, I want to remove it. It is a > > part of it since it > > is in DISTRO_FEATURES. > > > > In meta-rauc layer, they add rauc to pacakgegroup-base: > > https://github.com/rauc/meta-rauc/blob/kirkstone/recipes-core/packagegroups/packagegroup-base.bbappend > > via > > https://github.com/rauc/meta-rauc/blob/kirkstone/recipes-core/packagegroups/packagegroup-base_rauc.inc > > . > > > > I tried removing it with PACKAGE_EXCLUDE: > > PACKAGE_EXCLUDE = "\ > > packagegroup-base-rauc \ > > " > > as well as > > PACKAGE_EXCLUDE = "\ > > rauc \ > > rauc-mark-good \ > > rauc-service \ > > " > > I also tried with: > > RDEPENDS:packagegroup-base:remove "packagegroup-base-rauc" > > > > But in both cases I get that error. > > I do not have any idea how I could remove it from DISTRO_FEATURES for that > > image. I think that > > is not possible. > > > > If I remove it "manually" using ROOTFS_POSTPROCESS_COMMAND, I have to take > > care of all > > dependencies as well and it would be still be visible in .manifest file > > that it is there > > although it is not. > > > > That is why I am looking for a more elegant way to achive it. > > > > Thanks! > > > > > > > > > -- Pengutronix e.K. | Enrico Jörns | Embedded Linux Consulting & Support | https://www.pengutronix.de/ | Steuerwalder Str. 21 | Phone: +49-5121-206917-180 | 31137 Hildesheim, Germany | Fax: +49-5121-206917-9 |
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61392): https://lists.yoctoproject.org/g/yocto/message/61392 Mute This Topic: https://lists.yoctoproject.org/mt/102035396/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-