From 3934d67f85ecb0a6f0ef744328607e6cdba97b28 Mon Sep 17 00:00:00 2001 From: Cyteen Date: Wed, 1 Nov 2017 11:31:38 +0000 Subject: [PATCH] Added bootchart2 with changes to /etc/default/grub. --- 020_bootchart.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 020_bootchart.sh diff --git a/020_bootchart.sh b/020_bootchart.sh new file mode 100644 index 0000000..a4e73a7 --- /dev/null +++ b/020_bootchart.sh @@ -0,0 +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 + +update-grub