1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-19 14:04:03 +03:00
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-01-07 17:37:37 +01:00
2021-10-07 22:13:12 +02:00
2022-03-11 11:39:34 +01:00
2021-08-11 09:34:45 +02:00
2021-10-20 22:20:18 +09:00
2021-08-18 13:36:14 +02:00
2022-03-07 15:32:22 +09:00
2020-12-16 17:21:48 +01:00
2021-01-04 11:01:17 +00:00
2021-06-30 23:33:00 +09:00
2021-01-04 11:01:17 +00:00
2022-01-06 22:20:11 +09:00
2021-11-30 13:54:27 +01:00
2021-08-20 11:09:47 +02:00
2021-12-13 09:25:31 +01:00
2021-04-19 23:16:02 +02:00
2021-12-08 11:46:33 +01:00
2021-10-20 22:20:18 +09:00
2021-11-08 10:15:23 +01:00
2020-11-09 13:23:58 +09:00
2020-12-16 17:21:48 +01:00