Skip to content

Commit

Permalink
Interim fix for ubi_reader switching to poetry, closes #97
Browse files Browse the repository at this point in the history
  • Loading branch information
extremecoders-re authored Sep 16, 2024
1 parent 6ad3a15 commit 872d48e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ sed -i 's;\$SUDO ./build.sh;wget https://github.com/devttys0/sasquatch/pull/47.p
# Change to python3 in deps.sh to allow installation on Ubuntu 20.04 (binwalk commit 2b78673)
sed -i '/REQUIRED_UTILS="wget tar python"/c\REQUIRED_UTILS="wget tar python3"' deps.sh

# Fix for ubi_reader not able to clone
sed -i 's;"master" https://github.com/jrspruitt/ubi_reader;"main" https://github.com/jrspruitt/ubi_reader;' deps.sh
# Fix for ubi_reader change of branch name + switching to poetry
wget https://github.com/ReFirmLabs/binwalk/pull/639.patch && patch -p1 < 639.patch && rm 639.patch

# Required as we are not installing ubi_reader using poetry
pip install lzallright

sudo ./deps.sh --yes
sudo python3 ./setup.py install
Expand Down

0 comments on commit 872d48e

Please sign in to comment.