Squashfs allows configuring a blocksize between 4KB and 1MB. The default is
128KB. Increasing blocksize, in general, increases compression efficiency
at a cost of increased access time. Using 256KB for a blocksize appears to be
a sweet spot balancing the two for gzip and zstd. Blocksize 512KB appears
right for lzo.
Gzip decreases by ~700KB.
Lzo decreases by ~1.25MB.
Zstd decreaes by ~2.5MB.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
For LZO, this saves about 40kb on img.gz size.
For GZIP, this saves about 4kb on img.gz size.
For ZSTD, this saves about 500kb on img.gz size.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Switch scripts/git_version for get_pkg_version out of
config/functions. Resolves being unable to report Kodi's version
in RELEASE file.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Have IMAGE_NAME check for devel version before applying default
naming.
Generate all the baselayout directories in a for loop instead of
the long list of mkdir -p one after the other.
For 64-bit builds, $INSTALL/usr is already generated for all
arches a few lines previously, so don't repeat here.
There are changes to comments for corrections and clarity.
Unifies code style: $() versus `` and spaces before ;
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
project or device options
this has been added at the end of the virtual debug package as
this is the last point in the build system that any packages are
compiled before images are created