1125 Commits

Author SHA1 Message Date
MilhouseVH
8d1d97f0d1 squashfs: change upstream to kernel.org; update to squashfs-1a6ffc7 2017-09-22 13:58:12 +01:00
Christian Hewitt
7866a62b5a Merge pull request #1980 from MilhouseVH/le90_optimise_extract
scripts/unpack: avoid calling scripts/extract for each tarball pattern
2017-09-20 21:41:39 +04:00
MilhouseVH
e70485eb84 scripts/unpack: avoid calling scripts/extract for each tarball pattern
Each time scripts/extract is called it sources config/options which is an
expensive operation.

We call scripts/extract 8 times for each possible tarball pattern, and for
7 of those 8 calls scripts/extract does nothing but source config/options
and then exit.

This change is more efficient, while functionally equivalent.
2017-09-14 10:50:40 +01:00
MilhouseVH
8f2e61c928 scripts/get: fix logic error when download is successful, but checksum is invalid
A download might succeed from, say, github, but have an invalid checksum. In this
case it would not attempt the alternative download from the mirror (which might
have the correct checksum), but instead it would repeatedly download from github
until the download limit is exceeded, and then fail completely.
2017-09-14 04:39:51 +01:00
MilhouseVH
096310f125 scripts/unpack: use git apply whenever patch includes a renamed file 2017-08-31 00:40:30 +01:00
Christian Hewitt
1ca3686dc2 Merge pull request #1893 from zalaare/pr_master_ova-syslinux-default-and-ova-name
build system: drop .img extension for the open virtual appliance
2017-08-25 07:44:56 +04:00
cvh
6b5ebac327 create_addon: use 7zip for addon.zip creation 2017-08-18 11:33:44 +02:00
zalaare
5e81f2a01b build system: drop .img extension for the open virtual appliance
and change the default syslinux entry from installer to run
  for the open virtual appliance.
2017-08-16 09:01:24 -04:00
zalaare
9cf973013a build system: use DISK_SIZE in bytes for ovf template 2017-08-14 15:59:46 -04:00
MilhouseVH
976e9de27d buildsystem: enable custom colours (or none at all) 2017-08-11 06:42:42 +01:00
Christian Hewitt
65e313171a Merge pull request #1799 from MilhouseVH/fix_checkdeps
scripts/checkdeps: fix library test
2017-07-23 15:59:42 +04:00
MilhouseVH
8896e1a283 addons: provide install_addon script 2017-07-19 00:47:49 +01:00
MilhouseVH
24d4bd6f32 addons: use default install_binary_addon helper instead of boiler plate 2017-07-19 00:47:49 +01:00
Peter Vicman
8c2e4efb69 scripts/get: cosmetic change when reporting the calculated checksum
as described in https://github.com/LibreELEC/LibreELEC.tv/pull/1806#issuecomment-315903858

