Commit Graph

283 Commits

Author SHA1 Message Date
MilhouseVH
cd71230bdb buildsystem: image - use HERE docs 2019-06-17 01:48:35 +01:00
MilhouseVH
90be11322a buildsystem: consistently use braces 2019-06-16 03:35:56 +01:00
MilhouseVH
b48622994b Merge pull request #3212 from antonlacon/rpi-zstd-img
rpi: switch to zstd squashfs images
2019-05-10 00:43:43 +01:00
CvH
851f654777 Merge pull request #3458 from kszaq/drop_aml_3.14
Goodbye Amlogic 3.14
2019-05-04 07:22:11 +02:00
Ian Leonard
3b75089c97 scripts/image: zstd: use a 1MB blocksize by default
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-03 23:49:08 +00:00
Ian Leonard
1fcc9d3247 image: drop OPENELEC_ARCH from /etc/os-release
Also swaps the necessary variable check in busybox/init to acoomodate OPENELEC_ARCH
may or may not exist, while LIBREELEC_ARCH will be assumed to exist.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-03 23:11:24 +00:00
kszaq
9ad3fbe815 scripts, tools: drop amlpkg building 2019-05-04 00:01:55 +02:00
Jonas Karlman
e92b858d9e scripts/image: build an image for each UBOOT_SYSTEM 2019-05-01 16:27:07 +00:00
Jonas Karlman
0d2d9f8c29 scripts/image: use BUILD_NAME in mkimage 2019-05-01 16:27:04 +00:00
Jonas Karlman
41329e36e5 scripts/image: pass UUID_SYSTEM to mkimage 2019-05-01 16:27:02 +00:00
Jonas Karlman
a74435d4de scripts/image: extract function do_mkimage 2019-05-01 16:27:00 +00:00
MilhouseVH
956b10dd55 scripts/image: restore checkdeps call 2019-02-25 20:29:34 +00:00
MilhouseVH
9af18cf35e scripts/image: restore original licence/copyright and resolve debate 2019-02-13 15:10:54 +00:00
MilhouseVH
98c021069c buildsystem: make multithread the default (THREADCOUNT=100%) 2019-02-08 17:17:43 +00:00
MilhouseVH
d26e29c4d9 scripts: rename legacy image and create_addon scripts, new make targets 2019-02-08 17:17:43 +00:00
MilhouseVH
0ebc6fef63 build system: add parallel build support; use new "image" package 2019-02-08 17:17:43 +00:00
CvH
679966ca02 scripts/image: add OVA_SIZE variable 2019-01-25 19:24:53 +01:00
Christian Hewitt
52948b4403 image: add PROJECT to /etc/os-release 2018-12-24 07:44:16 +04:00
Ian Leonard
c055a512de scripts/image: fixup mediacenter test
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:35:43 +00:00
Christian Hewitt
27a4a4763b u-boot: only append suffix when creating multiple u-boot variants 2018-10-06 10:00:48 +04:00
MilhouseVH
649960709e Merge pull request #2992 from antonlacon/blocksize
scripts/image: use 256kb blocksize for squashfs images
2018-10-04 00:58:45 +01:00
sky42
1db81d6041 scripts: image: show BUILDER_NAME in System Information and LE settings 2018-10-02 12:20:02 +02:00
Ian Leonard
cd6287cc54 scripts/image: use custom blocksizes for squashfs images
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>
2018-09-22 21:28:01 +00:00
Ian Leonard
aecf28220e scripts/image: use maximum lzo and zstd compression level for images
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>
2018-08-16 22:15:17 +00:00
Ian Leonard
bfce57a7bd scripts/image: fixup installed Kodi version in RELEASE
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>
2018-08-15 21:22:37 +00:00