docker_deb_build: add watch file support for prebuilt binary packages#40
Open
Keerthi Gowda (keerthi-go) wants to merge 1 commit into
Open
docker_deb_build: add watch file support for prebuilt binary packages#40Keerthi Gowda (keerthi-go) wants to merge 1 commit into
Keerthi Gowda (keerthi-go) wants to merge 1 commit into
Conversation
Keerthi Gowda (keerthi-go)
force-pushed
the
dev/watchfilesupport
branch
from
July 21, 2026 23:41
0a3b497 to
b719694
Compare
For packages that use debian/watch to fetch a prebuilt upstream tarball from Artifactory, the local build path had no mechanism to obtain the orig tarball before building. When debian/watch exists and references qartifactory, run uscan --download-current-version inside the container to fetch the orig tarball into /workspace, then use gbp buildpackage -S --git-no-create-orig to produce the .dsc without gbp overwriting the fetched tarball. Pass the .dsc to sbuild for the binary build. Packages with debian/watch pointing to a git forge (GitHub etc.) are unaffected — the qartifactory guard keeps them on the normal gbp orig creation path. Packages using upstream.conf and native packages are also unaffected. Mirrors the same change made to qcom-build-utils build_package action. Signed-off-by: Keerthi Gowda <kbalehal@qti.qualcomm.com>
Keerthi Gowda (keerthi-go)
force-pushed
the
dev/watchfilesupport
branch
from
July 21, 2026 23:42
b719694 to
b737077
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
For packages that use
debian/watchto fetch a prebuilt upstream tarball from Artifactory (e.g.pkg-qcom-fastcv-binaries), the local build path had no mechanism to obtain the orig tarball before building.Changes
When
debian/watchexists and referencesqartifactory, runuscan --download-current-versioninside the container to fetch the orig tarball into/workspace, then usegbp buildpackage -S --git-no-create-origto produce the.dscwithout gbp overwriting the fetched tarball. Pass the.dscto sbuild for the binary build.Backward compatibility
debian/watchpointing to a git forge (GitHub etc.) → unaffected,qartifactoryguard keeps them on the normal gbp pathupstream.conf(PREBUILT_MODE=true) → unaffected--skip-gbppath → unaffectedLocal usage
No pre-download step needed:
Related
Mirrors the same change made to
qcom-build-utils.github/actions/build_package/action.yml.