Skip to contentSkip to conversation

ref-manual/variables.rst: Add incompatibility warning for SERIAL_CONSOLES_CHECK

PATCH In review Michael Opdenacker 3 participants 4 messages Apr 22, 2021 – Apr 23, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 1/1 ref-manual/variables.rst: Add incompatibility warning for SERIAL_CONSOLES_CHECK

From: Trevor Gamblin <[email protected]>

See [YOCTO #13921]

Add details to the SERIAL_CONSOLES_CHECK entry to clarify that it doesn't work with read-only rootfs.

---
 documentation/ref-manual/variables.rst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
documentation/ref-manual/variables.rst +5 -1
index 64521b89bb..3297a69edf 100644
@@ -6694,7 +6694,11 @@ system and gives an overview of their function and contents.
          SERIAL_CONSOLES_CHECK = "slcp_line0:ttyS0"
 
       This variable is currently only supported with SysVinit (i.e. not
-      with systemd).
+      with systemd). Note that :term:`SERIAL_CONSOLES_CHECK` also requires
+      ``/etc/inittab`` to be writable when used with SysVinit. This makes it
+      incompatible with customizations such as the following::
+
+         EXTRA_IMAGE_FEATURES += "read-only-rootfs"
 
    :term:`SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS`
       A list of recipe dependencies that should not be used to determine
Signature · 1 line
2.25.1
#2 lore raw
Quoted 33 lines · Michael Opdenacker

[Please note: This e-mail is from an EXTERNAL e-mail address]

From: Trevor Gamblin <[email protected]>

See [YOCTO #13921]

Add details to the SERIAL_CONSOLES_CHECK entry to clarify that it doesn't work with read-only rootfs.

---
  documentation/ref-manual/variables.rst | 6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)
documentation/ref-manual/variables.rst +5 -2
index 64521b89bb..3297a69edf 100644
@@ -6694,7 +6694,11 @@ system and gives an overview of their function and contents.
           SERIAL_CONSOLES_CHECK = "slcp_line0:ttyS0"
 
        This variable is currently only supported with SysVinit (i.e. not
-      with systemd).
+      with systemd). Note that :term:`SERIAL_CONSOLES_CHECK` also requires
+      ``/etc/inittab`` to be writable when used with SysVinit. This makes it
+      incompatible with customizations such as the following::
+
+         EXTRA_IMAGE_FEATURES += "read-only-rootfs"
 
     :term:`SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS`
        A list of recipe dependencies that should not be used to determine
--
Quoted 1 line

2.25.1

Thanks for making the necessary changes :)

Quoted 4 lines
#4 lore raw
Quoted 11 lines · Quentin Schulz
Quoted 9 lines · Michael Opdenacker

From: Trevor Gamblin <[email protected]>

See [YOCTO #13921]

Add details to the SERIAL_CONSOLES_CHECK entry to clarify that it doesn't work with read-only rootfs.

Merged in master-next:
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/log/?h=master-next

Will soon submit a PR for inclusion in master.

Thanks again,

Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com