Skip to content

Commit 880db1d

Browse files
committed
add warning about setting make_nodes = true when embedding in the build dir
I mean I didn't know these docs existed when I ran into the issues, but had I known this might have saved me some hours.
1 parent 0259cb7 commit 880db1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/bootloader_config.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ The `build_dir`can be embedded into the Linux kernel with:
2424
CONFIG_INITRAMFS_SOURCE="/tmp/initramfs"
2525
```
2626

27+
Take care to set `make_nodes = true` to create `/dev/console` in the build dir (instead of in the cpio when packing it).
28+
The console device node file is required in builtin initrds.
29+
2730
A CPIO file can be embedded into the Linux kernel with:
2831

2932
```

0 commit comments

Comments
 (0)