Commit Graph

180 Commits

Author SHA1 Message Date
Radostan Riedel
c710b78ae0 systemd: meson-remote is not a joystick 2017-11-02 10:58:07 +01:00
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
Lukas Rusak
f4883f5b6c systemd: add patch to fix with glibc 2.26 2017-08-14 19:39:16 +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
Matthias Reichl
06d565b81e systemd: make standard systemctl commands work again 2017-01-28 11:15:40 +01:00
awiouy
cf5d3a4579 decommission PKG_REV 2017-01-19 00:06:13 +01:00
Lukas Rusak
bbd0126da4 systemd: add 90-systemd.conf to disable colors 2017-01-12 13:06:21 -08: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
Lukas Rusak
20d72172fb systemd: cleanup patch names 2016-11-23 13:31:11 -08:00
Peter Vicman
b3f49fad47 systemd: machine-id.service is required for systemd-tmpfiles-setup-dev.service
fixes unneeded console messages (mostly for first boot):

[FAILED] Failed to start Create Static Device Nodes in /dev.
See 'systemctl status systemd-tmpfiles-setup-dev.service' for details.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Variable Directory.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Started Setup machine-id.
[  OK           Starting Journal Service...
[  OK  ] Reached target Local File Systems.
        Starting Setup Timezone data...
[  OK  ] Started Setup Timezone data.
2016-10-31 08:46:40 +01:00
awiouy
e0c2de9b39 Decommission PKG_PRIORITY 2016-09-24 11:57:39 +02:00
MilhouseVH
220cd27d2e systemd: Do not unmount /storage and /flash at shutdown as this always fails 2016-07-19 00:14:03 +01: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
chewitt
60d7aebfdc systemd: ensure /storage/.cache exists before writing machine-id 2016-06-06 11:53:29 +04:00
MilhouseVH
fe1ffdf60c systemd: update to 230 2016-05-23 18:49:00 +01:00
chewitt
bafd26a80d systemd: fix machine-id uniqueness 2016-05-08 03:50:02 +01:00