Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Commit

Permalink
Fix Empire build
Browse files Browse the repository at this point in the history
  • Loading branch information
Re4son committed Feb 23, 2019
1 parent 973a06a commit 657b1c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nethunter-fs/stages/stage3
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ if cd /opt/proxmark3; then
fi
if cd /opt/Empire/setup; then
# Lets patch install.sh to build xar for our target architecture
if [ $build_arch == "arm64" ]; then
sed "install.sh" -i -e "s/(cd xar-1.5.2 \&\& \./configure)/(cd xar-1.5.2 \&\& \./configure --build=armv8l-unkown-linux-gnu)/"
elif [ $build_arch == "armhf" ]; then
sed "install.sh" -i -e "s/(cd xar-1.5.2 \&\& \./configure)/(cd xar-1.5.2 \&\& \./configure --build=armv7l-unkown-linux-gnu)/"
fi
chmod +x install.sh
printf "\n" | ./install.sh
fi
Expand Down

0 comments on commit 657b1c6

Please sign in to comment.