Skip to content

fix(utils): Removed forced path for mksquashfs #370

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RezaRahemtola
Copy link
Member

Fixes an issue with aleph program upload on operating systems where mksquashfs is not installed at this location (eg on MacOS with homebrew it's at /opt/homebrew/bin/mksquashfs, and /usr/bin is not writable without disabling important security features of the OS).

Letting the OS figures out the location of the binary to use fixes this & works for everybody.

Print screen / video

Before:
image

After:
image

@RezaRahemtola
Copy link
Member Author

@nesitor small bump to merge this ;)

@nesitor
Copy link
Member

nesitor commented Jul 16, 2025

@nesitor small bump to merge this ;)

@RezaRahemtola the PR is not passing the CI tests and either the code quality rules. Code quality can be solved easily with the command hatch run linting:fmt, but the tests will require a revision.

@RezaRahemtola
Copy link
Member Author

@nesitor small bump to merge this ;)

@RezaRahemtola the PR is not passing the CI tests and either the code quality rules. Code quality can be solved easily with the command hatch run linting:fmt, but the tests will require a revision.

Indeed, will try to check when I have some time, for now I kept these changes locally so it works for the use cases I have on mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants