bsp-image-build

Builds flashable RDK X3/X5 system images using pack_image.sh with explicit configuration selection.

3|Updated Aug 6, 2026
One-click install
npx skills add https://github.com/D-Robotics/rdk-skills --skill bsp-image-build-d-robotics
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bsp-image-build
Source: https://github.com/D-Robotics/rdk-skills/tree/main/skills/bsp-image-build
Command: npx skills add https://github.com/D-Robotics/rdk-skills --skill bsp-image-build-d-robotics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a complete, flashable RDK OS image requires choosing the correct board, Ubuntu flavor, release channel, and build config, plus managing large downloads and sudo builds. This Skill guides the agent through the official pack_image.sh workflow so the resulting .img matches the intended X3/X5 release instead of a mismatched or failed build. ## Core Features & Use Cases - Guided image configuration: Collects explicit selections for board (X3/X5), desktop/server, beta/release, source checkout, and free disk space, then derives and verifies the exact build_params config file before building. - Third-party deb preinstallation: Validates a user-supplied .deb and places it in third_packages/ so it is installed into the image filesystem during packing. - Cost and safety gating: Explains download size, build time, and sudo requirements, and refuses to run pack_image.sh until the user confirms the full build plan. - Use Case: A developer asks for an RDK X5 desktop release image with a custom deb preinstalled; the Skill selects ubuntu-22.04_desktop_rdk-x5_release.conf, verifies 50 GB of free space, confirms the plan, and runs sudo ./pack_image.sh -c with that config. ## Quick Start Ask the agent to build an RDK X5 desktop release system image and confirm the board, flavor, channel, checkout path, and any third-party deb when prompted.

Frequently Asked Questions about bsp-image-build

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a flashable RDK X5 system image?▼

Select the board, desktop or server flavor, and beta or release channel, then run sudo ./pack_image.sh -c with the matching build_params config from a prepared x5-rdk-gen checkout. Confirm at least 50 GB of free space and sudo access before starting.

How do I preinstall a custom deb package into an RDK image?▼

Place the exact .deb file into the third_packages/ directory of your rdk-gen checkout before running pack_image.sh. The packing process installs all debs from that directory into the image filesystem automatically.

Can I rebuild an RDK image without downloading everything again?▼

Yes, use pack_image.sh -l for a local build that skips downloading samplefs and deb packages from the official server. This only works after a successful first full build; if the cached artifacts are missing, the build fails and you must rerun a full build.

Should I use pack_image.sh when I only changed one deb package?▼

No. Package-only rebuilds belong to the bsp-deb-build workflow, which rebuilds just that deb. Return to the image build only if you want the rebuilt deb preinstalled into a complete flashable image.

Why did my RDK image build produce the wrong image variant?▼

The build config determines the output, so using an rdk-x3 config for an X5 board or a server config for a desktop image produces a mismatched result. Verify the exact build_params/ubuntu-22.04_{desktop|server}_rdk-{x3|x5}_{beta|release}.conf file exists and matches your selections before running.