Lennart Poettering
f337f903df
bootctl: update to new kernel-install semantics
...
This makes a bunch of closely related changes:
1. The "entry-token" concept already introduced in kernel-install is now
made use of. i.e. specifically there's a new option --entry-token=
that can be used to explicitly select by which ID to identify boot
loader entries: the machine ID, or some OS ID (ID= or IMAGE_ID= from
/etc/os-release, or even some completely different string. The
selected string is then persisted to /etc/kernel/entry-token, so that
kernel-install can find it there.
2. The --make-machine-id-directory= switch is renamed to
--make-entry-directory= since after all it's not necessarily the
machine ID the dir is named after, but can be any other string as
selected by the entry token.
3. This drops all code to make automatic changes to /etc/machine-info.
Specifically, the KERNEL_INSTALL_MACHINE_ID= field is now more
generically implemented in /etc/kernel/entry-token described above,
hence no need to place it at two locations. And the
KERNEL_INSTALL_LAYOUT= field is not configurable by user switch or
similar anyway in bootctl, but only read from
/etc/kernel/install.conf, and hence copying it from one configuration
file to another appears unnecessary, the second copy is fully
redundant. Note that this just drops writing these fields, they'll
still be honoured when already set.
2022-03-11 11:39:34 +01:00
..
2022-03-04 15:43:18 +01:00
2021-10-01 17:27:34 +01:00
2021-12-12 21:13:50 +01:00
2021-10-01 17:27:34 +01:00
2021-12-09 19:21:55 +01:00
2022-03-11 11:39:34 +01:00
2022-01-07 17:37:37 +01:00
2021-12-25 15:07:40 +09:00
2022-02-28 09:52:17 +00:00
2022-02-28 09:52:17 +00:00
2021-10-01 17:27:34 +01:00
2022-01-23 13:29:28 +09:00
2022-02-08 11:55:13 +01:00
2021-10-07 22:13:12 +02:00
2021-10-11 11:12:29 +02:00
2021-12-20 10:56:14 +01:00
2021-06-29 10:44:18 +02:00
2021-07-12 12:09:20 +01:00
2022-01-05 15:19:13 +01:00
2021-10-01 17:27:34 +01:00
2022-03-01 08:34:08 +01:00
2021-10-04 11:05:22 +02:00
2022-02-15 14:58:03 +01:00
2022-02-23 08:56:03 +01:00
2021-05-03 20:19:19 +02:00
2021-10-01 17:27:34 +01:00
2021-10-01 17:27:34 +01:00
2021-10-01 17:27:34 +01:00
2021-10-01 17:27:34 +01:00
2022-02-23 08:56:03 +01:00
2021-10-01 17:27:34 +01:00
2021-10-01 17:27:34 +01:00
2021-10-01 17:27:34 +01:00
2021-06-14 11:16:38 +02:00
2022-03-04 16:44:02 +01:00
2021-05-10 23:10:44 +02:00
2022-02-22 17:19:54 +00:00
2022-03-11 11:39:34 +01:00
2022-01-17 00:05:35 +00:00
2022-01-07 17:37:37 +01:00
2021-03-01 13:40:52 +01:00
2021-05-25 17:42:34 +02:00
2021-08-10 17:08:00 +02:00
2021-06-15 20:58:56 +02:00
2022-03-11 11:39:34 +01:00
2021-08-11 09:34:45 +02:00
2021-10-01 17:27:34 +01:00
2022-01-22 01:56:03 +09:00
2021-10-20 22:20:18 +09:00
2021-04-21 21:00:11 +09:00
2021-08-18 13:36:14 +02:00
2021-05-26 12:45:20 +01:00
2022-02-23 08:56:03 +01:00
2021-07-27 09:43:29 +02:00
2021-06-30 03:51:05 -07:00
2021-12-24 10:18:11 +00:00
2022-02-03 19:52:18 +00:00
2022-01-12 16:05:59 +01:00
2021-12-24 10:18:11 +00:00
2021-11-19 07:23:40 +09:00
2022-03-07 14:49:54 +00:00
2022-01-16 15:49:43 +00:00
2022-03-10 13:16:21 +00:00
2022-02-28 09:52:17 +00:00
2021-05-12 12:14:17 +02:00
2021-07-27 09:43:29 +02:00
2021-10-01 17:27:34 +01:00
2022-01-24 00:21:15 +09:00
2021-10-01 17:27:34 +01:00
2021-11-11 14:36:50 +01:00
2021-07-07 15:27:28 +02:00
2021-12-20 10:56:14 +01:00
2021-03-07 02:54:33 +09:00
2021-06-15 11:29:44 +01:00
2022-03-07 15:32:22 +09:00
2021-11-23 08:01:22 +01:00
2021-06-30 23:32:43 +09:00
2021-12-06 11:21:48 +01:00
2021-04-08 14:59:10 +02:00
2022-01-11 10:47:31 +00:00
2021-02-12 11:36:24 +01:00
2022-01-11 10:47:31 +00:00
2021-03-02 12:18:53 +01:00
2021-02-20 13:44:02 +09:00
2021-03-07 02:54:33 +09:00
2021-02-21 20:26:51 +01:00
2022-01-12 16:05:59 +01:00
2021-06-30 23:33:00 +09:00
2021-07-10 13:19:50 +01:00
2022-01-05 15:19:13 +01:00
2022-01-05 15:19:13 +01:00
2022-01-06 22:20:11 +09:00
2022-01-05 15:19:13 +01:00
2022-01-05 15:19:13 +01:00
2022-01-05 15:19:13 +01:00
2021-11-30 12:30:07 +00:00
2021-06-15 20:58:56 +02:00
2021-08-20 11:09:48 +02:00
2022-02-14 15:13:23 +01:00
2021-02-16 22:16:17 +01:00
2021-12-17 11:45:55 +01:00
2022-03-11 11:32:20 +01:00
2021-02-25 05:54:11 +09:00
2021-11-30 13:54:27 +01:00
2021-04-19 12:20:29 -04:00
2021-12-08 13:27:28 +00:00
2021-12-06 12:39:03 +01:00
2021-10-01 17:27:34 +01:00
2021-10-01 17:27:34 +01:00
2021-03-12 10:58:16 +01:00
2021-08-20 11:09:47 +02:00
2021-10-01 17:27:34 +01:00
2021-12-09 15:07:40 +01:00
2021-02-19 14:05:42 +09:00
2021-02-17 21:09:14 +01:00
2022-03-10 19:03:22 +01:00
2022-02-21 13:22:02 +01:00
2022-02-23 08:56:03 +01:00
2021-06-24 13:25:39 +02:00
2021-12-14 00:08:55 +00:00
2021-12-14 00:08:55 +00:00
2021-12-14 00:08:55 +00:00
2022-01-10 21:34:12 +01:00
2021-10-07 11:50:52 +02:00
2022-01-12 16:05:59 +01:00
2022-01-07 16:07:28 +01:00
2021-12-13 09:25:31 +01:00
2021-05-07 21:36:27 +01:00
2022-02-16 21:15:14 +09:00
2021-04-23 17:56:34 +02:00
2021-05-19 10:25:26 +09:00
2021-07-27 09:43:29 +02:00
2021-11-10 11:58:12 +01:00
2021-03-03 12:16:32 +09:00
2021-11-18 10:38:48 +00:00
2021-08-31 13:52:52 +09:00
2021-09-10 13:39:16 +02:00
2021-04-30 16:55:50 +09:00
2021-03-01 13:40:52 +01:00
2021-10-15 10:19:54 -05:00
2022-02-23 08:56:03 +01:00
2022-01-12 16:05:59 +01:00
2022-01-12 16:05:59 +01:00
2022-02-09 20:34:29 +00:00
2021-12-17 11:45:55 +01:00
2022-01-12 16:05:59 +01:00
2021-10-13 02:21:44 +09:00
2021-11-16 13:55:50 +01:00
2021-12-16 01:55:37 +09:00
2022-01-28 12:52:52 +00:00
2021-12-12 21:13:50 +01:00
2022-02-23 08:56:03 +01:00
2021-06-10 07:24:18 +02:00
2021-07-27 09:43:29 +02:00
2021-01-29 08:42:39 +01:00
2021-03-12 11:22:58 +01:00
2021-04-19 23:16:02 +02:00
2021-11-22 22:33:24 +01:00
2021-12-12 21:13:51 +01:00
2021-07-07 10:36:04 +01:00
2022-02-04 17:43:44 +00:00
2022-02-23 08:56:03 +01:00
2021-07-07 11:08:21 +02:00
2021-08-24 14:53:26 +02:00
2022-03-10 18:30:24 +01:00
2021-12-08 11:46:33 +01:00
2021-09-27 09:19:02 +02:00
2021-08-09 21:06:28 +02:00
2021-10-20 22:20:18 +09:00
2021-05-31 19:22:51 +02:00
2021-12-16 09:56:13 +01:00
2021-07-27 09:43:29 +02:00
2021-11-19 15:54:26 -05:00
2021-10-14 12:17:02 -05:00
2022-01-14 16:20:45 +09:00
2021-11-23 09:44:35 +01:00
2021-09-29 22:18:38 +01:00
2021-06-29 10:44:18 +02:00
2021-05-19 10:25:26 +09:00
2022-03-10 20:38:10 +00:00
2021-05-19 10:25:26 +09:00
2022-03-04 16:44:02 +01:00
2022-02-23 08:56:03 +01:00
2022-03-04 16:07:19 +01:00
2021-12-17 11:45:55 +01:00
2022-02-27 09:36:48 +09:00
2022-03-11 10:14:57 +09:00
2022-02-23 08:56:03 +01:00
2022-02-23 08:56:03 +01:00
2021-07-27 09:43:29 +02:00
2021-12-13 19:43:56 +00:00
2021-09-28 16:46:20 +02:00
2021-11-08 10:15:23 +01:00
2021-09-27 09:19:02 +02:00
2021-12-18 17:23:53 +00:00
2021-10-15 10:19:54 -05:00
2021-09-27 09:19:02 +02:00
2021-03-01 20:57:36 +01:00
2021-09-27 09:19:02 +02:00
2021-09-27 09:19:02 +02:00
2022-03-10 19:03:22 +01:00
2021-07-28 18:50:30 +02:00
2021-03-31 10:46:22 +02:00
2021-09-24 18:35:42 +01:00
2021-08-09 21:06:28 +02:00
2021-07-27 09:43:29 +02:00
2021-10-01 17:27:34 +01:00
2021-04-12 13:03:26 +02:00
2021-06-23 17:11:23 +09:00
2022-02-02 20:34:38 +09:00
2022-02-23 08:56:03 +01:00
2022-01-07 17:37:37 +01:00
2021-10-14 12:17:02 -05:00
2021-10-01 17:27:34 +01:00
2021-11-23 19:46:56 +01:00
2021-10-01 17:27:34 +01:00