From 6b15a6b1ad06e3044e019cd67310d22a1c9bee77 Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Wed, 31 Oct 2018 20:58:14 +0000 Subject: [PATCH] Fix bootchart Found the following 2 binary is not in the path system/core/init/grab-bootchart.sh: line 20: bootchart: command not found system/core/init/grab-bootchart.sh: line 21: gnome-open: command not found Use a more commonly available command to create bootchart Test: system/core/init/grab-bootchart.sh started a bootchart successfully Change-Id: I6d5b4a692af2fd53ea636b768f55c697586e6898 --- init/grab-bootchart.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/grab-bootchart.sh b/init/grab-bootchart.sh index c4ff6dfaf..2c56698a1 100755 --- a/init/grab-bootchart.sh +++ b/init/grab-bootchart.sh @@ -17,6 +17,6 @@ for f in $FILES; do adb "${@}" pull $LOGROOT/$f $TMPDIR/$f 2>&1 > /dev/null done (cd $TMPDIR && tar -czf $TARBALL $FILES) -bootchart ${TMPDIR}/${TARBALL} -gnome-open ${TARBALL%.tgz}.png +pybootchartgui ${TMPDIR}/${TARBALL} +xdg-open ${TARBALL%.tgz}.png echo "Clean up ${TMPDIR}/ and ./${TARBALL%.tgz}.png when done"