ref-manual/variables.rst: Add incompatibility warning for SERIAL_CONSOLES_CHECK
PATCH 1/1 ref-manual/variables.rst: Add incompatibility warning for SERIAL_CONSOLES_CHECK
See https://bugzilla.yoctoproject.org/show_bug.cgi?id=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
@@ -6929,7 +6929,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 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.30.2
Hi Trevor,
Thanks for your patch!
Quoted 1 line · Trevor Gamblin
I actually replaced this by
See [YOCTO #13921]
Quoted 8 lines
documentation/ref-manual/variables.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)documentation/ref-manual/variables.rst +0
-0
documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 6934
Quoted 7 lines
documentation/ref-manual/variables.rst +3
-1@@ -6929,7 +6929,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 SERIAL_CONSOLES_CHECK also requires + /etc/inittab to be writable when used with SysVinit. This makes it + incompatible with customizations such as the following: ::
Actually, we now recommend to just use "::" at the end of the line. That's equivalent and we've made a tree-wide change for this change.
I took care of updating this too. Looking good to me otherwise.
I will merge this in "master-next" tomorrow if nobody objects.
Thanks again,
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 31 lines · Michael Opdenacker
Hi Trevor,
Thanks for your patch!
Quoted 1 line · Trevor Gamblin
I actually replaced this by
See [YOCTO #13921]
Quoted 8 lines
documentation/ref-manual/variables.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)documentation/ref-manual/variables.rst +0
-0documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 6934
Quoted 7 lines
documentation/ref-manual/variables.rst +3
-1@@ -6929,7 +6929,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 SERIAL_CONSOLES_CHECK also requires + /etc/inittab to be writable when used with SysVinit. This makes it + incompatible with customizations such as the following: ::Actually, we now recommend to just use "::" at the end of the line. That's equivalent and we've made a tree-wide change for this change.
Quoted 6 lines
I took care of updating this too. Looking good to me otherwise.
Reviewed-by Michael Opdenacker <[email protected]>I will merge this in "master-next" tomorrow if nobody objects.
s/SERIAL_CONSOLES_CHECK/:term:SERIAL_CONSOLES_CHECK/ s/\/etc\/inittab/``\/etc\/inittab``/
Pondering if we should double tick quote SysVinit and systemd but since these were not changed in the commit, does not matter for this to be merged :)
Cheers,
Quentin
Hi Quentin,
Quoted 2 lines · Quentin Schulz
s/SERIAL_CONSOLES_CHECK/:term:
SERIAL_CONSOLES_CHECK/ s/\/etc\/inittab/``\/etc\/inittab``/
Oops, thanks!
I'll take care of sending the V2 then ;-)
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com