ISO icon indicating copy to clipboard operation
ISO copied to clipboard

Reduce ISO size

Open probonopd opened this issue 3 years ago • 5 comments

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

sudo pkg -y install pkg pkg_tree
pkg_tree

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:

pkg_tree -v zenity > zenity.deps

This produces a huge tree, so it is best to redirect the output of a file where it can be searched.

probonopd avatar Jan 02 '21 10:01 probonopd

@probonopd I think we can close this issue out.

pynixis avatar Feb 11 '22 02:02 pynixis

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.

probonopd avatar Feb 12 '22 22:02 probonopd

True. Understandable.

pynixis avatar Feb 13 '22 13:02 pynixis

If the size grows considerably after recent https://github.com/helloSystem/ISO/commit/1558928a1c95e2a635b953cf2e77e5fc90c496b0, then look first at line 34.

grahamperrin avatar Sep 13 '22 04:09 grahamperrin

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).

probonopd avatar Sep 17 '22 18:09 probonopd