Open probonopd opened 3 years ago
@probonopd I think we can close this issue out.
Reducing the ISO size is always an issue. The ISO can never be small enough :-) Although we are well under 2 GB at the moment, partly by having factored out the Deveoper tools.
True. Understandable.
If the size grows considerably after recent https://github.com/helloSystem/ISO/commit/1558928a1c95e2a635b953cf2e77e5fc90c496b0, then look first at line 34.
Thanks for the hint @grahamperrin but that does't work anyway, because pkg add
apparently isn't capable of installing dependencies, and pkg install
would apparently need a pkg repository which we don't have nor want unless it can be done within a GitHub repository (I do not want to maintain infrastructure/servers).
We need to reduce the ISO size to stay under the 2GB limit for GitHub Releases yet give us some headroom.
Useful commands:
See a tree of the top-level dependencies
This gives a quick overview about the direct dependencies of all installed packages.
See why a package was included
Example:
pkg remove -n perl5
(this needs no root rights and does not do anything besides print the information)This shows which other packages we would have to sacrifice if we wanted to get rid of the
perl5
package.See why something is an indirect dependency of something
Example:
This produces a huge tree, so it is best to redirect the output of a file where it can be searched.