• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1The rcutorture scripting tools automatically create an initrd containing
2a single statically linked binary named "init" that loops over a
3very long sleep() call.  In both cases, this creation is done by
4tools/testing/selftests/rcutorture/bin/mkinitrd.sh.
5
6However, if you don't like the notion of statically linked bare-bones
7userspace environments, you might wish to press an existing initrd
8into service:
9
10------------------------------------------------------------------------
11cd tools/testing/selftests/rcutorture
12zcat /initrd.img > /tmp/initrd.img.zcat
13mkdir initrd
14cd initrd
15cpio -id < /tmp/initrd.img.zcat
16# Manually verify that initrd contains needed binaries and libraries.
17