Skip to content

Commit

Permalink
disable QEMU graphics mode in launch-qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Apr 14, 2017
1 parent 47f4c75 commit 5949152
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function launch_qemu()
test -f $1 || { echo "Image $IMG not found"; return 1; }
test -d qemu-raspbian-network || git clone https://github.com/nachoparker/qemu-raspbian-network.git
sed -i '30s/NO_NETWORK=1/NO_NETWORK=0/' qemu-raspbian-network/qemu-pi.sh
sed -i '35s/NO_GRAPHIC=0/NO_GRAPHIC=1/' qemu-raspbian-network/qemu-pi.sh
echo "Starting QEMU image $IMG"
( cd qemu-raspbian-network && sudo ./qemu-pi.sh ../$IMG 2>/dev/null )
}
Expand Down

0 comments on commit 5949152

Please sign in to comment.