Added support for tracking initrd to the grub commandline.

This commit is contained in:
Cyteen 2017-11-01 13:28:53 +00:00
parent 5d09879ea1
commit 578c2eeafa
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
apt-get install -y bootchart2 pybootchartgui
sed -i "s|^GRUB_CMDLINE_LINUX=\"\(.*\)\"|GRUB_CMDLINE_LINUX=\"\1 initcall_debug printk.time=y init=/sbin/bootchartd\"|" /etc/default/grub
sed -i "s|^GRUB_CMDLINE_LINUX=\"\(.*\)\"|GRUB_CMDLINE_LINUX=\"\1 initcall_debug printk.time=y init=/sbin/bootchartd rdinitrd=/sbin/bootchartd\"|" /etc/default/grub
update-grub