mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] kbuild: deb-pkg: allow to set package name version
@ 2026-10-25 16:46 Guido Günther
  2026-10-25 16:46 ` [PATCH v2 1/2] kbuild: builddeb: Use ${KERNELRELEASE} consistently Guido Günther
  2026-10-25 16:46 ` [PATCH v2 2/2] kbuild: deb-pkg: allow to set package name version Guido Günther
  0 siblings, 2 replies; 3+ messages in thread
From: Guido Günther @ 2026-10-25 16:46 UTC (permalink / raw)
  To: Nathan Chancellor, Nicolas Schier
  Cc: linux-kbuild, linux-kernel, Guido Günther

Instead of hardcoding ${KERNELRELEASE} in the package name allow
the user to override this.
    
This can be useful if one doesn't want to accumulate different packages
for every commit or micro version bump by setting
KDEB_PKGNAMEVERSION=7.3 or even KDEB_PKGNAMEVERSION=stable.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
Changes in v2:
- Let "scripts/package/builddeb" use ${KERNELRELEASE} when referring to
  the kernel release rather than using $version. Split into a separate
  commit as this can be useful on its own.
- Link to v1: https://patch.msgid.link/20261019-deb-pkg-v1-1-7f8e60bbede5@sigxcpu.org

To: Nathan Chancellor <nathan@kernel.org>
To: Nicolas Schier <nsc@kernel.org>
Cc: linux-kbuild@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

---
Guido Günther (2):
      kbuild: builddeb: Use ${KERNELRELEASE} consistently
      kbuild: deb-pkg: allow to set package name version

 scripts/package/builddeb |  4 ++--
 scripts/package/mkdebian | 12 +++++++++---
 2 files changed, 11 insertions(+), 5 deletions(-)
---
base-commit: c03c1a14507dfaf8b856c2608f9ac216021fc222
change-id: 20261019-deb-pkg-a6ef2837687e

Best regards,
--  
Guido Günther <agx@sigxcpu.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-25 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-25 16:46 [PATCH v2 0/2] kbuild: deb-pkg: allow to set package name version Guido Günther
2026-10-25 16:46 ` [PATCH v2 1/2] kbuild: builddeb: Use ${KERNELRELEASE} consistently Guido Günther
2026-10-25 16:46 ` [PATCH v2 2/2] kbuild: deb-pkg: allow to set package name version Guido Günther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®