# Yocto Image Rootfs

> 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.

- **Type:** Skill
- **Install:** `agentstack add skill-higangssh-yocto-agent-skills-yocto-image-rootfs`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Higangssh](https://agentstack.voostack.com/s/higangssh)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Higangssh](https://github.com/Higangssh)
- **Source:** https://github.com/Higangssh/yocto-agent-skills/tree/main/skills/yocto-image-rootfs

## Install

```sh
agentstack add skill-higangssh-yocto-agent-skills-yocto-image-rootfs
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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:

```text
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:

```bash
bitbake -e  | rg '^(IMAGE_INSTALL|IMAGE_FEATURES|EXTRA_IMAGE_FEATURES|PACKAGE_CLASSES|DISTRO_FEATURES|MACHINE_FEATURES)='
bitbake -c rootfs 
oe-pkgdata-util list-pkgs | rg ''
oe-pkgdata-util lookup-recipe 
oe-pkgdata-util find-path '*/usr/bin/'
```

## Review Rules

- Use runtime package names in `IMAGE_INSTALL`, not assumed recipe names.
- Prefer image recipes or package groups for product images; keep `local.conf` changes local.
- Use `IMAGE_FEATURES` in image recipes and `EXTRA_IMAGE_FEATURES` in local configuration.
- Check package group recipes when adding groups of related packages.
- For `do_rootfs` failures, inspect package conflicts, missing providers, license policy, postinstall scripts, and package manager backend.
- Do not use `DEPENDS` to add software to an image.

## References

- Read [../../references/yocto/image-rootfs.md](../../references/yocto/image-rootfs.md).
- Read [../../references/bitbake/variables-core.md](../../references/bitbake/variables-core.md) for `IMAGE_INSTALL`, `IMAGE_FEATURES`, and package variables.
- Read [../../references/bitbake/tasks-reference.md](../../references/bitbake/tasks-reference.md) for `do_rootfs`, `do_image`, and package tasks.

## Output

Answer with:

1. recipe name vs package name status
2. exact variable or image recipe change
3. command to prove package availability
4. rootfs validation command
5. official-doc section to verify

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Higangssh](https://github.com/Higangssh)
- **Source:** [Higangssh/yocto-agent-skills](https://github.com/Higangssh/yocto-agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-higangssh-yocto-agent-skills-yocto-image-rootfs
- Seller: https://agentstack.voostack.com/s/higangssh
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
