]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Remove a few references to dracut
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 19 Jan 2024 13:21:24 +0000 (14:21 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 24 Jan 2024 16:54:38 +0000 (17:54 +0100)
Let's remove some explicit references to dracut as we prefer initrds
built with mkosi these days.

README
docs/INITRD_INTERFACE.md
docs/PORTABILITY_AND_STABILITY.md
man/bootup.xml
man/kernel-command-line.xml
man/localectl.xml
man/os-release.xml

diff --git a/README b/README
index 9f314dd144f984089c958f67ab8e9ce4752a09f9..d6ff8fa6be24c6d30afbd89570ff8abe6595ebe3 100644 (file)
--- a/README
+++ b/README
@@ -231,7 +231,6 @@ REQUIREMENTS:
         dbus >= 1.4.0 (strictly speaking optional, but recommended)
                 NOTE: If using dbus < 1.9.18, you should override the default
                 policy directory (--with-dbuspolicydir=/etc/dbus-1/system.d).
-        dracut (optional)
         polkit (optional)
 
         To build in directory build/:
index de91ba73958fa1959238c1b8c5dbd34f56d8171d..4e856f89177fca568ccd361df5d0a4c8592b73fc 100644 (file)
@@ -16,8 +16,9 @@ initrd and initrd-less boots. If an initrd is used, it is a good idea to pass a
 few bits of runtime information from the initrd to systemd in order to avoid
 duplicate work and to provide performance data to the administrator. In this
 page we attempt to roughly describe the interfaces that exist between the
-initrd and systemd. These interfaces are currently used by dracut and the
-ArchLinux initrds.
+initrd and systemd. These interfaces are currently used by
+[mkosi](https://github.com/systemd/mkosi)-generated initrds, dracut and the
+Arch Linux initrds.
 
 * The initrd should mount `/run/` as a tmpfs and pass it pre-mounted when
   jumping into the main system when executing systemd. The mount options should
@@ -49,10 +50,6 @@ implemented as an actual ramdisk, ramfs or tmpfs. We recommend using _initrd_
 in this sense as a term that is unrelated to the actual backing technologies
 used.
 
-Oh, and one last question before closing: instead of implementing these
-features in your own distro's initrd, may I suggest just using Dracut instead?
-It's all already implemented there!
-
 ## Using systemd inside an initrd
 
 It is also possible and recommended to implement the initrd itself based on
index 82aefc742dffe35aa1a54638f0df4a9452e3fc7d..2854857d2b3972f28844cf2c9a9ab4a0f04746bc 100644 (file)
@@ -83,7 +83,7 @@ And now, here's the list of (hopefully) all APIs that we have introduced with sy
 | [hostnamed](https://www.freedesktop.org/software/systemd/man/org.freedesktop.hostname1.html) | D-Bus | yes | yes | GNOME | yes | [Ubuntu](https://launchpad.net/ubuntu/+source/ubuntu-system-service), [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially |
 | [localed](https://www.freedesktop.org/software/systemd/man/org.freedesktop.locale1.html) | D-Bus | yes | yes | GNOME | yes | [Ubuntu](https://launchpad.net/ubuntu/+source/ubuntu-system-service), [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially |
 | [timedated](https://www.freedesktop.org/software/systemd/man/org.freedesktop.timedate1.html) | D-Bus | yes | yes | GNOME | yes | [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially |
-| [initrd interface](INITRD_INTERFACE.md) | Environment, flag files | yes | yes | dracut, ArchLinux | yes | ArchLinux | no |
+| [initrd interface](INITRD_INTERFACE.md) | Environment, flag files | yes | yes | mkosi, dracut, ArchLinux | yes | ArchLinux | no |
 | [Container interface](CONTAINER_INTERFACE.md) | Environment, Mounts | yes | yes | libvirt/LXC | yes | - | no |
 | [Boot Loader interface](BOOT_LOADER_INTERFACE.md) | EFI variables | yes | yes | gummiboot | yes | - | no |
 | [Service bus API](https://www.freedesktop.org/software/systemd/man/org.freedesktop.systemd1.html) | D-Bus | yes | yes | system-config-services | no | - | no |
index b9a740a49ab5cd5eac171a6d0d037a1fc1076b0d..f8c518a9366713388e71e143bd23dc0b83b16223 100644 (file)
     boot loader will then invoke an OS kernel from disk (or the network). On systems using EFI or other types
     of firmware, this firmware may also load the kernel directly.</para>
 
-    <para>The kernel (optionally) mounts an in-memory file system, often generated by <citerefentry
-    project='man-pages'><refentrytitle>dracut</refentrytitle><manvolnum>8</manvolnum></citerefentry>, which
-    looks for the root file system. Nowadays this is implemented as an "initramfs" — a compressed CPIO
-    archive that the kernel extracts into a tmpfs. In the past normal file systems using an in-memory block
-    device (ramdisk) were used, and the name "initrd" is still used to describe both concepts. It's the boot
-    loader or the firmware that loads both the kernel and initrd/initramfs images into memory, but the kernel
-    which interprets it as a file system.
+    <para>The kernel (optionally) mounts an in-memory file system, which looks for the root file system.
+    Nowadays this is implemented as an "initramfs" — a compressed CPIO archive that the kernel extracts into
+    a tmpfs. In the past normal file systems using an in-memory block device (ramdisk) were used, and the
+    name "initrd" is still used to describe both concepts. It's the boot loader or the firmware that loads
+    both the kernel and initrd/initramfs images into memory, but the kernel which interprets it as a file
+    system.
     <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry> may be used
     to manage services in the initrd, similarly to the real system.</para>
 
@@ -351,7 +350,6 @@ systemd-reboot.service     |               |               |
       <member><citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
       <member><citerefentry><refentrytitle>systemd.target</refentrytitle><manvolnum>5</manvolnum></citerefentry></member>
       <member><citerefentry><refentrytitle>systemd-halt.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
-      <member><citerefentry project='man-pages'><refentrytitle>dracut</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
     </simplelist></para>
   </refsect1>
 
index ded41ffc36ceb7078bac7205049c42ad6eeb21f4..8f179deec83d39a75e22c63ce89d8727ec231a2f 100644 (file)
     and
     <citerefentry project='man-pages'><refentrytitle>bootparam</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
 
-    <para>For command line parameters understood by the initrd, see
-    <citerefentry project='man-pages'><refentrytitle>dracut.cmdline</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
-    or the documentation of the specific initrd implementation of your
-    installation.</para>
+    <para>For command line parameters understood by the initrd, see the documentation of the specific initrd
+    implementation of your installation.</para>
   </refsect1>
 
   <refsect1>
         <member><citerefentry project='man-pages'><refentrytitle>bootparam</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
         <member><citerefentry><refentrytitle>systemd.system-credentials</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
         <member><citerefentry><refentrytitle>smbios-type-11</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
-        <member><citerefentry project='man-pages'><refentrytitle>dracut.cmdline</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
         <member><citerefentry><refentrytitle>systemd-debug-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
         <member><citerefentry><refentrytitle>systemd-fsck@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
         <member><citerefentry><refentrytitle>systemd-quotacheck.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
index cfcf408a3b10aa9f84bd0fea99e1d47e69534985..e18462abab187721f827c99ad2c9d89d58da8aa6 100644 (file)
 
     <para>Note that the changes performed using this tool might require the initrd to be rebuilt to take
     effect during early system boot.  The initrd is not rebuilt automatically by
-    <filename>localectl</filename>, this task has to be performed manually, usually using a tool like
-    <citerefentry
-    project='man-pages'><refentrytitle>dracut</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
-    </para>
+    <filename>localectl</filename>, this task has to be performed manually, usually by reinstalling the
+    distribution's kernel package.</para>
 
     <para>Note that
     <citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry>
       <member><citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
       <member><citerefentry><refentrytitle>systemd-localed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
       <member><citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
-      <member><citerefentry project='man-pages'><refentrytitle>dracut</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
     </simplelist></para>
   </refsect1>
 
index 7ea684b57f874f4815801263312cdddb1ca7eb38..afdb21fc57b92b710f0c507876e3e7e2b12a5774 100644 (file)
@@ -62,7 +62,7 @@
     compatibility with applications only looking at
     <filename>/etc/</filename>. A relative symlink instead of an
     absolute symlink is necessary to avoid breaking the link in a
-    chroot or initrd environment such as dracut.</para>
+    chroot or initrd environment.</para>
 
     <para><filename>os-release</filename> contains data that is
     defined by the operating system vendor and should generally not be