From: "David Wang" <00107082@163.com>
To: linux-kernel@vger.kernel.org, masahiroy@kernel.org
Subject: [Debian Package]Regression 6.3-rc3: version is empty for linux-headers installation dir
Date: Mon, 20 Mar 2023 15:36:16 +0800 (CST) [thread overview]
Message-ID: <33233f0e.3970.186fdf28bc7.Coremail.00107082@163.com> (raw)
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
next reply other threads:[~2023-03-20 7:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-20 7:36 David Wang [this message]
2023-03-20 9:22 ` Bagas Sanjaya
2023-03-20 11:24 ` David Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33233f0e.3970.186fdf28bc7.Coremail.00107082@163.com \
--to=00107082@163.com \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome