-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feat: A SHRINK
command
#59
Comments
Isn't there already PiShrink to do exactly this job? It is currently even linked in pimod's README. I would see the benefit of including PiShrink into pimod as a If you, or anyone else, wants to address this in a Pull Request, I'd be happy to merge it. Currently I don't have the time to do this by myself. |
It looks like this feature request is mostly a matter of making it more convenient to use pishrink's functionality in workflows involving Pimod. I'm building custom Raspberry Pi OS images exclusively in CI, and I found this feature request while exploring my options for running pishrink more easily on GitHub Actions, since I was using Pimod anyways. To simplify that use-case in a way that was easy for me to implement, I've now made a GitHub action (ethanjli/pishrink-action) which is a slightly-nicer wrapper around pishrink.sh, e.g. as in this example for running pishrink on the output of Pimod: https://github.com/ethanjli/pishrink-action?tab=readme-ov-file#pimod-usage-example . (At least for now I'm not the right person to make a PR to add a |
SHRINK [SIZE]
SHRINK
decreases the size of the image to the minimum possible.Optionally, you can specify the amount to decrease (suffixes K, M, G are allowed).
Example:
The text was updated successfully, but these errors were encountered: