162306a36Sopenharmony_ciThe rcutorture scripting tools automatically create an initrd containing 262306a36Sopenharmony_cia single statically linked binary named "init" that loops over a 362306a36Sopenharmony_civery long sleep() call. In both cases, this creation is done by 462306a36Sopenharmony_citools/testing/selftests/rcutorture/bin/mkinitrd.sh. 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciHowever, if you don't like the notion of statically linked bare-bones 762306a36Sopenharmony_ciuserspace environments, you might wish to press an existing initrd 862306a36Sopenharmony_ciinto service: 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci------------------------------------------------------------------------ 1162306a36Sopenharmony_cicd tools/testing/selftests/rcutorture 1262306a36Sopenharmony_cizcat /initrd.img > /tmp/initrd.img.zcat 1362306a36Sopenharmony_cimkdir initrd 1462306a36Sopenharmony_cicd initrd 1562306a36Sopenharmony_cicpio -id < /tmp/initrd.img.zcat 1662306a36Sopenharmony_ci# Manually verify that initrd contains needed binaries and libraries. 17