Skip to content

Commit 84c7a19

Browse files
committed
Fix a few instances of oddball baud rate
Claude pointed this out while I was working on something else completely unrelated. But it looks like somewhere along the way 114800 snuck its way in and probably got copy/pasted into a few places. The maximum baud rate is 115200[1], and that is the more typical usage. [1] https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html Signed-off-by: John Eckersberg <[email protected]>
1 parent a79ab00 commit 84c7a19

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile.cfsuki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN --mount=type=secret,id=key \
2626
# Inject the composefs kernel argument and specify a root with the x86_64 DPS UUID.
2727
# TODO: Discoverable partition fleshed out, or drop root UUID as systemd-stub extension
2828
# TODO: https://github.com/containers/composefs-rs/issues/183
29-
cmdline="composefs=${COMPOSEFS_FSVERITY} root=UUID=4f68bce3-e8cd-4db1-96e7-fbcaf984b709 console=ttyS0,114800n8 enforcing=0 rw"
29+
cmdline="composefs=${COMPOSEFS_FSVERITY} root=UUID=4f68bce3-e8cd-4db1-96e7-fbcaf984b709 console=ttyS0,115200n8 enforcing=0 rw"
3030

3131
kver=$(cd /target/usr/lib/modules && echo *)
3232
ukify build \

crates/lib/src/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ pub(crate) struct InstallConfigOpts {
211211

212212
/// Add a kernel argument. This option can be provided multiple times.
213213
///
214-
/// Example: --karg=nosmt --karg=console=ttyS0,114800n8
214+
/// Example: --karg=nosmt --karg=console=ttyS0,115200n8
215215
#[clap(long)]
216216
pub(crate) karg: Option<Vec<String>>,
217217

docs/src/building/kernel-arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ architecture specific via the `match-architectures` key:
2929

3030
```
3131
# /usr/lib/bootc/kargs.d/00-console.toml
32-
kargs = ["console=ttyS0,114800n8"]
32+
kargs = ["console=ttyS0,115200n8"]
3333
match-architectures = ["x86_64"]
3434
```
3535

0 commit comments

Comments
 (0)