Commit Graph

265 Commits

Author SHA1 Message Date
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
Ian Leonard 42c4885f4e treewide: drop references to powerpc64
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-08-15 21:22:37 +00:00
Ian Leonard 32174df9f8 scripts/image: cleanup for clarity, code style and organization
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>
2018-08-15 21:22:37 +00:00
CvH 843051d0f7 spdx: scripts/ 2018-07-17 23:58:49 +02:00
Matthias Reichl 2f5a3b0871 Merge pull request #2742 from MilhouseVH/le90_add_AUTHOR
scripts/image: add BUILDER_NAME, BUILDER_VERSION support
2018-07-08 12:36:59 +02:00
Jonas Karlman 7231f4e188 scripts/image: pass BOOTLABEL and DISKLABEL to mkimage 2018-06-02 19:49:46 +02:00
MilhouseVH 4ffd33a3f9 scripts/image: add BUILDER_NAME, BUILDER_VERSION 2018-06-02 08:19:50 +01:00
Tomas Kelemen (vudiq) 54bb0e77dd scripts/image: fix noobs tarball 2018-05-30 21:21:16 +02:00
MilhouseVH d8d723d7c2 init: drop BOOT_IMAGE from RPi/RPi2/Rockchip; fix img upgrades 2018-05-15 22:14:42 +01:00
Matthias Reichl 0f1de8fe39 scripts/image: create .sha256 files of tar and zip files
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-04-24 15:07:27 +02:00
Jonas Karlman c9f12da73c scripts/image: support periodic image names 2018-04-22 20:37:56 +02:00
Christian Hewitt 15c3e9e90c Merge pull request #2518 from MilhouseVH/le90_save_build_config
buildsystem: save/load build config, simplify clean and build --all
2018-02-25 14:13:37 +04:00
Radostan Riedel d450819323 Merge pull request #2506 from HiassofT/le9-kernel-toolchain
Compile kernel on 64/32 split archs without redefining TARGET_PREFIX
2018-02-23 20:12:59 +01:00
MilhouseVH 1a6d8a8f06 buildsystem: save/load build config 2018-02-23 10:19:52 +00:00
MilhouseVH 1edbc1b10f config/options: initialise the debug helper caches 2018-02-19 07:08:48 +00:00
Matthias Reichl a5f4761560 scripts/image: use kernel toolchain to strip modules
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-02-17 17:54:34 +01:00
MilhouseVH 964e1c3755 scripts/image: use helper function 2018-02-01 05:21:36 +00:00
CvH b72acb8816 Merge pull request #2243 from MilhouseVH/le90_fix_noobs
NOOBS: shorten partition labels, add $DEVICE support
2018-01-29 14:35:07 +01:00
Adam Green ad9e7560c8 buildsystem: add support for building extra packages specified in
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
2018-01-06 01:49:09 +00:00