azldev-overlay-metadata
Skill5.3k starsChanged 2 months agoMITView on GitHub
Read this before adding or reviewing an overlay `metadata` table; do not guess the category or upstream status from memory. Explains the overlay metadata schema that documents why an overlay exists and when it can be dropped, covering the required category and upstream-status values, commit/bug URL references, and the per-file overlay metadata block. Triggers include overlay metadata, category, upstream-status, upstream-backport, azl-pruning, azl-branding-policy, needs-upstream-hook, why overlay.
Trending
Quiet since September.about the whole repository
Who's talking about microsoft/azurelinux
- A Hacker News story“Microsoft's Azure Linux”Hacker News · Jan 29, 2026 · 66 points
- @blowdart.me“github.com/microsoft/az...”Bluesky · Dec 13, 2024 · 10 likes
- A Hacker News story“Microsoft Azure Linux”Hacker News · May 19, 2026 · 4 points
- @matsuu.bsky.social“Microsoft、従来CBL-Marinerと呼んでいた自家製Linuxディストリビューションの名称をAzure Linuxに変更した模様。わいわい”Bluesky · Mar 10, 2024 · 4 likes
- project-copacetic/copacetic“[BUG] copa overwrites /usr/sbin symlink for mariner distroless/debug”GitHub · Nov 26, 2024 · 3 reactions
The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 40
Talked about on GitHub, Bluesky and Hacker News (40 times).
On GitHub · 26
- Nov 26, 2024[BUG] copa overwrites /usr/sbin symlink for mariner distroless/debug — project-copacetic/copacetic3 reactions · 1 comment
- Sep 7, 2025Release Expat 2.7.2 (ETA 2025-09-16) — libexpat/libexpat2 reactions
- May 28, 2025Add shadow-utils to our AZL3 images — dotnet/dotnet-buildtools-prereqs-docker2 reactions · 2 comments
- Mar 25, 2025Release Expat 2.7.1 (ETA 2025-03-27) — libexpat/libexpat2 reactions · 2 comments
- Sep 18, 2026Support Azure Linux 3 — microsoft/nvx1 reaction · 1 comment
21 more on GitHub
- Jun 10, 2024Add Azure Linux OS — repology/repology-updater1 reaction · 3 comments
- May 20, 2024Latest Azure Linux 3.0 drop is getting TLS error during `dotnet restore` — dotnet/dotnet-docker1 reaction · 1 comment
- Mar 19, 2024cbl-mariner images don't include useradd — microsoft/go1 reaction · 5 comments
- Sep 18, 2026feat(config): add VM SKU groups for test fan-out — microsoft/azure-linux-dev-tools0 reactions
- Jul 27, 2026Add Support For AzureLinux 4.0 — microsoft/WSL0 reactions · 6 comments
- Jul 8, 2026[New Product] Azure Linux — endoflife-date/endoflife.date0 reactions · 1 comment
- Jul 3, 2026Azure Linux 4.0 base image — alanta/azure-egress-proxy0 reactions · 2 comments
- Apr 2, 2026when running `azldev config dump` images return only an absolute path — microsoft/azure-linux-dev-tools0 reactions
- Sep 2, 2025Enable `CONFIG_INET_DIAG_DESTROY` kernel config in the Docker Desktop's linuxkit kernel — docker/roadmap0 reactions
- Aug 6, 2025[RFE] Enable CONFIG_INET_DIAG_DESTROY — flatcar/Flatcar0 reactions · 18 comments
- Jul 25, 2025Consume expanded BTF info on Azure Linux — microsoft/retina0 reactions
- May 11, 2025Update install.sh to ignore mkdir errors — microsoft/KeysInUse-OpenSSL0 reactions
- Mar 10, 2025This is an auto-generated pull request to cherry-pick commit 328a3a73fcdb595b632250fda537fa4037aa55f1 to 3.0-dev. Original PR: #12825 — Pitan1993/NiceHashBot0 reactions
- Mar 10, 2025This is an auto-generated pull request to cherry-pick commit 328a3a73fcdb595b632250fda537fa4037aa55f1 to 3.0-dev. Original PR: #12825 — nicehash/NiceHashMiner0 reactions · 2 comments
- Feb 4, 2025CVE-2024-46854 CVE-2024-43849 CVE-2024-46852 CVE-2024-46853 CVE-2024-41080 CVE-2024-46849 CVE-2024-50086 CVE-2024-47671 CVE-2022-48635 CVE-2024-43834 CVE-2024-36893 CVE-2024-46695 CVE-2024-43846 CVE-2024-50036 CVE-2024-47672 CVE-2024-44931 CVE-2024-50058 CVE-2024-46858 CVE-2024-43835 CVE-2024-36972 — solflare-wallet/utl-aggregator0 reactions
- Nov 26, 2024LiveOS ISOs cannot boot when SELinux is enabled — dracut-ng/dracut0 reactions · 10 comments
- Sep 18, 2024Extension fails on Azure Linux 3.0 as an unsupported distro — Azure/Guest-Configuration-Extension0 reactions · 1 comment
- Sep 5, 2024Request: New azurelinux tags — PowerShell/PowerShell-Docker0 reactions
- Aug 1, 2024Won't build due to error obtaining VCS status: exit status 128 (and workaround) — cblichmann/btrfscue0 reactions · 1 comment
- Mar 28, 2024FYI issue reported to CBL-mariner: tdnf cannot install ca-certificates due to certificate error — microsoft/wslg0 reactions · 3 comments
- Aug 22, 2022Add support for cgmanifest — aboutcode-org/scancode-toolkit0 reactions
On Bluesky · 11
- Dec 13, 2024github.com/microsoft/az... — @blowdart.me10 likes and reposts · 1 reply
- Mar 10, 2024Microsoft、従来CBL-Marinerと呼んでいた自家製Linuxディストリビューションの名称をAzure Linuxに変更した模様。わいわい — @matsuu.bsky.social4 likes and reposts
- May 19, 2026So Microsoft have a new server OS eh? Azure Linux https://github.com/microsoft/azurelinux — @ruari.velocipederider.com.ap.brid.gy2 likes and reposts · 2 replies
- Jun 6, 2026Microsoft circa 2000: Linux is communism Microsoft now: Has it's own Linux OS github.com/microsoft/az... — @martin-s.bsky.social1 likes and repost · 1 reply
- May 19, 2026Azure Linuxのリモートリポジトリはこちら github.com/microsoft/az... — @woodstream.jp1 likes and repost
6 more on Bluesky
- Jan 29, 2026Microsoft's Azure Linux Discussion | hackernews | Author: AbuAssar — @news.karthihegde.dev1 likes and repost
- Jan 29, 2026Microsoft's Azure Linux | Discussion — @hackernewsbot.bsky.social1 likes and repost
- Oct 8, 2025they do!! github.com/microsoft/az... — @jon.me.uk1 likes and repost
- Dec 11, 2024github.com/microsoft/az... — @mahdi.simply-vibing.com1 likes and repost
- Sep 25, 2024📦 microsoft / azurelinux ⭐ 4,196 (+18) 🗒 RPM Spec Linux OS for Azure 1P services and edge appliances — @github-trending.bsky.social1 likes and repost
- Sep 25, 2024今日のGitHubトレンド microsoft/azurelinux CBL-Marinerは、マイクロソフトのクラウドインフラおよびエッジ製品・サービス向けのLinuxディストリビューションです。… — @dailygithubtrends.bsky.social1 likes and repost
On Hacker News · 3
- Jan 29, 2026Microsoft's Azure Linux66 points · 109 comments
- May 19, 2026Microsoft Azure Linux4 points
- Sep 23, 2024Microsoft Azure Linux (cloud v3 and not Wal)2 points · 1 comment
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- base/comps/AGENTS.mdAGENTS.md
- distro/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- azldev-add-componentSkill
- azldev-build-componentSkill
- azldev-comp-tomlSkill
- azldev-imageSkill
- azldev-mockSkill
- azldev-overlaysSkill
- azldev-remove-componentSkill
- azldevSkill
- azldev-update-componentSkill
- skill-aks-healthSkill
- skill-deployment-contextSkill
- skill-fedora-mirror-injectionsSkill
- skill-koji-triageSkill
- skill-kql-queriesSkill
- skill-mass-triageSkill
- skill-metricsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Every overlay documents *why* it exists (description, required) and *what class of change* it is (metadata).
- Very specific: line 58
Backport vs. compatibility/pruning: if the exact change exists as a commit in Fedora dist-git or the upstream project, it is …
- Very specific: line 134
Use inline metadata only when the component is already inline and you are not restructuring it.
- Very specific: line 147
Use the sub-table form whenever you need a list (commits, bugs) or more than a couple of fields:
- Very specific: line 173
If you also moved overlays into files, prove the apply order was preserved with azldev comp diff-sources -p <name> before and after — any …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Overlay metadata — pick a category and annotate
Every overlay documents why it exists (description, required) and what class
of change it is (metadata). When a [metadata] block is present it requires both
a category and an upstream-status. This skill covers how to pick the right values,
attach provenance, and write the TOML at the moment you author or review an overlay.
Metadata is pure documentation — it never changes the rendered spec and is excluded
from component fingerprints, so adding or editing it never invalidates build caches or
locks. For overlay types and the render-and-inspect loop, read the azldev-overlays
skill; this skill is only about the metadata table.
One [metadata] block = one logical change
A single logical change (a CVE backport, a feature disablement, a Fedora cherry-pick)
may need several overlays — e.g. remove a sub-package and drop the configure flags
that went with it. The per-file overlay format (overlay-files) captures exactly this:
one top-level [metadata] table and one or more [[overlays]] entries it applies to.
Per-overlay metadata inside an overlay file is rejected — the file-level block is
the single source of truth.
So: if you find yourself stamping the same metadata on several inline overlays, that is
a signal they are one logical change — move them into a single overlay file with one
[metadata] block.
When to add metadata
- New overlay (any inline
[[components.<name>.overlays]]block or[[overlays]]entry in an overlay file): addmetadatawith both acategoryand anupstream-status. - An overlay's intent changed (e.g. a prune becomes a backport): update the
categoryandupstream-statusto match the new intent.
Step 1 — Pick the category
Choose exactly one category from this closed set (authoritative — matches
metadata.category in the schema):
category | Use when the overlay… | Extra required/expected fields |
upstream-backport | Backports a fix from an upstream source (Fedora dist-git or the component's OSS project) that AZL will inherit once it bumps past the fix. Self-resolves on version bump. | commits (≥1 upstream commit URL) — required. upstream-status must be upstreamed or upstreamable. |
azl-pruning | Removes content for AZL: unshipped deps, unneeded features, sub-packages, or files. | — |
azl-compatibility | Adapts a component to how Azure Linux is built and shipped — build tooling, buildroot, infrastructure, runtime ecosystem — when upstream builds/behaves incorrectly for AZL-specific reasons that are not branding, a missing dependency, architecture, or tests (e.g. azldev downloader quirks, rpmdiff reproducibility, buildroot gaps, Fedora version-skew). | — |
azl-temp-workaround | Temporary workaround explicitly intended to be dropped once an upstream or environmental fix lands. Covers a dependency not yet imported into AZL (or unavailable on a target) and any other transient workaround waiting on an external change. | — |
azl-branding-policy | Fedora→Azure Linux identity differences: intentional name/path/vendor conventions and spec fixes for upstream code that hard-codes Fedora identity strings (e.g. _vendor=redhat, <cpu>-redhat-linux[-gnu] triples, redhat-linux-build dirs). Also covers repointing a Source/URL tag from a Fedora mirror to an Azure Linux one (e.g. azurelinux-rpm-config, golang). | — |
azl-disable-flaky-tests | Skips tests that fail intermittently / due to environmental flakiness, not a real component bug. | — |
azl-disable-unsupported-tests | Skips tests that cannot meaningfully run in AZL's build/runtime env (need network, root, or unavailable hardware in mock). | — |
azl-security-compliance | Makes FIPS or crypto-policy changes. | — |
azl-release-management | Adjusts release-tag / changelog mechanics. | — |
azl-platform-adaptation | Makes architecture-specific adjustments. | — |
Disambiguation tips
- Backport vs. compatibility/pruning: if the exact change exists as a commit in Fedora
dist-git or the upstream project, it is
upstream-backport(supplycommits, withupstream-statusofupstreamedorupstreamable). Use anazl-*category only when the change is AZL-specific with no upstream equivalent. - Pruning vs. temp-workaround: removing a dependency we deliberately don't ship is
azl-pruning; temporarily working around a dep that should exist but hasn't been imported yet (or any transient workaround waiting on an external fix) isazl-temp-workaround. - Flaky vs. unsupported tests: flaky = the test could pass but is intermittent;
unsupported = the test cannot run in mock (network/root/hardware). Require evidence of
the limitation before choosing
azl-disable-unsupported-tests; investigate or ask when the failure mode is unclear. - Compatibility vs. platform-adaptation: reserve
azl-platform-adaptationfor architecture-specific (%ifarch-style) changes; general toolchain/mock/build-env fixes areazl-compatibility.
Step 2 — Set upstream-status
Required whenever [metadata] is present. It classifies the overlay's relationship to
upstream — "why are we carrying this?" and "what would it take to drop it?" Pick exactly one:
| Value | Meaning |
upstreamed | Already in Fedora; carried only until AZL bumps past it. |
upstreamable | The patch we carry is itself upstream-shaped (or already in the OSS project but not in Fedora yet); the same diff could be sent upstream and plausibly accepted. Link the upstream PR when you can. |
needs-upstream-hook | AZL-specific change that upstream wouldn't take as-is, but upstream could add a bcond/%if/config knob so we could drop the overlay. |
inapplicable | Permanent AZL-only deviation with no upstream story (branding, deliberate pruning, enterprise policy). |
unknown | Not yet assessed. Prefer a definite value; reviewers should push back on unknown before approving. |
On an upstream-backport overlay only upstreamed and upstreamable are allowed — any
other value is a validation error.
upstreamable vs. needs-upstream-hook: upstreamable means the patch we carry is
itself upstream-shaped (send the same diff upstream); needs-upstream-hook means the
change is AZL-specific and would not be accepted as-is, but upstream could add a hook
that makes patching unnecessary.
Step 3 — Add provenance (commits, bugs)
commits— list of{ url = "..." }tables pointing at upstream commits (absolute http(s) URLs). Required forupstream-backport; optional elsewhere but valuable whenever a change traces to a specific commit. For one logical change spanning several commits, list them all. Verify each SHA actually exists upstream before recording it — a discovered-and-verified URL is not "inventing" metadata; an unverified guess is.bugs— list of{ url = "..." }tables referencing tracker entries. Never fabricate one.
Step 4 — Write the metadata (TOML forms)
Prefer the per-file layout (an overlay file loaded via overlay-files) for all new
work — even a component with a single overlay. It keeps category/commits/bugs on
their own lines (no inline-table one-line limit) and means a change never has to be
reshuffled when it grows a second overlay. One top-level [metadata] table applies to
every [[overlays]] entry in the file.
Multi-overlay change (one logical change, several overlays):
# One logical change: drop the devel sub-package AZL does not ship.
[metadata]
category = "azl-pruning"
upstream-status = "inapplicable"
[[overlays]]
description = "Remove the devel sub-package — AZL ships no -devel for this component"
type = "spec-remove-subpackage"
package = "devel"
[[overlays]]
description = "Drop the BuildRequires only the devel sub-package needed"
type = "spec-remove-tag"
tag = "BuildRequires"
value = "some-devel-only-dep"Inline forms
Use inline metadata only when the component is already inline and you are not
restructuring it. A single-line inline table must fit on one line (no lists), so it is
limited to one or two scalar fields:
[[components.rpm.overlays]]
description = "Customize RPM vendor to Azure Linux"
type = "spec-search-replace"
regex = "RPM_VENDOR=redhat"
replacement = "RPM_VENDOR=azurelinux"
metadata = { category = "azl-branding-policy", upstream-status = "inapplicable" }Use the sub-table form whenever you need a list (commits, bugs) or more than a couple
of fields:
[[components.xclock.overlays]]
description = "Pass --force to autoreconf so the build survives newer autotools"
type = "spec-search-replace"
regex = "autoreconf -i"
replacement = "autoreconf -fi"
[components.xclock.overlays.metadata]
category = "upstream-backport"
upstream-status = "upstreamed"
commits = [{ url = "https://src.fedoraproject.org/rpms/xclock/c/1e407488" }]Step 5 — Verify
Adding or editing metadata must be a no-op on the rendered spec. Re-render and confirm there is no diff:
azldev comp render -p <name>
git diff specs/If you also moved overlays into files, prove the apply order was preserved with
azldev comp diff-sources -p <name> before and after — any difference means an overlay
changed or the sequence shifted. Metadata-only edits need no rebuild or lock refresh; if
you also changed an overlay's behavior, finalize with the azldev-update-component skill.
Generated by azldev docs agent; do not hand-edit.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

