Philip Chen
67510f5083
ANDROID: setlocalversion: Add a flag to keep tag info
...
When the kernel head is at a tagged commit, the generated kernel
version will have neither the tag nor the commit hash.
So, unless we manually set EXTRAVERSION in the Makefile when releasing
a new kernel, it is hard to pinpoint the exact kernel release version.
Alternatively, let's add an option to keep the tag info when the kernel
head is at a tagged commit.
This fix only helps when building kernel with build.sh.
Since Android 14 has switched to Bazel, and Bazel uses a different
mechanism (workspace_status_stamp.py) to set up kernel version, the fix
doesn't need to go to Android 14 or newer kernel branches.
Bug: 266829022
Test: build kernel and verify the tag is embedded in the kernel version
Signed-off-by: Philip Chen <philipchen@google.com >
Change-Id: I40bbc414d103567bcc92985f6d63ae27aac8c9b1
2023-04-19 22:30:49 +00:00
..
2022-04-08 14:23:57 +02:00
2021-05-02 00:43:35 +09:00
2022-12-05 20:13:58 +00:00
2021-08-08 22:00:49 +02:00
2023-02-01 08:27:30 +01:00
2022-08-25 11:40:14 +02:00
2022-04-20 09:34:18 +02:00
2022-08-17 14:23:56 +02:00
2021-05-02 00:43:35 +09:00
2023-02-01 08:27:30 +01:00
2022-08-08 16:02:45 +02:00
2022-10-26 12:35:27 +02:00
2022-10-26 12:34:35 +02:00
2023-02-01 08:27:23 +01:00
2021-05-02 00:43:35 +09:00
2022-05-10 21:47:00 +00:00
2021-09-03 08:17:20 +09:00
2021-05-18 19:47:38 +00:00
2021-07-15 22:31:10 +02:00
2021-04-25 05:14:26 +09:00
2021-09-08 11:50:28 -07:00
2021-08-10 09:13:25 +09:00
2021-09-19 10:13:03 +09:00
2022-07-12 16:35:01 +02:00
2020-05-26 00:03:16 +09:00
2021-10-07 17:16:28 -07:00
2021-08-05 20:55:39 +09:00
2021-05-18 11:09:59 +02:00
2021-05-18 19:47:38 +00:00
2020-10-16 11:11:21 -07:00
2021-07-08 11:48:22 -07:00
2020-10-13 18:38:26 -07:00
2021-04-14 10:36:22 +00:00
2020-09-04 18:19:37 +02:00
2021-05-18 19:47:38 +00:00
2021-06-04 11:20:52 -06:00
2022-08-05 20:48:40 +00:00
2022-12-15 07:25:07 +00:00
2022-12-08 11:28:38 +01:00
2021-03-08 13:19:05 +01:00
2022-08-05 23:00:51 +00:00
2022-06-10 11:48:01 +00:00
2021-09-03 08:17:21 +09:00
2021-01-14 08:21:09 -08:00
2021-05-18 19:47:38 +00:00
2020-12-04 14:34:27 -07:00
2020-10-16 11:11:19 -07:00
2020-08-07 13:29:39 -07:00
2021-05-17 12:10:03 +09:00
2021-02-05 17:53:28 +09:00
2022-10-26 12:35:27 +02:00
2021-04-25 05:14:41 +09:00
2022-07-12 16:35:03 +02:00
2021-04-25 05:14:26 +09:00
2021-11-18 19:16:16 +01:00
2022-09-08 12:28:08 +02:00
2023-02-01 08:27:30 +01:00
2021-03-15 19:20:48 +09:00
2022-12-05 20:13:57 +00:00
2021-09-19 10:55:18 +09:00
2021-03-15 19:20:48 +09:00
2021-04-25 05:25:56 +09:00
2021-03-15 19:20:48 +09:00
2022-10-12 09:53:26 +02:00
2022-08-25 11:40:27 +02:00
2021-03-15 19:20:48 +09:00
2020-08-10 01:32:59 +09:00
2021-09-24 16:13:35 -07:00
2020-08-10 01:32:59 +09:00
2020-10-22 13:13:57 -07:00
2022-09-16 17:06:09 +00:00
2022-09-23 14:07:17 +02:00
2022-01-28 21:36:51 +00:00
2022-09-23 13:30:15 +02:00
2021-04-25 05:30:45 +09:00
2022-04-13 20:59:27 +02:00
2020-05-17 18:52:01 +09:00
2021-09-13 10:18:28 -07:00
2021-06-17 10:01:12 +09:00
2022-09-23 14:15:51 +02:00
2022-08-29 16:32:18 +02:00
2021-04-25 05:22:42 +09:00
2022-12-05 20:13:57 +00:00
2022-09-08 12:30:36 +02:00
2021-03-02 17:27:18 -05:00
2021-06-18 09:09:17 -04:00
2022-01-05 12:42:33 +01:00
2021-05-02 00:43:35 +09:00
2023-04-19 22:30:49 +00:00
2021-05-18 19:47:38 +00:00
2022-12-15 07:25:07 +00:00
2022-07-29 17:25:25 +02:00
2021-07-21 15:59:32 +02:00
2021-07-12 09:56:50 -06:00
2021-06-29 10:53:45 -07:00
2022-01-27 11:05:44 +01:00
2021-05-18 19:47:38 +00:00
2021-09-01 21:52:02 +02:00
2021-07-09 04:00:39 +09:00
2021-08-10 09:13:25 +09:00
2021-07-09 04:00:39 +09:00
2021-05-02 00:43:35 +09:00
2021-06-08 13:09:34 +01:00
2021-05-03 17:23:06 -06:00
2021-08-10 09:13:25 +09:00
2020-06-06 23:42:01 +09:00