-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add apt/brew package info for binwalk and {mk,un}squashfs #418
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,23 @@ | |
LOGGER = logging.getLogger(__name__) | ||
|
||
MKSQUASHFS = ComponentExternalTool( | ||
"mksquashfs", "https://github.com/plougher/squashfs-tools", "-help" | ||
"mksquashfs", | ||
"https://github.com/plougher/squashfs-tools", | ||
"-help", | ||
apt_package="squashfs-tools", | ||
brew_package="squashfs", | ||
) | ||
|
||
|
||
class _UnsquashfsV45Tool(ComponentExternalTool): | ||
def __init__(self): | ||
super().__init__("unsquashfs", "https://github.com/plougher/squashfs-tools", "") | ||
super().__init__( | ||
"unsquashfs", | ||
"https://github.com/plougher/squashfs-tools", | ||
"", | ||
apt_package="squashfs-tools", | ||
brew_package="squashfs", | ||
) | ||
Comment on lines
+35
to
+37
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar situation here. In the ofrak Docker image, we build Are the I think the general thinking here is:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @whyitfor not rechecked just now, but per #418 (comment) :
|
||
|
||
async def is_tool_installed(self) -> bool: | ||
try: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding from before was that these packages (at least the brew one) were known to be {inaccurate, non-working, or unmaintained}. @rbs-jacob, does this sound familiar?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, see #482.
Have you validated that the
apt
andbrew
packages are the same as what is installed from source?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@whyitfor have not rechecked just now, but:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.