File mkinitrd-setup.sh of Package bootchart
#!/bin/bash # #%stage: setup #%depends: start # if use_script bootchart; then mv init sbin/init ln -s sbin/bootchartd init sed -e "s,.lock,/.lock," /etc/bootchartd.conf > etc/bootchartd.conf cp /etc/SuSE-release etc/ touch etc/inittab mkdir -p lib/bootchart/mnt mknod -m 0666 dev/null c 1 3 # this is so bootchartd stops processing things ln -s /bin/sleep bin/stopinitrd bootchart=1 save_var bootchart fi