Commit graph

330 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
chewitt
b8ca012e90 openvpn: re-add openvpn to core builds 2016-03-18 00:09:17 -07:00
MilhouseVH
9c17ed5fc2 Rebranding: Follow up 2016-03-16 05:03:51 +00: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
40af353132 rebrand: LibreELEC 2016-03-12 01:41:55 +01: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
MilhouseVH
1d3e59ceea [systemd] Update patch to work with systemd-228 2015-11-28 16:31:13 +00: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
Lukas Rusak
9da7df25a8 [systemd] disable libiptc 2015-10-21 10:38:36 -07:00
Stefan Saraev
7f40ce7d9a (cleanup) systemd: do not depend on libgcrypt 2015-09-20 23:15:07 +02:00
Nikolas Garofil
7d47425058 systemctl instead of servicectl
Replaced the non-existing command "servicectl" by the correct "systemctl",
this was already done a couple lines above but strange enough not everywhere...
2015-04-08 00:35:45 +02:00
Stefan Saraev
7c35f31139 cleanup TODO in * 2015-04-07 12:08:46 +03:00
Stephan Raue
ecf362b534 systemd: disable IFLA_BRPORT_UNICAST_FLOOD
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-03-27 10:17:14 +01:00
Stephan Raue
fa19e0f1a7 systemd: revert systemd commit 06e9788, see RedHat BZ1196417
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-03-05 22:06:27 +01:00
Stephan Raue
5fd05c1522 systemd: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-03-05 22:06:27 +01:00
Stephan Raue
a0f5e13f8f systemd: disable IFLA_BOND_AD_INFO
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-03-03 20:17:10 +01:00
Stefan Saraev
ea2ba04053 systemd: update to systemd-219 2015-02-21 22:19:09 +02:00
Kai Sommerfeld
b92f26a25a Fixed comment in systemd mount sample scripts: servicectl -> systemctl 2015-02-05 18:39:38 +01:00
Stefan Saraev
802a8e7cb5 userconfig: run after systemd-tmpfiles-setup 2015-01-18 18:10:09 +02:00
Stefan Saraev
0821b9008c debugconfig: run after systemd-tmpfiles-setup 2015-01-18 18:07:47 +02:00