Yocto image rootfs
Skill Higangssh/yocto-agent-skills/skills/yocto-image-rootfs
Official-doc-first Yocto Project and BitBake skills for AI coding agents
npx -y skills add Higangssh/yocto-agent-skills --skill yocto-image-rootfsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Debug and review Yocto image recipes, IMAGE_INSTALL, IMAGE_FEATURES, package groups, do_rootfs failures, package manager errors, postinstall scripts, pkgdata lookups, package feeds, and missing packages in root filesystems. Use when packages do not appear in images, rootfs construction fails, image features behave unexpectedly, or the user needs image/rootfs guidance.
SKILL.md
2.3 KB, as published. Nobody here has run it
Yocto Image Rootfs
Use this skill for image composition and root filesystem problems. Distinguish recipe names, package names, package groups, image features, and rootfs package manager behavior before suggesting fixes.
Evidence
Ask for or inspect:
image recipe or local.conf change
failing do_rootfs log
IMAGE_INSTALL / IMAGE_FEATURES / EXTRA_IMAGE_FEATURES
PACKAGE_CLASSES
DISTRO_FEATURES / MACHINE_FEATURES
package name being installed
oe-pkgdata-util output
Useful commands:
bitbake -e <image> | rg '^(IMAGE_INSTALL|IMAGE_FEATURES|EXTRA_IMAGE_FEATURES|PACKAGE_CLASSES|DISTRO_FEATURES|MACHINE_FEATURES)='
bitbake -c rootfs <image>
oe-pkgdata-util list-pkgs | rg '<name>'
oe-pkgdata-util lookup-recipe <package>
oe-pkgdata-util find-path '*/usr/bin/<tool>'
Review Rules
- Use runtime package names in
IMAGE_INSTALL, not assumed recipe names. - Prefer image recipes or package groups for product images; keep
local.confchanges local. - Use
IMAGE_FEATURESin image recipes andEXTRA_IMAGE_FEATURESin local configuration. - Check package group recipes when adding groups of related packages.
- For
do_rootfsfailures, inspect package conflicts, missing providers, license policy, postinstall scripts, and package manager backend. - Do not use
DEPENDSto add software to an image.
References
- Read ../../references/yocto/image-rootfs.md.
- Read ../../references/bitbake/variables-core.md for
IMAGE_INSTALL,IMAGE_FEATURES, and package variables. - Read ../../references/bitbake/tasks-reference.md for
do_rootfs,do_image, and package tasks.
Output
Answer with:
- recipe name vs package name status
- exact variable or image recipe change
- command to prove package availability
- rootfs validation command
- official-doc section to verify