Commit Graph

81 Commits

Author SHA1 Message Date
Lukas Rusak 3fa587eb52 add ability to log qa checks 2022-06-28 15:24:22 -07:00
MilhouseVH a1e700fd87 buildsystem: log pkg_call that failed 2020-02-19 07:49:35 +00:00
MilhouseVH fe1dd1e8ac buildsystem: use an update lock when updating image and sysroot
cp (and potentially mkdir -p) are not atomic, and we have seen situations where two packages
concurrently copying the same file (eg. the udev rule for xf86-video-nvidia and
xf86-video-nvidia-legacy) will succeed for one package but the other package fails with
a "file exists" error (as the file didn't exist when it checked, but does exist when it
actually copies the file). Not even cp -f will avoid this issue.

There are several workarounds, but the most practical (and general) solution is to ensure
sequential updates of the image and shared sysroot directories.
2020-01-15 18:49:15 +00:00
MilhouseVH 204d6d4f74 scripts/install: recursively install initramfs:target dependencies after PR4042 2020-01-15 18:49:15 +00:00
MilhouseVH 99ed1d6e31 buildsystem: recursive unpack & build is only needed by sequential builds 2020-01-15 18:49:15 +00:00
Andre Heider d31c44664c build: clean usr/local/ on packages too
Some packages use configure_target() but don't set the /usr prefix.
2019-12-31 11:26:49 +01:00
Andre Heider 912a91619b build: don't wipe devel files from packages, just don't install them
With the upcoming usage of the standard install_pkg folder for addon
dependencies, the devel files need to be accessible, e.g. ffmpegx for
tvheadend.

So don't wipe them from the package install folder, just skip copying
them to the image.
2019-12-31 11:26:49 +01:00
Andre Heider 267d57d7f3 build: add and use PKG_INSTALL
Set it depending on the target, so there's no need to hardcode
$PKG_BUILD/.install_[pkg|init] in multiple places.
2019-12-31 11:26:49 +01:00
Matthias Reichl 635f750dfb script/install: also install hwdb.d files from packages
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-23 12:48:48 +01:00
Matthias Reichl 938a23b9fc scripts/install: copy system.d files recursively
This allows installing drop-ins.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-13 23:44:06 +02:00
MilhouseVH 4e214471bf buildsystem: clean/install - dquote both sides 2019-06-17 01:48:38 +01:00
MilhouseVH f9a2623d06 buildsystem: build/unpack - simplify some logic 2019-06-17 01:48:38 +01:00
MilhouseVH 90be11322a buildsystem: consistently use braces 2019-06-16 03:35:56 +01:00
MilhouseVH 2e3a2dab67 buildsystem: cleanup - PACKAGE_NAME is redundant 2019-06-16 02:59:20 +01:00
MilhouseVH 0ebc6fef63 build system: add parallel build support; use new "image" package 2019-02-08 17:17:43 +00:00
MilhouseVH 0661263dd8 buildsystem: restore set -e fail-on-error behaviour 2019-01-24 19:17:39 +00:00
MilhouseVH fca1adc412 scripts/install: stop sourcing package, reorg code 2018-12-18 03:43:28 +00:00
MilhouseVH b5be90e394 scripts/install: use pkg_call 2018-11-29 01:09:20 +00:00
Ian Leonard 4ec394b3e3 scripts/install: convert to build_msg
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard 59b2228fcd buildsystem: replace printf with echo where able
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-04 05:40:46 +00:00
MilhouseVH 57dc48fe0e scripts/install: add install support for project and device configs 2018-09-08 20:56:04 +01:00
CvH 843051d0f7 spdx: scripts/ 2018-07-17 23:58:49 +02:00
MilhouseVH e0b833c782 buildsystem: remove grep from PKG_ARCH check
More efficient, slightly more functional.

Can be a space delimited list of architectures.

Architectures to be excluded can be specified with !ARCH.

Allows "any !arm" to be interpreted as "any arch, but not arm".

Blank/undefined is equivalent to "any".
2017-11-22 00:49:51 +01:00
MilhouseVH 60f117a793 buildsystem: eliminate unecessary awk usage 2017-10-09 13:11:43 +01:00
MilhouseVH 976e9de27d buildsystem: enable custom colours (or none at all) 2017-08-11 06:42:42 +01:00