Commit Graph

88 Commits

Author SHA1 Message Date
Lukas Rusak
bbbe7fb63b systemd: update to 235 and use meson 2017-10-20 14:19:00 -07:00
cvh
837b447b7c decommission PKG_IS_ADDON 2017-10-16 00:01:20 +02:00
Matthias Reichl
ad9e8dc372 Add support for kernel overlays
Core Kernel modules are now installed to
/usr/lib/kernel-overlays/base/lib/modules instead of /usr/lib/modules

Firmware files are installed to
/usr/lib/kernel-overlays/base/lib/firmware instead of /usr/lib/firmware

Packages can choose to install their modules and/or firmwareinto a
different overlay directory than base so they are not automatically enabled.

A new systemd service kernel-overlays, which is run before any modules
are loaded, adds overlays enabled via /storage/.cache/kernel-overlays/*.conf

These conf files must either contain the name of a system overlay,
which will then be searched for in /usr/lib/kernel-overlays/, or an
absolute path starting with '/'.

Overlaying is implemented by symlinking files from the overlays
to /usr/lib/modules and /usr/lib/firmware as not all platforms
support overlayfs.

This overlaying system can also be used by addons to provide optional
kernel modules and/or firmware by storing the absolute path to the addon
directory in the conf file and shipping kernel modules in
<addondir>/lib/modules/<KERNELVER>.

To save space only symlinks for modules matching the currently
running kernel version are created as addons may want to ship
modules for older kernel versions as well to be backward-compatible
to older LibreELEC versions.

Changes since v1:
- fixup kernel-overlays-service: add before kmod-static-nodes.service
  Fix static device nodes for module autoloading not being created.
- fixup kernel-overlays-service: fail if /usr/lib/modules exists
- squash kernel overlays: use get_kernel_overlay_dir in linux/package.mk
- Add support for firmware files via kernel overlays
- config/functions: include kernel overlays in addon installation

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 20:04:02 +02:00
Christian Hewitt
38013dbc00 Merge pull request #1800 from MilhouseVH/udev_cleanup
udev: cleanup
2017-07-22 21:49:57 +04:00
Peter Vicman
50a51452be build system: add sha256 checksum to all packages
putting #1597 in use
2017-07-17 20:49:23 +02:00
MilhouseVH
71720c86c1 systemd: remove uaccess rules as we don't build with ACL 2017-07-16 22:32:27 +01:00
Lukas Rusak
a5bf73fd91 systemd: disable lto (we set it in CFLAGS) 2017-06-14 12:57:14 -07:00
MilhouseVH
cae8b49942 userconfig: overwrite our sample files 2017-03-23 20:27:21 +00:00
Lukas Rusak
dc513d78a8 systemd: use recommended default hybrid cgroups hierarchy 2017-03-18 10:09:24 -07:00
Stephan Raue
c6ece5e7fb systemd: update to systemd-233
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2017-03-18 10:09:24 -07:00
awiouy
cf5d3a4579 decommission PKG_REV 2017-01-19 00:06:13 +01:00
Lukas Rusak
d58c355742 systemd: use unified /usr 2016-12-04 13:23:46 -08:00
Lukas Rusak
b12be93217 systemd: update to 232 2016-11-23 13:31:12 -08:00
awiouy
e0c2de9b39 Decommission PKG_PRIORITY 2016-09-24 11:57:39 +02:00
Matthias Reichl
32f40cc6d9 systemd/journald: remove MaxRetentionSec setting
This fixes journal truncation on time jumps (eg when ntp
set the correct date on systems without an RTC).

Signed-off-by: Matthias Reichl <hias@horus.com>
2016-06-21 14:48:09 +02:00
MilhouseVH
fe1ffdf60c systemd: update to 230 2016-05-23 18:49:00 +01:00
MilhouseVH
d8f6577b52 Merge pull request #2 from lrusak/seo-stripping
stripping changes
2016-03-14 17:55:15 +00:00
MilhouseVH
875806cdac Add PKG_SOURCE_NAME for non-standard package tarballs 2016-03-13 23:47:12 -07:00
Lukas Rusak
21d044cf47 systemd: depened on entropy package 2016-02-19 22:54:45 -06:00
Lukas Rusak
aa8dbcf9fd systemd: update to 229 2016-02-11 20:59:34 +01:00
Stefan Saraev
b5e798a89e systemd: strip binaries 2016-01-31 00:22:08 +01:00
Stephan Raue
f51faa070d packages: update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-01-02 17:29:56 +01:00
Lukas Rusak
b6ed8da659 systemd: update to version 228 2015-11-20 10:35:29 -08:00
Lukas Rusak
c75850c245 fix build optimizations when using gcc 5 2015-11-02 11:58:10 +01:00
Lukas Rusak
32745c1f7f update to systemd-227 2015-11-02 11:58:03 +01:00