Skip to content

Commit

Permalink
linux unzip seems to have problems with .zip archives from github. Sw…
Browse files Browse the repository at this point in the history
…itch to .tar.gz
  • Loading branch information
hpeyerl committed Apr 20, 2016
1 parent 26ba9f4 commit 9645bf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build-kernel-qemu
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ COMMIT=423c680bd722670f4b39ea79089859df02b411b6
#sudo apt-get update
sudo apt-get install git libncurses5-dev gcc-arm-linux-gnueabihf
#git clone https://github.com/raspberrypi/linux.git
wget -c https://github.com/raspberrypi/linux/archive/${COMMIT}.zip -O linux-${COMMIT}.zip
test -f linux-${COMMIT}.tar.gz || wget -c https://github.com/raspberrypi/linux/archive/${COMMIT}.tar.gz -O linux-${COMMIT}.tar.gz
rm -rf linux-${COMMIT}
unzip linux-${COMMIT}.zip
tar xvzf linux-${COMMIT}.tar.gz
cd linux-${COMMIT}
# checking out 4.1.7+ branch - change it if you want to change kernel version
# for kernel specific hash, have a looks at : https://github.com/raspberrypi/linux/commits/rpi-4.1.y
Expand Down

0 comments on commit 9645bf4

Please sign in to comment.