CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On 25 Feb 2026, at 03:40, Changqing Li via lists.openembedded.org <changqing.li=windriver.com@lists.openembedded.org> wrote:PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" +PACKAGECONFIG:append:class-target = " bash-completion" PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd" PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer" PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase" +PACKAGECONFIG[bash-completion] = "-Dbash-completion=true,-Dbash-completion=false”I can’t see any other recipes that have a PACKAGECONFIG for bash completion. Personally I’d just inherit the class and EXTRA_OEMESON:append:class-native = “ -Dbash-completion=false” as the special case is native.
Hi, Ross
Indeed, very few packages offer this PACKAGECONFIG,but both oe-core and meta-networking have one.
I checked several recipes that inherit the class but not provide the PACKAGECONFIG,
all the recipes don't provide option to disable bash-completion. I think this is why they don't provide PACKAGECONFIG.
upstream appstream provides the option to disable bash-completion, I think we should keep the upstream option.
Regards
Changqing
Ross