[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <33233f0e.3970.186fdf28bc7.Coremail.00107082@163.com>
Date: Mon, 20 Mar 2023 15:36:16 +0800 (CST)
From: "David Wang" <00107082@....com>
To: linux-kernel@...r.kernel.org, masahiroy@...nel.org
Subject: [Debian Package]Regression 6.3-rc3: version is empty for
linux-headers installation dir
When make a clean build for debian packages, with 6.3-rc3, there is no version information in the name of linux-headers dir, the linux-headers package would install into "/usr/src/linux-headers-".
This is caused by 36862e14e31611f9786622db366327209a7aede7 which remove the definition for "version" in scripts/package/builddeb
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 906889b304a4..c5ae57167d7c 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
...
-version=$KERNELRELEASE
--
But the variable is need for building linux-headers:
scripts/package/builddeb
188 destdir=$pdir/usr/src/linux-headers-$version
189 mkdir -p $destdir
This could be fixed by adding back the definition for version
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index c5ae57167d7c..1870b2485217 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -216,6 +216,7 @@ install_libc_headers () {
rm -f debian/files
packages_enabled=$(dh_listpackages)
+version=$KERNELRELEASE
for package in ${packages_enabled}
do
--
Davud
Powered by blists - more mailing lists