logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://anongit.hacktivis.me/git/bootstrap-initrd.git/
commit: cb4265cd91dc136534278c37e324aaa9cee276c4
parent 8e6e5c591efcbc25dc781d7ca92ec641d7c90061
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  6 May 2025 21:50:08 +0200

README: Add `--gid 0` to bubblewrap example

Needed for utils-std/test-cmd/id.sh

Diffstat:

MREADME.md2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -166,7 +166,7 @@ $ ./make-initrd.sh && qemu-system-x86_64 -enable-kvm -m 512 -kernel /boot/vmlinu ## Dev setup via bubblewrap ``` -$ ./make-root.sh && bwrap --clearenv --unshare-all --bind bootstrap-initrd/x86_64/ / --proc /proc --dev /dev --uid 0 /init +$ ./make-root.sh && bwrap --clearenv --unshare-all --bind bootstrap-initrd/x86_64/ / --proc /proc --dev /dev --uid 0 --gid 0 /init ``` Useful as it allows to manipulate the environment externally, for example to edit files in an editor more comfortable than `ed(1)`.