Skip to content

Commit

Permalink
chore(doc): fix documentation inconsistencies and missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nyuware committed Jan 4, 2024
1 parent a3d406f commit a814869
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ dependencies. To install all required dependencies for development, you can run
the following command:

```
poetry install --with dev
poetry install --with dev --all-extras
```

Please note that it installs dependencies within the dedicated virtual
Expand Down
6 changes: 3 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ There is a handy `install-deps.sh` script included in the repository and PyPI pa
1. With your operating system package manager:
On Ubuntu 22.04, install extractors with APT:

sudo apt install android-sdk-libsparse-utils e2fsprogs p7zip-full unar zlib1g-dev liblzo2-dev lzop lziprecover libhyperscan-dev zstd lz4
sudo apt install android-sdk-libsparse-utils e2fsprogs p7zip-full unar zlib1g-dev liblzo2-dev lzop lziprecover libhyperscan-dev zstd lz4 srecord

2. If you need **squashfs support**, install sasquatch:

Expand All @@ -139,9 +139,9 @@ There is a handy `install-deps.sh` script included in the repository and PyPI pa
4. We maintain a fork of e2fsprogs based on Debian upstream, with some security fixes. You can install it this way:

curl -L -o libext2fs2_1.47.0-3.ok1.deb "https://github.com/onekey-sec/e2fsprogs/releases/download/v1.47.0-3.ok1/libext2fs2_1.47.0-3.ok1_$(dpkg --print-architecture).deb"
dpkg -i libext2fs2_1.47.0-3.ok1.deb
sudo dpkg -i libext2fs2_1.47.0-3.ok1.deb
rm -f libext2fs2_1.47.0-3.ok1.deb

curl -L -o e2fsprogs_1.47.0-3.ok1.deb "https://github.com/onekey-sec/e2fsprogs/releases/download/v1.47.0-3.ok1/e2fsprogs_1.47.0-3.ok1_$(dpkg --print-architecture).deb"
dpkg -i e2fsprogs_1.47.0-3.ok1.deb
sudo dpkg -i e2fsprogs_1.47.0-3.ok1.deb
rm -f e2fsprogs_1.47.0-3.ok1.deb
9 changes: 5 additions & 4 deletions unblob/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ apt-get install --no-install-recommends -y \
unar \
xz-utils \
libmagic1 \
zstd
zstd \
srecord

curl -L -o sasquatch_1.0.deb "https://github.com/onekey-sec/sasquatch/releases/download/sasquatch-v4.5.1-4/sasquatch_1.0_$(dpkg --print-architecture).deb"
dpkg -i sasquatch_1.0.deb
sudo dpkg -i sasquatch_1.0.deb
rm -f sasquatch_1.0.deb

curl -L -o libext2fs2_1.47.0-3.ok1.deb "https://github.com/onekey-sec/e2fsprogs/releases/download/v1.47.0-3.ok1/libext2fs2_1.47.0-3.ok1_$(dpkg --print-architecture).deb"
dpkg -i libext2fs2_1.47.0-3.ok1.deb
sudo dpkg -i libext2fs2_1.47.0-3.ok1.deb
rm -f libext2fs2_1.47.0-3.ok1.deb

curl -L -o e2fsprogs_1.47.0-3.ok1.deb "https://github.com/onekey-sec/e2fsprogs/releases/download/v1.47.0-3.ok1/e2fsprogs_1.47.0-3.ok1_$(dpkg --print-architecture).deb"
dpkg -i e2fsprogs_1.47.0-3.ok1.deb
sudo dpkg -i e2fsprogs_1.47.0-3.ok1.deb
rm -f e2fsprogs_1.47.0-3.ok1.deb

0 comments on commit a814869

Please sign in to comment.