]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: fix docs/--help to say that "bootctl random-seed" not just initializes but...
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Jun 2023 14:47:36 +0000 (16:47 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 14 Jun 2023 10:58:37 +0000 (11:58 +0100)
man/bootctl.xml
src/boot/bootctl.c

index 25522b9e4e024f87b01a396c2b2d8f81d1467401..3219ae247b3e2bf3a6b8694c63a22b56a3db8779 100644 (file)
       <varlistentry>
         <term><option>random-seed</option></term>
 
-        <listitem><para>Generates a random seed and stores it in the EFI System Partition, for use by the
-        <command>systemd-boot</command> boot loader. Also, generates a random 'system token' and stores it
-        persistently as an EFI variable, if one has not been set before. If the boot loader finds the random
-        seed in the ESP and the system token in the EFI variable it will derive a random seed to pass to the
-        OS and a new seed to store in the ESP from the combination of both. The random seed passed to the OS
-        is credited to the kernel's entropy pool by the system manager during early boot, and permits
-        userspace to boot up with an entropy pool fully initialized very early on. Also see
+        <listitem><para>Generates a random seed and stores it in the EFI System Partition (ESP), for use by
+        the <command>systemd-boot</command> boot loader. If a random seed already exists in the ESP it is
+        refreshed. Also generates a random 'system token' and stores it persistently as an EFI variable, if
+        one has not been set before. If the boot loader finds the random seed in the ESP and the system token
+        in the EFI variable it will derive a random seed to pass to the OS and a new seed to store in the ESP
+        from the combination of both. The random seed passed to the OS is credited to the kernel's entropy
+        pool by the system manager during early boot, and permits userspace to boot up with an entropy pool
+        fully initialized very early on. Also see
         <citerefentry><refentrytitle>systemd-boot-random-seed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
 
         <para>See <ulink url="https://systemd.io/RANDOM_SEEDS">Random Seeds</ulink> for further
index da55ad8e0d5e53f27fe40827d4b8a8ec427daf70..36ca830f8a3c44923bb39cac548e38118f5759b9 100644 (file)
@@ -159,7 +159,8 @@ static int help(int argc, char *argv[], void *userdata) {
                "  update               Update systemd-boot in the ESP and EFI variables\n"
                "  remove               Remove systemd-boot from the ESP and EFI variables\n"
                "  is-installed         Test whether systemd-boot is installed in the ESP\n"
-               "  random-seed          Initialize random seed in ESP and EFI variables\n"
+               "  random-seed          Initialize or refresh random seed in ESP and EFI\n"
+               "                       variables\n"
                "\n%3$sKernel Image Commands:%4$s\n"
                "  kernel-identify      Identify kernel image type\n"
                "  kernel-inspect       Prints details about the kernel image\n"