Skip to content

feat: support non-gbp quilt packages (e.g. kernel / prebuilt bins)#129

Merged
keerthi-go merged 1 commit intomainfrom
dev/prebuilt-bin-test
Mar 28, 2026
Merged

feat: support non-gbp quilt packages (e.g. kernel / prebuilt bins)#129
keerthi-go merged 1 commit intomainfrom
dev/prebuilt-bin-test

Conversation

@keerthi-go
Copy link
Copy Markdown
Contributor

In PREBUILT_MODE, sbuild cannot build 3.0 (quilt) sources directly
because a .dsc and upstream .orig tarball are required.

Extend the prebuilt build path to detect quilt source format and
replicate the same source-package generation logic used by
docker_deb_build.py when --skip-gbp is enabled:

  • derive upstream version from debian/changelog
  • create an upstream .orig.tar.gz excluding debian/ and .git
  • run dpkg-source -b to produce the .dsc
  • pass the resulting .dsc to sbuild

For native source format, continue invoking sbuild directly.

This keeps PREBUILT_MODE functional for both native and quilt
packages while avoiding gbp in CI.

Signed-off-by: Keerthi Gowda <kbalehal@qti.qualcomm.com>
@keerthi-go keerthi-go force-pushed the dev/prebuilt-bin-test branch from 7983e90 to e66f4ec Compare March 25, 2026 19:12
Copy link
Copy Markdown

@abickett abickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for now for support for prebuilts. @keerthi-go please file the issue to track alignment with script handling instead of workflow logic.

@keerthi-go keerthi-go merged commit ffe9271 into main Mar 28, 2026
6 checks passed
@keerthi-go keerthi-go deleted the dev/prebuilt-bin-test branch March 28, 2026 00:11
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.

3 participants