Skip to content

build-dtb-image: add --metadata-dir to use local qcom-dtb-metadata#166

Open
GuanquanTian wants to merge 1 commit into
qualcomm-linux:mainfrom
GuanquanTian:dev/fit-dtb-metadata-dir
Open

build-dtb-image: add --metadata-dir to use local qcom-dtb-metadata#166
GuanquanTian wants to merge 1 commit into
qualcomm-linux:mainfrom
GuanquanTian:dev/fit-dtb-metadata-dir

Conversation

@GuanquanTian
Copy link
Copy Markdown

@GuanquanTian GuanquanTian commented May 29, 2026

Summary

  • Add --metadata-dir option to build-dtb-image.sh to point at a pre-cloned qcom-dtb-metadata directory instead of fetching it during the build
  • Skips the clone and git reset --hard, preserving local edits to .its and qcom-metadata.dts across rebuilds
  • Mutually exclusive with --metadata-commit (which would discard local changes); validates required files exist before proceeding

Allow callers to point at a pre-cloned qcom-dtb-metadata directory
instead of fetching it during the build. Skips the clone and the
'git reset --hard' so local edits to the .its file or qcom-metadata.dts
are preserved across rebuilds.

Mutually exclusive with --metadata-commit (which would discard local
changes). Validates that the directory contains the required ITS file
and qcom-metadata.dts before proceeding.

Signed-off-by: guanquan <guanquan@qti.qualcomm.com>
@GuanquanTian GuanquanTian changed the base branch from dev/fit-dtb-metadata-dir to main May 29, 2026 09:14
@bjordiscollaku
Copy link
Copy Markdown
Contributor

@GuanquanTian dtb-image building tool in qcom-build-utils is deprecated; please reference to this moving forward. Tool now resides in the same repository as dtb metadata.

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