Skip to content

Commit 1cc34b2

Browse files
authored
Merge pull request #76 from onekey-sec/replace-python-lzo
deps: replace python-lzo by lzallright.
2 parents fbb6443 + 0dc023d commit 1cc34b2

3 files changed

Lines changed: 2 additions & 10 deletions

File tree

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ An override system is also included, for manually setting certain parameters tha
2222
This branch will probably remain seperate, as it is meant to be customized to aid in extracting data from problematic images. You can install it with 'python setup.py develop' to make it easier to modify ubi_reader as needed.
2323

2424

25-
## Dependencies:
26-
27-
Python 2.7 or 3 with the following packages:
28-
29-
$ sudo apt-get install liblzo2-dev
30-
$ sudo pip install python-lzo
31-
32-
3325
## Installation:
3426

3527
Latest Version

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
license='GNU GPL',
1717
keywords='UBI UBIFS',
1818

19-
install_requires=['python-lzo'],
19+
install_requires=['lzallright'],
2020
packages = find_packages(),
2121
scripts=['scripts/ubireader_display_info',
2222
'scripts/ubireader_extract_files',

ubireader/ubifs/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
#############################################################
1919

20-
import lzo
20+
from lzallright.lzallright import LZOCompressor as lzo
2121
import struct
2222
import zlib
2323
from ubireader.ubifs.defines import *

0 commit comments

Comments
 (0)