]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
NEWS: try to fix old entry regarding KERNEL_INSTALL_LAYOUT
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Mar 2022 16:50:23 +0000 (17:50 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 21 Mar 2022 22:54:33 +0000 (23:54 +0100)
The old text was simply wrong, we used to read $layout from
/etc/kernel/install.conf and the machine ID from
$KERNEL_INSTALL_MACHINE_ID from /etc/machine-info. Correct that.

Apparently KERNEL_INSTALL_MACHINE_ID was already known back in v235
times, hence don't mention it anymore.

it's kinda weird retro-fixing these NEWS entries, given we deprecate
them again, but I couldn't let this really incorrect stuff be.

NEWS

diff --git a/NEWS b/NEWS
index 4677c7517741967e973789cee740058bdaed6150..0149c0f9652b9c3e249a2634b4fe4c330c97a88f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -656,15 +656,13 @@ CHANGES WITH 250:
           may be used to set the boot menu time-out of the boot loader (for all
           or just the subsequent boot).
 
-        * bootctl and kernel-install will now read KERNEL_INSTALL_MACHINE_ID
-          and KERNEL_INSTALL_LAYOUT from kernel/install.conf. The first
-          variable specifies the machine-id to use for installation. It would
-          previously be used if set in the environment, and now it'll also be
-          read automatically from the config file. The second variable is new.
-          When set, it specifies the layout to use for installation directories
-          on the boot partition, so that tools don't need to guess it based on
-          the already-existing directories. The only value that is defined
-          natively is "bls", corresponding to the layout specified in
+        * bootctl and kernel-install will now read variables
+          KERNEL_INSTALL_LAYOUT= from /etc/machine-info and layout= from
+          /etc/kernel/install.conf. When set, it specifies the layout to use
+          for installation directories on the boot partition, so that tools
+          don't need to guess it based on the already-existing directories. The
+          only value that is defined natively is "bls", corresponding to the
+          layout specified in
           https://systemd.io/BOOT_LOADER_SPECIFICATION/. Plugins for
           kernel-install that implement a different layout can declare other
           values for this variable.