Alexandru Gagniuc
528287815e
kbuild: deb-pkg: don't set KBUILD_BUILD_VERSION unconditionally
...
[ Upstream commit 62604063621fb075c7966286bdddcb057d883fa8 ]
In ThinPro, we use the convention <upstream_ver>+hp<patchlevel> for
the kernel package. This does not have a dash in the name or version.
This is built by editing ".version" before a build, and setting
EXTRAVERSION="+hp" and KDEB_PKGVERSION make variables:
echo 68 > .version
make -j<n> EXTRAVERSION="+hp" bindeb-pkg KDEB_PKGVERSION=6.12.2+hp69
.deb name: linux-image-6.12.2+hp_6.12.2+hp69_amd64.deb
Since commit 7d4f07d5cb71 ("kbuild: deb-pkg: squash
scripts/package/deb-build-option to debian/rules"), this no longer
works. The deb build logic changed, even though, the commit message
implies that the logic should be unmodified.
Before, KBUILD_BUILD_VERSION was not set if the KDEB_PKGVERSION did
not contain a dash. After the change KBUILD_BUILD_VERSION is always
set to KDEB_PKGVERSION. Since this determines UTS_VERSION, the uname
output to look off:
(now) uname -a: version 6.12.2+hp ... #6.12.2+hp69
(expected) uname -a: version 6.12.2+hp ... #69
Update the debian/rules logic to restore the original behavior.
Fixes: 7d4f07d5cb71 ("kbuild: deb-pkg: squash scripts/package/deb-build-option to debian/rules")
Signed-off-by: Alexandru Gagniuc <alexandru.gagniuc@hp.com>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:39:35 +02:00
..
2024-06-05 15:52:34 +02:00
2024-09-01 20:34:49 +09:00
2024-02-15 06:57:19 +09:00
2024-09-28 21:33:11 +02:00
2024-09-05 10:17:03 -05:00
2023-11-01 23:24:56 +09:00
2024-08-05 14:34:23 -07:00
2025-02-17 10:05:42 +01:00
2025-02-08 09:58:09 +01:00
2024-10-07 02:12:27 +09:00
2024-08-20 14:03:39 -04:00
2025-02-21 14:01:27 +01:00
2017-03-28 16:16:52 +02:00
2025-01-09 13:33:48 +01:00
2025-04-10 14:39:35 +02:00
2025-04-10 14:39:11 +02:00
2023-02-18 14:34:09 -05:00
2023-07-19 09:32:53 -06:00
2023-01-26 12:41:38 +09:00
2023-04-21 08:58:00 -07:00
2023-08-21 13:46:25 -07:00
2019-06-05 17:37:11 +02:00
2024-03-15 14:46:31 +01:00
2024-07-16 01:08:37 +09:00
2018-06-28 13:36:39 +09:00
2023-04-24 10:18:32 -07:00
2021-09-08 11:50:28 -07:00
2023-03-16 22:46:12 +09:00
2024-02-23 12:13:09 +01:00
2023-12-29 22:25:20 +09:00
2024-05-02 10:14:52 -06:00
2021-08-10 09:13:25 +09:00
2017-11-02 11:10:55 +01:00
2023-01-26 12:43:33 +09:00
2024-12-05 14:02:09 +01:00
2023-12-29 12:22:28 -08:00
2023-03-23 17:18:32 -07:00
2024-07-29 15:34:22 -06:00
2021-08-05 20:55:39 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2023-02-25 20:11:06 +01:00
2021-01-04 10:38:11 +09:00
2024-07-19 12:39:34 -07:00
2024-09-01 20:43:41 -07:00
2023-12-29 12:22:25 -08:00
2023-08-29 22:38:23 +09:00
2020-09-04 18:19:37 +02:00
2023-01-26 12:43:33 +09:00
2021-10-26 09:42:29 -06:00
2020-03-17 08:59:03 +09:00
2019-06-05 17:37:07 +02:00
2022-08-29 13:58:47 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:10 +02:00
2024-12-05 14:01:21 +01:00
2018-03-26 02:01:24 +09:00
2020-01-27 14:25:06 -07:00
2024-07-29 03:47:00 +09:00
2024-07-29 03:47:00 +09:00
2022-05-08 01:33:07 -07:00
2024-09-20 09:21:43 +09:00
2021-01-14 08:21:09 -08:00
2025-03-22 12:54:27 -07:00
2025-02-17 10:05:23 +01:00
2024-01-03 14:02:17 -07:00
2019-05-24 17:36:45 +02:00
2022-06-30 12:22:17 -06:00
2024-08-26 16:10:12 -06:00
2024-09-01 17:59:01 -07:00
2023-12-29 22:25:20 +09:00
2024-06-28 22:28:47 +10:00
2017-11-02 11:10:55 +01:00
2024-05-07 08:55:23 +10:00
2016-02-26 15:30:20 +00:00
2024-07-20 13:34:54 +09:00
2023-01-16 20:15:20 +09:00
2024-09-20 09:21:52 +09:00
2024-07-16 16:07:14 +09:00
2024-10-13 22:22:28 +02:00
2024-12-05 14:01:28 +01:00
2024-07-15 03:13:32 +09:00
2024-02-29 13:38:03 -08:00
2017-11-02 11:10:55 +01:00
2024-09-24 13:02:06 -07:00
2024-09-01 20:43:28 -07:00
2024-07-16 01:08:37 +09:00
2024-08-20 14:03:39 -04:00
2024-07-18 10:01:55 -07:00
2024-06-21 14:45:07 -07:00
2025-03-13 13:01:47 +01:00
2023-07-01 09:24:31 -07:00
2024-05-10 04:34:52 +09:00
2024-10-10 22:34:41 +02:00
2024-04-02 17:41:22 +02:00
2025-02-21 14:01:27 +01:00
2024-06-26 00:18:57 +09:00
2024-09-30 20:42:52 +09:00
2025-02-21 14:01:27 +01:00
2022-08-16 12:25:53 -07:00
2021-03-15 19:20:48 +09:00
2024-09-08 12:15:46 +09:00
2024-09-16 18:04:37 +02:00
2020-08-10 01:32:59 +09:00
2021-12-09 16:42:27 -08:00
2022-10-03 14:03:19 -07:00
2025-02-08 09:58:12 +01:00
2024-09-20 09:21:53 +09:00
2024-09-28 09:06:15 -07:00
2024-05-18 12:39:20 -07:00
2024-10-31 21:40:46 +09:00
2022-05-08 01:33:07 -07:00
2024-02-20 20:44:49 -08:00
2023-11-01 23:26:01 +09:00
2024-05-21 12:09:36 -07:00
2024-09-20 09:21:43 +09:00
2024-09-20 09:21:43 +09:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:10 +02:00
2024-05-05 20:17:25 +02:00
2023-01-22 23:43:33 +09:00
2022-09-29 04:40:15 +09:00
2025-01-09 13:33:47 +01:00
2017-11-02 11:10:55 +01:00
2024-09-07 17:24:08 +09:00
2024-05-19 09:21:03 -07:00
2022-12-14 15:42:40 +09:00
2022-06-08 20:14:13 +09:00
2022-06-05 06:20:57 +09:00
2023-04-14 16:08:28 +02:00
2023-06-16 17:17:42 +02:00
2022-02-02 11:19:33 +01:00
2020-03-26 15:08:27 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2022-05-11 21:46:38 +09:00
2023-12-03 18:51:48 +09:00
2021-06-18 09:09:17 -04:00
2024-02-22 15:38:54 -08:00
2023-04-19 07:46:31 -07:00
2024-08-15 09:26:02 -07:00
2024-07-10 10:28:52 +02:00
2022-09-28 09:02:06 +02:00
2024-07-10 10:28:52 +02:00
2024-07-10 10:28:52 +02:00
2024-10-28 00:27:16 +01:00
2024-09-05 22:44:18 +02:00
2023-07-19 09:32:53 -06:00
2025-03-22 12:54:23 -07:00
2024-12-14 20:04:10 +01:00
2023-10-18 14:43:23 -07:00
2024-09-20 19:52:48 +03:00
2022-12-14 08:36:11 +08:00
2025-01-09 13:33:50 +01:00
2022-06-01 09:32:45 -06:00
2024-05-04 19:00:54 +02:00
2022-05-18 15:35:42 +02:00
2024-06-28 19:36:28 -07:00
2024-09-05 14:32:36 -06:00
2020-12-08 23:30:04 +09:00
2024-09-20 19:49:52 +03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2024-09-10 13:56:37 +09:00
2024-08-06 08:57:02 +02:00
2021-07-09 04:00:39 +09:00
2021-08-10 09:13:25 +09:00
2024-06-28 15:23:38 +02:00
2024-01-04 17:01:15 +01:00
2023-04-17 11:23:06 +09:00
2024-04-23 00:09:41 +09:00
2021-05-03 17:23:06 -06:00
2024-09-20 09:21:52 +09:00
2021-08-10 09:13:25 +09:00
2024-09-01 20:43:27 -07:00