initrd.txt 684 B

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