From: Lennart Poettering Date: Thu, 17 Mar 2022 16:50:23 +0000 (+0100) Subject: NEWS: try to fix old entry regarding KERNEL_INSTALL_LAYOUT X-Git-Tag: v251-rc1~77^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffc97a1cc4d3ebf7ca68c15567f60e9e8c27d85e;p=thirdparty%2Fsystemd.git NEWS: try to fix old entry regarding KERNEL_INSTALL_LAYOUT 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. --- diff --git a/NEWS b/NEWS index 4677c751774..0149c0f9652 100644 --- 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.