Include B in image only if A is used

Nicolas Dechesne


what would be the proper/best mechanism to enforce that package_B is included in an image only if package_A is also included? This is mostly a 'BSP' fixup. My current need is that for a given machine, we need a custom/specific networkmanager configuration file. So I would like from the BSP layer to ensure that if anyone builds an image with networkmanager, then my networkmanager-custom-config package is also added.

of course, I can do a bbappend, but that make networkmanager 'machine' specific.. is there anything else that could be done from the BSP layer? Any existing hook or event I could use?


Join to automatically receive all group messages.