linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scripts/package: add back 'version' for builddeb
@ 2023-03-20 11:08 David Wang
  2023-03-21 13:12 ` Bagas Sanjaya
  0 siblings, 1 reply; 7+ messages in thread
From: David Wang @ 2023-03-20 11:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: masahiroy, bagasdotme, David Wang

Fixes: 36862e14e316 (kbuild: deb-pkg: use dh_listpackages to know
enabled packages)
The 'version' variable is still needed for building
debian 'linux-headers' packages, add it back.

Signed-off-by: David Wang <00107082@163.com>
---
 scripts/package/builddeb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index c5ae57167d7c..5102d0903f9c 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -215,6 +215,7 @@ install_libc_headers () {
 
 rm -f debian/files
 
+version=$KERNELRELEASE
 packages_enabled=$(dh_listpackages)
 
 for package in ${packages_enabled}
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] scripts/package: add back 'version' for builddeb
@ 2023-03-21 15:13 David Wang
  0 siblings, 0 replies; 7+ messages in thread
From: David Wang @ 2023-03-21 15:13 UTC (permalink / raw)
  To: linux-kernel; +Cc: masahiroy, bagasdotme, David Wang

Fixes: 36862e14e316 ("kbuild: deb-pkg: use dh_listpackages to know enabled packages")
The 'version' variable is still needed for building
debian 'linux-headers' packages, add it back.

Signed-off-by: David Wang <00107082@163.com>
---
 scripts/package/builddeb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index c5ae57167d7c..5102d0903f9c 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -215,6 +215,7 @@ install_libc_headers () {
 
 rm -f debian/files
 
+version=$KERNELRELEASE
 packages_enabled=$(dh_listpackages)
 
 for package in ${packages_enabled}
-- 
2.20.1


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

end of thread, other threads:[~2023-03-22  5:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20 11:08 [PATCH] scripts/package: add back 'version' for builddeb David Wang
2023-03-21 13:12 ` Bagas Sanjaya
2023-03-21 15:20   ` David Wang
2023-03-22  3:35     ` Bagas Sanjaya
2023-03-22  3:37       ` Bagas Sanjaya
2023-03-22  5:12         ` David Wang
2023-03-21 15:13 David Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).