Skip to content

docs(common): add FAQ for modifying locally built Debian package version#1912

Merged
Milir-Radxa merged 1 commit into
radxa-docs:mainfrom
tangzz-radxa:docs/dragon-q6a-kernel-deb-version-faq-20260706
Jul 7, 2026
Merged

docs(common): add FAQ for modifying locally built Debian package version#1912
Milir-Radxa merged 1 commit into
radxa-docs:mainfrom
tangzz-radxa:docs/dragon-q6a-kernel-deb-version-faq-20260706

Conversation

@tangzz-radxa

Copy link
Copy Markdown
Contributor

背景

Dragon Q6A 客户在本地编译 Kernel Debian 包时,常常希望把版本号改高,避免与官方发布包混淆(也方便在 OTA/批量升级场景里区分自己编译的版本)。

当前 docs/dragon/q6a/low-level-dev/build-system/kernel 公共模版 FAQ 里只覆盖了「如何使用增量编译模式」,没有覆盖「如何改版本号」。这次在公共模版(common/radxa-os/build-system/_kernel.mdx)FAQ 末尾追加一条 FAQ,复用 linux-qcom 作为示例仓库,与 Q6A 默认仓库一致。

改动

common/radxa-os/build-system/_kernel.mdx(中文 + 英文)的 FAQ 末尾追加:

如何修改本地构建出的 Debian 包的版本?

linux-qcom 仓库 为例,打开 debian/changelog 文件,修改第一行括号里的版本号。例如:

linux-qcom (7.0.11-2) unstable; urgency=medium

把括号里的 7.0.11-2 改成你想要的版本号,比如 7.0.11-99,再执行 make deb,最终产出的 Debian 包版本就是 7.0.11-99

影响范围

  • 文档:仅 FAQ 新增
  • 公共模版:common/radxa-os/build-system/_kernel.mdx(同时影响所有 import 该模版的页面)
  • 产品范围:Dragon Q6A(docs/dragon/q6a/low-level-dev/build-system/kernel),以及未来使用同一模版的其他产品
  • 中英文同步:已同步更新

检查

  • scripts/github_pr_guard.py checkok=true
  • agent-doc-translation-guard → passed
  • agent-doc-drift-guard --warn-only → passed

备注

仓库既有的「debuild 命令片段」是 unlabeled code fence 风格,本次 FAQ 为保持同一风格也使用裸 text fence;如后续希望统一改用 <NewCodeBlock>,建议另开一个 cleanup PR 处理。

Add a FAQ entry under the shared Kernel build-system template
(common/radxa-os/build-system/_kernel.mdx) explaining how to override
the version of the locally built Debian package by editing
debian/changelog and re-running `make deb`. Use linux-qcom as the
example repo, since it is the one used by Dragon Q6A.

This FAQ applies to any product that imports the shared template, in
particular Dragon Q6A (docs/dragon/q6a/low-level-dev/build-system/kernel).

- Chinese: docs/common/radxa-os/build-system/_kernel.mdx
- English: i18n/en/docusaurus-plugin-content-docs/current/common/radxa-os/build-system/_kernel.mdx
@RadxaStephen RadxaStephen requested a review from a team July 6, 2026 11:16
@Milir-Radxa Milir-Radxa merged commit 29aeecc into radxa-docs:main Jul 7, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants