Skip to content

Commit fbe4002

Browse files
Update README.md
1 parent bc26d99 commit fbe4002

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ls -l rootfs.cpio.gz
3636
Above, you'll not be able to inspect the contents of your built `initramfs`. Take a look at your init script!
3737
```
3838
less out/init
39-
``
39+
```
4040
Perhaps you want to make a change (such as add an `echo` or debug statement to your `init` script.
4141

4242
#### How to I repack my `initramfs`?
@@ -48,6 +48,8 @@ cd out # make sure you're in your extracted initramfs folder
4848
find . | cpio -o -H newc | gzip > ../my-new-rootfs.cpio.gz
4949
```
5050

51+
You then might want to re-run your `qemu` debugging process: See [](https://github.com/KarmaComputing/minimal-linux-boot-coreutils/blob/c64027b54b12d488f83cef75b5fbfee3d444e661/run-qemu.sh#L5)- remembering to change the `-initrd rootfs.cpio.gz` argument.
52+
5153
<strike>TODO: add [iproute2](https://github.com/iproute2/iproute2) for minimal routing.</strike>
5254

5355
## Things you need to build

0 commit comments

Comments
 (0)