Skip to content

Commit

Permalink
increase log level in running VM build
Browse files Browse the repository at this point in the history
we keep the "quiet" option on purpose to avoid a too verbose boot-up.
but we want to get more output during runtime error
  • Loading branch information
adrianschroeter committed Feb 12, 2018
1 parent b00a751 commit 490575d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-vm
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,8 @@ vm_detect_2nd_stage() {
BUILD_DIR=/.build
echo "machine type: `uname -m`"
echo "Linux version: `uname -rv`"
echo "Increasing log level from now on..."
echo 4 > /proc/sysrq-trigger
if test "$PERSONALITY" != 0 -a -z "$PERSONALITY_SET" ; then
export PERSONALITY_SET=true
echo "switching personality to $PERSONALITY..."
Expand Down

0 comments on commit 490575d

Please sign in to comment.