from
```
          GET      gettext
INFO Calculated checksum is: ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43
          UNPACK   gettext
```
to
```
          GET      gettext
              INFO Calculated checksum: ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43
          UNPACK   gettext
```
2017-07-18 08:57:39 +02:00
MilhouseVH
3a4c5eb63f scripts/create: add call to checkdeps 2017-07-16 21:32:41 +01:00
MilhouseVH
426e8147a4 scripts/checkdeps: fix library test 2017-07-16 21:23:26 +01:00
MilhouseVH
cd5b1701ef scripts/create_addon: fix debug_strip 2017-07-15 18:30:10 +02:00
MilhouseVH
b809dba94c Merge pull request #1778 from Kwiboo/shell-device-version
reduce $DEVICE complexity
2017-07-15 03:31:41 +01:00
Jonas Karlman
fbc4fd4e0b scripts/create_addon: reduce $DEVICE complexity 2017-07-11 21:19:07 +02:00
Jonas Karlman
46b69d29bf scripts/image: reduce $DEVICE complexity 2017-07-11 21:19:07 +02:00
MilhouseVH
c6aeb9f83f checkdeps: add libjson-perl 2017-07-06 19:28:19 +01:00
cvh
9910717225 scripts/image: cleanup os-release 2017-07-06 12:23:41 +02:00
cvh
3a0fb61ab1 scripts/image: cleanup shell output 2017-07-06 12:23:41 +02:00
MilhouseVH
32cb753e93 build system: verify package downloads using sha256 checksum 2017-05-05 18:34:35 +01:00
MilhouseVH
8cd9fa57bf Merge pull request #1431 from Kwiboo/align-partitions
scripts/mkimage: align partitions to 4MiB
2017-03-30 20:08:17 +01:00
MilhouseVH
2a50418845 unpack: avoid calculating hash more than once 2017-03-23 15:14:02 +00:00
MilhouseVH
aa343ae3bf scripts: add comment to clarify usage 2017-03-23 14:59:46 +00:00
MilhouseVH
0647fa703b Revert "clean: avoid unecessary disk io"
This reverts commit 7bc2ed47020213ff2db0cead266040f33286d159.
2017-03-23 14:33:20 +00:00
MilhouseVH
cecbc6fb3a Revert "unpack: avoid unecessary disk io"
This reverts commit 895122eb66e19c073f4aa5663856d7f07b19b914.
2017-03-23 14:33:17 +00:00
MilhouseVH
b7fdf94ae7 create_addon: add device support 2017-03-15 03:28:03 +00:00
Christian Hewitt
5f2a479b51 Merge pull request #1356 from lrusak/device-name
$DEVICE naming changes
2017-03-14 22:03:15 +04:00
Jonas Karlman
e4ba1d4736 scripts/mkimage: align partitions to 4MiB 2017-03-12 09:51:31 +01:00
Lukas Rusak
44dc5c9647
scripts/image: use $DEVICE.$TARGET_ARCH 2017-02-28 09:35:49 -08:00
Christian Hewitt
eacd31e221 Merge pull request #1387 from MilhouseVH/absolute_paths_extra
buildsystem: Create unpack stamps for packages without sources
2017-02-28 09:09:42 +04:00
Christian Hewitt
a046109a96 Merge pull request #1326 from MilhouseVH/script_cleanup
Build system scripts cleanup
2017-02-26 18:58:50 +04:00
kszaq
7672efd098 scripts/image: print depmod errors so that we can see unresolved symbols when building 2017-02-26 15:39:03 +01:00
Christian Hewitt
e504d83ad8 Merge pull request #1370 from kszaq/addon_stripping
Addon stripping improvements
2017-02-26 18:35:21 +04:00
MilhouseVH
d94dace814 unpack: avoid yet more wildcard io 2017-02-23 11:42:08 +00:00
MilhouseVH
7bc2ed4702 clean: avoid unecessary disk io 2017-02-23 11:42:08 +00:00
MilhouseVH
895122eb66 unpack: avoid unecessary disk io 2017-02-23 11:42:08 +00:00
MilhouseVH
bdcd5bc405 build/unpack: eliminate eval 2017-02-23 11:42:08 +00:00
MilhouseVH
2456e366fc unpack: alter logic so that packages without sources have a stamp 2017-02-23 11:42:08 +00:00
kszaq
aa1edddea0 scripts/create_addon: always setup toolchain when creating addon
If addon wants to strip binaries we need to have STRIP set up.
Without running 'build' setup_toolchain is not called and stripping fails.
Make sure we also setup paths before creating package.
2017-02-18 23:28:28 +01:00
kszaq
dd50ef2191 scripts/create_addon: strip all addons
This makes sure that all executables in addon install dir are stripped. We can now
drop debug_strip in addons' package.mk.
2017-02-18 23:25:39 +01:00
MilhouseVH
47d03c8586 unpack: add --unsafe-paths to allow patching outside of git working area 2017-02-18 00:58:12 +00:00
MilhouseVH
5d786baaf2 INSTALL: drop $ROOT, convert to absolute path 2017-02-17 18:17:13 +00:00
MilhouseVH
99ef6bc05d PKG_BUILD: drop $ROOT, convert to absolute path 2017-02-17 18:17:13 +00:00
MilhouseVH
03366a102c TOOLCHAIN: drop $ROOT, convert to absolute path 2017-02-17 18:17:13 +00:00
MilhouseVH
03363dc5cd get: silence libssl.so/libcrypto.so messages 2017-02-12 22:37:35 +00:00
MilhouseVH
50aac918e6 extract: typos 2017-02-12 22:37:35 +00:00