-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Unexpected behavior you saw
In the phosphor-networkd recipe, the PACKAGECONFIG[persist-mac] option is defined as:
PACKAGECONFIG[persist-mac] = "-Dpersist-mac=true, -persist-mac=false,,"
The disable argument is missing the -D prefix. As a result, Meson receives -persist-mac=false, which is an invalid argument and is ignored.
Expected behavior
The recipe should pass a valid disable flag to Meson so that removing the option actually disables it:
PACKAGECONFIG[persist-mac] = "-Dpersist-mac=true,-Dpersist-mac=false,,"
To Reproduce
Steps to reproduce the behavior:
- In a bbappend, add: PACKAGECONFIG:remove = "persist-mac".
- Build or run phosphor-networkd.
- Observe the meson configure command line includes -persist-mac=false (missing -D) and Meson errors with Unknown arguments, causing the task to fail.
Screenshots
OpenBMC Information:
meta-phosphor/recipes-phosphor/network/phosphor-network_git.bb (line defining PACKAGECONFIG[persist-mac]).
Metadata
Metadata
Assignees
Labels
No labels