brintos

brintos / linux-shallow public Read only

0
0
Text · 684 B · 41a4255 Raw
17 lines · plain
1The rcutorture scripting tools automatically create an initrd containing2a single statically linked binary named "init" that loops over a3very long sleep() call.  In both cases, this creation is done by4tools/testing/selftests/rcutorture/bin/mkinitrd.sh.5 6However, if you don't like the notion of statically linked bare-bones7userspace environments, you might wish to press an existing initrd8into service:9 10------------------------------------------------------------------------11cd tools/testing/selftests/rcutorture12zcat /initrd.img > /tmp/initrd.img.zcat13mkdir initrd14cd initrd15cpio -id < /tmp/initrd.img.zcat16# Manually verify that initrd contains needed binaries and libraries.17