Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Ivan Stojanovic" <ivastojanovic@gmail.com>
To: yocto@lists.yoctoproject.org
Subject: Re: Remove packagegroup from image recipes
Date: Wed, 18 Oct 2023 02:00:30 -0700	[thread overview]
Message-ID: <30180.1697619630482083755@lists.yoctoproject.org> (raw)
In-Reply-To: <CANNYZj8P62x8q5TP59Xhajq6XNS6--Ox-G+N2pEH9hnr=Hoo=A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1291 bytes --]

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. ( 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!

[-- Attachment #2: Type: text/html, Size: 1802 bytes --]

  reply	other threads:[~2023-10-18  9:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-18  8:38 Remove packagegroup from image recipes Ivan Stojanovic
2023-10-18  8:41 ` [yocto] " Alexander Kanavin
2023-10-18  9:00   ` Ivan Stojanovic [this message]
2023-10-18  9:08     ` Alexander Kanavin
2023-10-18  9:57       ` Enrico Jörns
2023-10-18 10:09         ` Alexander Kanavin
2023-10-18 10:24           ` Enrico Jörns
2023-10-18 10:37             ` Alexander Kanavin
     [not found]             ` <178F2D5AFBF324AF.14388@lists.yoctoproject.org>
2023-10-18 10:50               ` Alexander Kanavin
2023-10-18 12:01                 ` Enrico Jörns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=30180.1697619630482083755@lists.yoctoproject.org \
    --to=ivastojanovic@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox