885 Commits

Author SHA1 Message Date
CvH
c4a861bc68 scripts/get: make hash output easier to copy 2018-09-13 14:15:44 +02:00
CvH
7193cc0feb
Merge pull request #2964 from MilhouseVH/le90_fix_install_proj_dev
buildsystem: better support for project and device config files
2018-09-10 15:04:01 +02:00
MilhouseVH
57dc48fe0e scripts/install: add install support for project and device configs 2018-09-08 20:56:04 +01:00
MilhouseVH
327e33a320 scripts/get, tools-distro-tool: fix wget redirection issue 2018-08-30 04:39:33 +01:00
CvH
a588776dff
Merge pull request #2892 from antonlacon/compression-levels
scripts/image: use maximum lzo and zstd compression level for images
2018-08-28 21:12:52 +02:00
Matthias Reichl
1c5d050bc0 scripts/extract: improve tar file handling
GNU tar can automatically detect the compression format based on
the file name since at least 2006. So just use "tar xf" to extract
all tarballs and drop the redundant cases.

GNU tar can also strip the top level directory from the archive
which allows us to extract it to the directory wanted by the
build system ($PKG_NAME-$PKG_VERSION), so packages don't need to
specify PKG_SOURCE_DIR if the top level dir from that and scripts/unpack
doesn't need to rename the directory.

If PKG_SOURCE_DIR is not set the top level dir is automatically
stripped from the archive and extracted to $BUILD/$PKG_NAME-$PKG_VERSION

If PKG_SOURCE_DIR is set, scripts/extract behaviour is unchanged.

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-08-26 22:26:04 +02:00
Sascha Kuehndel (InuSasha)
58b17b1a74
create_addon now also writes a summary when log writing is used.
on special wish of @cvh
2018-08-22 21:27:53 +02:00
Jonas Karlman
90cbdbc2e3 RK3399: drop odroidn1 2018-08-21 23:37:45 +02:00
chewitt
d2fa2d6cc8 mkimage: support tty in run mode 2018-08-20 22:28:32 +04: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
2f2a1ff4b7 scripts/git_version: delete as no users in tree
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-08-15 22:38:50 +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
Sascha Kuehndel (InuSasha)
caa24ac9ad
create_addon: improve done message, a bit 2018-08-06 19:12:55 +02:00
Sascha Kuehndel (InuSasha)
0c82bdadab
create_addon: two improvments
* allow to build addons with sourced `PKG_IS_ADDON` variable
* change state of "not supported" messages from `ERROR` to `SKIP`
2018-08-04 13:18:12 +02:00
MilhouseVH
1defb5a9de scripts/create_addon: minor cleanup 2018-08-01 02:23:11 +01:00
Sascha Kuehndel (InuSasha)
1cdead3623
create_addon: syntax fix 2018-07-30 19:30:04 +02:00
Sascha Kuehndel (InuSasha)
5187c59c3c
create_addon: add logging
and small fixes
2018-07-29 18:38:14 +02:00
Sascha Kuehndel (InuSasha)
6f2b08eab0
create_addon: fixes
- drop group retroplayer
2018-07-29 11:59:52 +02:00
Sascha Kuehndel (InuSasha)
a5fd4a44aa
create_addon: do not include addons, embedded in image 2018-07-28 10:50:52 +02:00
Sascha Kuehndel (InuSasha)
70db036ca9
create_addon: do not write usage on non-matching addon-pattern 2018-07-28 10:50:52 +02:00
Sascha Kuehndel (InuSasha)
e8c5cfabfe
create_addon: add possibility to build more then one addon, with one call 2018-07-28 10:50:51 +02:00
CvH
afe77fc059 create_addon: change jenkins sha256 files 2018-07-24 19:24:53 +02: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
Christian Hewitt
4807527dc3
Merge pull request #2730 from ToKe79/le9-part_labels
Move partition labels to distro options
2018-06-02 07:15:43 +04:00
Tomas Kelemen (vudiq)
00f059abfd mkimage: use BOOTLABEL and DISKLABEL directly 2018-06-01 11:52:36 +02:00
Tomas Kelemen (vudiq)
54bb0e77dd scripts/image: fix noobs tarball 2018-05-30 21:21:16 +02:00
Tomas Kelemen (vudiq)
c2792f5dbb redefine variable names for partition labels 2018-05-30 08:31:04 +02:00
Tomas Kelemen (vudiq)
ba307e3366 mkimage: use labels defined by distro options 2018-05-29 09:21:44 +02:00
CvH
fe1d278963
Merge pull request #2689 from MilhouseVH/le90_init_sky42_patches
init: add sky42 enhancements/bug fixes
2018-05-23 02:27:33 +02:00
CvH
d48f1b200a create_addon: changes for jenkins specific quirks 2018-05-18 12:32:25 +02:00
MilhouseVH
517330f9fe installer: drop extlinux support, not needed - use syslinux 2018-05-15 22:14:42 +01:00
MilhouseVH
cdb7daba21 grub: drop /flash/grub.cfg 2018-05-15 22:14:42 +01:00
MilhouseVH
20992919e1 init: update copyright 2018-05-15 22:14:42 +01:00
MilhouseVH
d8d723d7c2 init: drop BOOT_IMAGE from RPi/RPi2/Rockchip; fix img upgrades 2018-05-15 22:14:42 +01:00
MilhouseVH
2c281d13d9 syslinux.cfg/init/etc: unify syslinux.cfg 2018-05-15 22:14:42 +01:00
CvH
246b7a4a42 create_addon: jenkins 2018-05-11 16:07:39 +02:00
Matthias Reichl
71b9eacbc6 scripts/mkimage: create .sha256 files of images
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-04-24 20:43:30 +02:00
Matthias Reichl
6d9031b932 scripts/mkimage: drop string substition to change DISK suffix
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-04-24 20:43:30 +02: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
MilhouseVH
eefa6ebee4 buildsystem: use single = for consistency 2018-04-02 10:09:11 +01:00
MilhouseVH
7628290170 buildsystem: add a function to calculate stamps, switch from md5 to sha256 2018-04-02 10:09:11 +01:00
MilhouseVH
fa74600e14 buildsystem: use single = not == 2018-04-02 06:45:10 +01:00
Tomas Kelemen (vudiq)
fb6a49734c get_git: fixes and enhancements - fix checking of downloaded repo - clean local changes in cloned repo - enhance branch handling - add commit checking on the branch 2018-04-02 06:43:04 +01:00
Matthias Reichl
6d07b46e97 scripts/extract: use tar to copy to correct directory
also add support for custom tar opt, eg to exclude files
or directories when copying

This can be set eg with PKG_TAR_COPY_OPTS="--exclude=.git"
2018-04-02 06:43:04 +01:00