Skip to content

Commit b06e212

Browse files
authored
Merge branch 'desultory:main' into resume-swapfile
2 parents 64a3a51 + 56d5c4f commit b06e212

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-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
```

examples/example.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
##############################################################################
2+
## ##
3+
## there are docs at https://github.com/desultory/ugrd/tree/main/docs ##
4+
## ##
5+
##############################################################################
6+
17
# This config will decrypt the LUKS volume with uuid "fdf442da-0574-4531-98c7-55227a041f1d", mapping it to "/dev/mapper/root"
28
# Note: In most cases, the uuid of the LUKS volume will be detected from the root mount. It's set as an example here.
39
# It will attempt to mount the btrfs volume with label "rootfs" to /target_rootfs

0 commit comments

Comments
 (0)