On 2020/04/30 10:07, Anders Andersson wrote: > I recently bought an APU with the smallest disk I could find (16 GB > mSATA), I don't remember the full install of all sets taking more than > 10%. No need to remove stuff.
With current auto layouts from the installer it's usually ok, but with ones from a couple of releases ago it's very much not. It's also tricky to fit everything if you're using a system from a few years ago with say a 1-2GB CF. > I don't really see why a system-wide tool should have several options > for hardcoded subsets of some of the possible ways to create a > non-standard installation, especially when using these options will > break an otherwise working setup. IF there is such an option, surely > it should take a list of sets that you have installed? The only way I see this making sense is if it detects which sets are installed. But the impression I got was that this was unwanted for sysupgrade (so I use my own script). FWIW in case it helps anyone writing their own, I use these for detection. [ -r /usr/share/man/man1/dd.1 ] && _SETS="${_SETS}man," [ -r /usr/X11R6/bin/xterm ] && _SETS="${_SETS}xbase," [ -r /usr/lib/libc.a ] && _SETS="${_SETS}comp," [ -r /usr/X11R6/include/X11/X.h ] && _SETS="${_SETS}xshare," [ -r /usr/X11R6/bin/X ] && _SETS="${_SETS}xserv," [ -d /usr/X11R6/lib/X11/fonts/misc ] && _SETS="${_SETS}xfont," [ -r /usr/games/rain ] && _SETS="${_SETS}game,"