debian: packaging improvements and fixes for Ubuntu resolute#26
Closed
Chandan Jha (cjha01) wants to merge 0 commit into
Closed
debian: packaging improvements and fixes for Ubuntu resolute#26Chandan Jha (cjha01) wants to merge 0 commit into
Chandan Jha (cjha01) wants to merge 0 commit into
Conversation
Contributor
|
Hi Chandan Jha (@cjha01), your git history looks weird; it looks like you took all my commits, and rebase them with you as the author. What I would expect is either:
|
7a9df1c to
d783bae
Compare
Contributor
Author
|
Redone using Option 3 — your trixie commits are now kept as-is under your name. I only added 2 commits on top with the resolute-specific adaptations (gbp.conf branch name and changelog version/trailer). |
Contributor
Author
Contributor
|
I'm not sure you can sent that as a merge though |
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
This PR ports and adapts the Debian packaging improvements from the
qcom/debian/trixiebranch into theqcom/ubuntu/resolutebranch.All changes are confined to the
debian/directory. No upstreamsource files are modified.
Changes
Correctness fixes
debian/controlsection fromnon-freetocontrib— thedriver is GPL-2.0 but depends on non-free firmware at runtime
debian/copyrightto add missing co-copyright holders(Linux Foundation, QINC) and add a separate
debian/*stanzalicensed under BSD-3-Clause
debian/changelogto reset bloated auto-generated entriesto a clean
* Initial release.with correct1.0.3-0qli1~versioning scheme
debian/rulesto useexecute_after_dh_dkms:instead ofoverride_dh_dkms:— the correct debhelper hook forpost-processing after
dh_dkmsrunsdebian/rulesto prune dotfiles from the DKMS stagedsource tree
Package naming
camx-uapi-dev→camx-linux-devtofollow Debian naming convention for Linux UAPI header packages
Provides: camx-uapi-devtocamx-linux-devfor backwardscompatibility with existing dependents
Packaging hygiene
.installfiles(
camx-dkms.install,camx-linux-dev.install) replacingmanual
find|cpiocalls indebian/rulesdkms-build.sh/dkms-clean.sh→dkms-build/dkms-cleanand mark executable (scripts with a shebangdon't need
.shextension or explicitbashprefix)text explaining CamX subsystems and what each package provides
Build-Depends:one-per-line per Debian conventionPriority: optionalandRules-Requires-Root: nofields (both are defaults in debhelper compat 13)
Recommends: linux-headers-generic(DKMS handleskernel headers automatically) and overly strict versioned
DependsVcs-BrowserandVcs-Githeaders pointing to thepackaging repository
debian/upstream/metadata(DEP-12) with upstream bugtracker and repository URLs
debian/.gitignoreto exclude debhelper build artifactsdebian/source/optionsto exclude.github/workflowsfrom the Debian source package diff
make -j$(nproc)indkms-buildfor faster buildsdebian/gbp.confbranch toqcom/ubuntu/resoluteNotes
debian/changelogtrailer keeps the originalGitHub Service Botidentity and timestamp from the resolutebranch — not replaced with a personal identity
debian/gbp.confusesqcom/ubuntu/resolute(notqcom/debian/trixie) — adapted for this branch1.0.3-0qli1~bpo13+1)is intentionally absent — it does not belong on this branch