Commit Graph

944 Commits

Author SHA1 Message Date
Ian Leonard
0ea91f8079 config/show_config: reorder output
Order is roughly:

How is the buildsystem for the image set up
What hardware support is being added
What filesystems will be supported
What Network services are available
Who is providing the graphics and their setup
How does it boot / login
Distribution configuration

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
e9862ccd6c show_config: move more of show_config kodi specific to distro version
Split Kodi configuration messages into hardware / software sections. Hardware is how
other software is being built to accomodate Kodi needs (ie what provides video accel).
Software is the configure options to Kodi.

Kodi version just outputs the velue of $MEDIACENTER, which will always be "kodi".
Change to who the "upstream" is for the version of Kodi we're using is instead.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
9a426d5da9 config/show_config: migrate kodi config to distro specific config/functions file
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
40f5477524 show_config: use increment operator
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
MilhouseVH
4d15490c67 config/functions: add go_configure() helpers 2020-05-05 17:54:02 +02:00
MilhouseVH
7485d3362e buildsystem: ignore custom host Python installations
Fixes issue mentioned in #4326
2020-04-17 04:22:38 +01:00
MilhouseVH
71f58159f1 config/options: allow ADDON_PATH and ADDON_URL override; optional ADDON_PROJECT 2020-03-12 13:45:20 +00:00
CvH
3962fd8d05 distro: move addon path to config/options 2020-03-10 21:07:52 +01:00
CvH
066a1b42fb
Merge pull request #4203 from MilhouseVH/le10_kodi19-next04
kodi: next update (end of February 2020?)
2020-03-06 18:58:57 +01:00
MilhouseVH
061140b226 xbmc.python: bump minimum Python ABI support 2020-03-03 18:18:31 +00:00
mglae
99cf8bb62c linux: initramfs: use initramfs config file(s) and directory structure
Cpio file is generated as part of the kernel build process. No need
to force fakeroot cpio build any more.
2020-02-26 06:42:44 +01:00
MilhouseVH
653298b18a buildsystem: allow onexit trap to be selectively ignored 2020-02-19 10:24:15 +00:00
MilhouseVH
a1e700fd87 buildsystem: log pkg_call that failed 2020-02-19 07:49:35 +00:00
dhewg
c6e17d2b06
Merge pull request #4177 from MilhouseVH/le10-pkgbuilder-setsid
scripts/pkgbuilder.py: assign each subprocess a process group
2020-02-19 08:47:22 +01:00
MilhouseVH
a6f81e49d5 scripts/pkgbuilder.py: enable percent/load/mem info with --progress 2020-02-19 07:33:42 +00:00
dhewg
8a2115303b
Merge pull request #4112 from Kwiboo/gcc-arm-update
gcc-arm: update to 9.2-2019.12 and remove gcc-linaro
2020-02-18 18:57:47 +01:00
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
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
MilhouseVH
da94ecfb2f config/functions: major/minor version helper 2020-01-13 21:18:40 +00:00
Jonas Karlman
d350bbdf85 gcc-arm-aarch64-linux-gnu: update to 9.2-2019.12 and rename 2020-01-12 21:23:36 +00:00
MilhouseVH
06e0928840
Merge pull request #3140 from InuSasha/features/build-root
buildsystem: add possibility to move the build paths outside the git …
2020-01-08 15:21:22 +00:00
Christian Hewitt
d3323bb577
Merge pull request #4023 from MilhouseVH/le10_eabihf
config/arm: use eabihf for hard float
2020-01-08 19:04:51 +04:00
MilhouseVH
e48447f305 config/multithread: dump stats after a build 2019-12-31 13:50:00 +00:00
Andre Heider
8e4663912a build: move install dirs out of the build dir
Instead of cluttering $BUILD we now have
- $BUILD/build         sources and builds of packages
- $BUILD/install_pkg   installed packages
- $BUILD/install_init  installed packages for initramfs
2019-12-31 11:26:49 +01:00
Andre Heider
ae663c98e9 build: fix calculate_stamp() for multiple corner cases
- follow symlinks (as used by RPi/Slice)
- don't include hidden files like vi swap files (lol)
- remove duplicates (like $LINUX_DEPENDS for linux itself)
- sort by filename, not by hash
- don't use one sha256sum process per file, use xargs to pass all files to
  one process.
2019-12-31 11:26:49 +01:00