bsp-deb-build
Skill5 starsChanged 3 months agoApache-2.0View on GitHub
Rebuild one supported official hobot-* Debian package with mk_debs.sh (for example hobot-boot, hobot-dtb, or hobot-multimedia). Use when the user wants to repackage a component or asks which packages can be built. Package output is not a flashable image; hand image assembly to bsp-image-build after the .deb exists. 触发词:hobot-* 包、mk_debs、deb 包、重新打包、hobot-boot、hobot-configs. Do not use for kernel compilation itself (bsp-kernel-build) or full images (bsp-image-build).
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- D-Robotics/dsh-plugin-rdkedited, first seen Aug 28, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- D-Robotics/dsh-plugin-rdk★ 159% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- bsp-bootloader-buildSkill
- bsp-env-setupSkill
- bsp-image-buildSkill
- bsp-kernel-buildSkill
- bsp-rootfs-customSkill
- bsp-source-syncSkill
- bsp-s-seriesSkill
- cmos-sensor-bringupSkill
- rdk-accessoriesSkill
- rdk-board-delegateSkill
- rdk-board-knowledgeSkill
- rdk-camera-setupSkill
- rdk-command-manualSkill
- rdk-diagnosticSkill
- rdk-docs-referenceSkill
- rdk-ecosystemSkill
- rdk-embodied-lerobotSkill
- rdk-gpio-40pinSkill
- rdk-hardwareSkill
- rdk-headless-modeSkill
- rdk-llm-deploymentSkill
- rdk-log-forensicsSkill
- rdk-memory-auditSkill
- rdk-model-benchmarkSkill
- rdk-model-deploySkill
- rdk-model-zoo-developSkill
- rdk-model-zoo-integrateSkill
- rdk-model-zoo-releaseSkill
- rdk-model-zoo-repoSkill
- rdk-model-zoo-reviewSkill
- rdk-model-zooSkill
- rdk-model-zoo-validateSkill
- rdk-multimediaSkill
- rdk-network-remoteSkill
- rdk-pack-installerSkill
- rdk-peripheral-cookbookSkill
- rdk-skill-finderSkill
- rdk-source-mapSkill
- rdk-system-configSkill
- rdk-system-maintainSkill
- rdk-tros-setupSkill
- rdk-vision-pipelineSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Do not use for compiling the kernel itself or assembling a whole image.
- Distinctive: line 36
If any detail is missing, ask for it.
- Distinctive: line 61
Stop before a build if free disk space is unknown or insufficient for the user's checkout and output retention needs.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
hobot-* Deb Package Build
Purpose
Rebuild one official D-Robotics Debian package (hobot-*) from its sources in the source/ tree. These packages carry the kernel image, dtb, kernel headers, multimedia libraries, samples, and system configs that can later be preinstalled into system images.
mk_debs.sh produces .deb packages only. It does not create a flashable image.
When to use
Use when:
- A
hobot-*source package was modified and needs repackaging - The user needs a rebuilt package for an image assembler or a compatible board
- Listing which packages the build system supports
Do not use for compiling the kernel itself or assembling a whole image. For a flashable image, use bsp-image-build only after this workflow has produced the requested .deb.
Instructions
- Collect and confirm all required request details before running a build:
- Exact package name (one supported
hobot-*identifier) - Target board and BSP source branch/release used by the checkout
- Intended artifact consumer: a compatible board install or
bsp-image-build - Available free disk space for build outputs If any detail is missing, ask for it; do not assume a board, branch, consumer, or disk capacity.
- Exact package name (one supported
- Prerequisite: kernel artifacts must exist first (see
bsp-kernel-build) — the build system uses them forhobot-boot,hobot-dtb,hobot-kernel-headers. - Validate the requested package against the supported list below. If it is not listed, ask the user to choose a supported package or inspect the checkout's build metadata/help text; never invent a
mk_debs.shcommand. - Build the validated package:
The package output lands in./mk_debs.sh <package-name>deploy/deb_pkgs/*.deb. - Supported package names (from the official README help text):
hobot-boothobot-kernel-headershobot-dtbhobot-configshobot-utilshobot-displayhobot-wifihobot-iohobot-io-sampleshobot-multimediahobot-multimedia-devhobot-camerahobot-dnnhobot-spdevhobot-sp-sampleshobot-multimedia-sampleshobot-miniboothobot-audio-configFor any other name the script answers "not supported" — report that verbatim instead of guessing. - Hand off based on the stated consumer:
- For a compatible board install, provide the selected
deploy/deb_pkgs/*.deband confirm board compatibility beforedpkg -i. - For a flashable image, first verify that the requested
.debexists, then place it inthird_packages/and route the user tobsp-image-buildfor board, desktop/server, and release-image selections. Do not claim thatmk_debs.shassembled or flashed an image.
- For a compatible board install, provide the selected
Safety
- Wrong package name errors are informational — never edit
mk_debs.shto "add" a package without discussing with the user. - Packages built from a dirty source tree silently carry uncommitted changes — ask the user to review
git statusinsource/first. - Mixing X3 and X5 artifacts in one workspace corrupts packages — confirm the workspace matches the target board.
- Stop before a build if free disk space is unknown or insufficient for the user's checkout and output retention needs; do not delete existing artifacts to make room without approval.
Sources:
x5-rdk-genREADME v3.5.0「编译 RDK 官方 debian 软件包」;rdk-genREADME v3.0.3「编译 debian 软件包」。
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.

