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!