Bug 16461 - AUH: support running against more layers, maintainer lists
Summary: AUH: support running against more layers, maintainer lists
Status: ACCEPTED
Alias: None
Product: Automated Update Handler
Classification: Yocto Project Subprojects
Component: Automatic Update Handler (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 6.2
Assignee: Trevor Gamblin
QA Contact: apoorv sangal
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-10-19 18:16 UTC by Trevor Gamblin
Modified: 2026-10-22 15:14 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor Gamblin 2026-10-19 18:16:01 UTC
I'd like to enable AUH for the meta-riscv layer, so that we can automatically update custom recipes (e.g. linux-mainline.bb, which is a catch-all for multiple BSPs which build with differing SRC_URI lists and options). Additionally, it would be good to support supplemental maintainer lists so that if a project beyond OE-core wants to assign its own maintainers for recipes, they can run AUH and receive update notices. Is this something worth doing?
Comment 1 Trevor Gamblin 2026-10-19 18:17:54 UTC
Worth noting that there are some edge cases to handle if this is of interest, too. For example, in meta-riscv we have linux-mainline.bb, which contains SRC_URI lists and various configs (via override) for multiple different BSPs. It also inherits from linux-yocto.inc indirectly, which has RECIPE_NO_UPDATE_REASON set, so it gets ignored by default by AUH. We could override that in the recipe, but it may also be worth adding some extra logic for such cases.
Comment 2 Alexander Kanavin 2026-10-20 08:45:07 UTC
I think AUH already has support for updating layers other than oe-core, and some people use it for that purpose? 

https://git.yoctoproject.org/auto-upgrade-helper/tree/upgrade-helper.conf#n135
# This can be used to upgrade recipes in a specific layer,
# for example meta-intel, instead of upgrading oe-core recipes.
#
# When layer_mode is enabled, layer_name, layer_dir are
# mandatory. 'blacklist' setting does not apply when in layer_mode.
#layer_mode=no
#layer_name=meta-intel
#layer_dir=DIR/meta-intel

And maintainer lists similarly are supported in non oe-core layers:

meta/conf/distro/defaultsetup.conf:
include_all conf/distro/include/maintainers.inc

If you find something is still missing and  can propose patches, that would be very welcome. Just please try to avoid the usual AI pitfalls: long-winded commit messages that do not help, or massive amounts of newly added, copy-paste-slightly-tweaked test cases etc. :)