Commit Graph

999 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
e1ec1c7a5d unpack: don't wipe build stamps
That's the job of the clean script, don't force a rebuild after
build & autoremove & unpack
2020-02-10 08:53:39 +01:00
Andre Heider
64c73805fe build: add PKG_DEPENDS_CONFIG to set PKG_CONFIG_PATH for packages
To be used for "-sysroot" packages.
2020-02-10 08:53:39 +01:00
Matthias Reichl
24c4c14ab2 scripts/build: allow installation of *.o files
commit c468820ba9 "scripts/build: cleanup"
started to silently remove *.o files from the installation without
giving an explanation why this should be needed.

Drop that as it prevents packages from including *.o files in the
image, which eg is needed to include IR BPF decoders in LibreELEC.

Packages which install *.o files that should not end up in the image
should manually remove these in post_makeinstall_target.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-02-09 11:27:26 +01:00
Christian Hewitt
44a6266465 Merge pull request #4103 from Kwiboo/mkimage-box
scripts/mkimage: only configure extlinux for valid uboot_helper dtb
2020-01-31 10:55:35 +03:00
MilhouseVH
6d9bccebe5 scripts/pkgbuilder.py: need at least one process 2020-01-30 08:23:57 +00:00
MilhouseVH
893a7870c4 scripts/pkgbuilder.py: small cleanup 2020-01-28 12:51:10 +00:00
MilhouseVH
aaf5f0e466 scripts/pkgbuilder.py: allow active jobs to finish once an error occurs 2020-01-28 11:01:13 +00:00
MilhouseVH
c567e7a9e8 scripts/pkgbuilder.py: avoid returning negative timeout which is fatal 2020-01-26 06:54:25 +00:00
MilhouseVH
e69922455f scripts/pkgbuilder.py: bookend combined log with searchable tags 2020-01-21 17:07:18 +00: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
21fd61ef7c Merge pull request #4107 from HiassofT/le10-kernel-overlays-run
kernel-overlays: move volatile runtime data to /run
2020-01-19 19:27:18 +00:00
MilhouseVH
ecbbddd3d6 scripts/image: send all u-boot output to stdout 2020-01-18 09:29:38 +00:00
MilhouseVH
50e6f13896 scripts/pkgbuilder.py: fix failure to queue jobs to idle slots due to race 2020-01-17 20:08:10 +00:00
MilhouseVH
d4392ee718 scripts/pkgbuilder.py: use distinct colours 2020-01-17 15:07:07 +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
Andre Heider
978cdeb5a6 build: use xargs to collect packages' json info 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
MilhouseVH
748befe904 scripts/genbuildplan.py: drop --reorder; cleanup args handling, and other processing. 2020-01-15 18:49:14 +00:00
MilhouseVH
00faa81294 scripts/pkgbuilder.py: replace parallel with something smarter 2020-01-15 18:49:11 +00:00
Jonas Karlman
d698731d42 scripts/clean: print build message with color 2020-01-12 21:28:09 +00:00
Jonas Karlman
dc8a2e1783 Amlogic: mkimage: do not configure extlinux for box 2020-01-12 21:19:58 +00:00
Jonas Karlman
5045ba2274 scripts/mkimage: configure extlinux for valid uboot_helper dtb 2020-01-12 21:19:58 +00:00