Commit Graph

927 Commits

Author SHA1 Message Date
MilhouseVH 70b69ebffa Merge pull request #4191 from HiassofT/le10-fix-obj-remove
allow packages to install *.o files into the image
2020-02-13 17:26:09 +00:00
MilhouseVH a11e063083 build: auto remove build dirs 2020-02-10 08:53:39 +01:00
Andre Heider a6991f0aba pkg-config: add support for multiple sysroots 2020-02-10 08:53:39 +01:00
Andre Heider a98010df72 build: automatically add dependencies for kernel packages
And add the missing "linux" to PKG_DEPENDS_UNPACK while at it, the tree
is required for building kernel modules.
2020-02-10 08:53:39 +01:00
Andre Heider a02a10d263 linux: clean up firmware dependecies
The fw packages are accessed using get_build_dir(), so move then to
PKG_DEPENDS_UNPACK.
2020-02-10 08:53:39 +01:00
Matthias Reichl e96a892a10 config/functions: fix safe_remove of multiple files
Several packages call safe_remove with a wildcard to remove
multiple files but safe_remove only deleted the first one.

Fix this by iterating over all arguments passed into safe_remove
so unwanted files don't end up in the image.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-02-09 12:00:24 +01:00
Matthias Reichl 75e2e560c0 Merge pull request #4178 from MilhouseVH/le10_buildsys_drop_unecessary_subs
config/functions: drop unecessary / escaping
2020-02-07 23:48:26 +01:00
MilhouseVH 5e44eafa55 config/functions: drop unecessary / escaping 2020-02-02 21:11:54 +00:00
MilhouseVH b1e43da1e4 config/otpions: export PROJECT and ARCH defaults 2020-01-31 16:47:30 +00:00
Christian Hewitt 74d2b27891 Merge pull request #4155 from MilhouseVH/le10_pkgbuilder_fail_slow
scripts/pkgbuilder.py: allow active jobs to finish once an error occurs
2020-01-31 10:48:35 +03:00
MilhouseVH 2500f20522 Merge pull request #4139 from chewitt/wireguard-matrix
wireguard: add initial support for WireGuard VPNs
2020-01-29 21:12:23 +00:00
MilhouseVH b0e1c7de9c Merge pull request #4143 from lrusak/intel-iris
config/graphic: allow using the new intel gallium iris driver
2020-01-29 20:56:34 +00:00
MilhouseVH aaf5f0e466 scripts/pkgbuilder.py: allow active jobs to finish once an error occurs 2020-01-28 11:01:13 +00:00
Lukas Rusak 55aad87771 config/graphic: allow using the new intel gallium iris driver 2020-01-26 09:33:08 -08:00
chewitt ce832746f3 config: add support for optionally building WireGuard 2020-01-24 02:47:50 +00:00
MilhouseVH e69922455f scripts/pkgbuilder.py: bookend combined log with searchable tags 2020-01-21 17:07:18 +00:00
Matthias Reichl 2cb65bbaa2 Merge pull request #4094 from dhewg/pull/load
build: add load average limit to reduce CPU overcommitment
2020-01-21 00:14:18 +01:00
Matthias Reichl 80f1b14da0 Merge pull request #4092 from MilhouseVH/le10_generator
buildsystem: switch to dynamic scheduler
2020-01-21 00:13:51 +01:00
MilhouseVH d8e11007fe config/multithread: dump stats only on success 2020-01-17 16:31:59 +00:00
Andre Heider 2d12b7ebe8 build: add load average limit to reduce CPU overcommitment
For make and ninja based build systems, no new jobs are started if the load
average is greater than number_of_cores * 1.5.
2020-01-17 09:16:37 +01: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
Andre Heider 978cdeb5a6 build: use xargs to collect packages' json info 2020-01-15 18:49:15 +00:00
MilhouseVH f173e38e54 buildsystem: dynamic schedule requires fewer locks; pkgbuilder.py now handles failed jobs 2020-01-15 18:49:15 +00:00
MilhouseVH 96c510394d buildsystem: add is_sequential_build() helper 2020-01-15 18:49:14 +00:00
MilhouseVH 439f38bcff config/functions: store config info in history 2020-01-15 18:49:14 +00:00