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
scripts/package/builddeb +0 -0
...
-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
scripts/package/builddeb +1 -0
@@ -216,6 +216,7 @@ install_libc_headers () { rm -f debian/files packages_enabled=$(dh_listpackages) +version=$KERNELRELEASE for package in ${packages_enabled} do
--
Davud
Quoted 7 lines · David Wang
This could be fixed by adding back the definition for version
scripts/package/builddeb +0
-0
scripts/package/builddeb install_libc_headers () {
Quoted 8 lines
scripts/package/builddeb +1
-1@@ -216,6 +216,7 @@ install_libc_headers () { rm -f debian/files packages_enabled=$(dh_listpackages) +version=$KERNELRELEASE for package in ${packages_enabled} do --
Hi,
Looks like your fixup is corrupted (tabs converted to spaces). Can you please send the proper patch (see Documentation/process/submitting-patches.rst)?
Also, see Documentation/process/email-clients.rst) for guides on configuring your email client for kernel development.
Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Thanks for the information, I was meaning to just report the regression. And I just send a patch with the simple fix in another mail, hope the format is ok.
Thanks
David
Quoted 30 lines · Bagas Sanjaya
Quoted 7 lines · David Wang
This could be fixed by adding back the definition for version
scripts/package/builddeb +0
-0scripts/package/builddeb install_libc_headers () {
Quoted 8 lines
scripts/package/builddeb +1
-1@@ -216,6 +216,7 @@ install_libc_headers () { rm -f debian/files packages_enabled=$(dh_listpackages) +version=$KERNELRELEASE for package in ${packages_enabled} do --Hi,
Looks like your fixup is corrupted (tabs converted to spaces). Can you please send the proper patch (see
Documentation/process/submitting-patches.rst)?Also, see
Documentation/process/email-clients.rst) for guides on configuring your email client for kernel development.Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara