Commit Graph

2933 Commits

Author SHA1 Message Date
Lukas Rusak
9f238abd91 Merge pull request #2083 from MilhouseVH/le90_add_python3
Python: support simultaneous Python2 and Python3
2017-10-13 14:33:54 -07:00
MilhouseVH
41dd8f9534 Merge pull request #2061 from maideii/libreelec-8.2
added EFI 32bit support via GRUB2
2017-10-12 23:05:17 +01: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
Matthias Reichl
d3b73a8320 kmod: also support depmod on target
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 19:59:11 +02:00
maideii
7def0a79dc added EFI 32bit support via GRUB2-updated busybox init config 2017-10-12 08:40:08 +08:00
MilhouseVH
3d99d28843 packages: adapt for Python2 2017-10-11 03:55:10 +01:00
maideii
c268754d0d added EFI 32bit support via GRUB2-expanded all the config with variables 2017-10-10 11:31:49 +08:00
Matthias Reichl
4b29810beb Merge pull request #2069 from MilhouseVH/le90_switch_eventlircd_repo
eventlircd: switch to LibreELEC repo
2017-10-06 11:22:26 +02:00
MilhouseVH
1639757d3c eventlircd: switch to LibreELEC repo 2017-10-06 10:09:36 +01:00
Matthias Reichl
8868585a9b lirc: don't install python scripts
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-09-28 10:28:35 +02:00
MilhouseVH
1981479a6b squashfs: add zstd support 2017-09-22 13:58:12 +01:00
MilhouseVH
8d1d97f0d1 squashfs: change upstream to kernel.org; update to squashfs-1a6ffc7 2017-09-22 13:58:12 +01:00
Christian Hewitt
aedad0fea8 Merge pull request #1995 from MilhouseVH/le90_upgrade_single_shot
init: recover from a failed upgrade
2017-09-20 19:31:31 +04:00
wrxtasy
eb7d3032b7 eventlircd/evmap: add Xiaomi Mi Box BT remote 2017-09-18 21:54:46 +08:00
MilhouseVH
8ac550bde9 init: recover from a failed upgrade 2017-09-17 16:16:55 +01:00
MilhouseVH
13dabc00ea checksums: update sha256 checksum after github archive change 2017-09-14 04:12:08 +01:00
Christian Hewitt
63c0f2cb8c Merge pull request #1773 from MilhouseVH/init_break_after
init: make break after behaviour really break after
2017-09-13 20:56:12 +04:00
DaVukovic
e766b0bac5 updated getedid script because of an issue 2017-09-09 19:39:22 +02:00
MilhouseVH
d576e8e21e dbus: update to dbus-1.11.16 2017-08-28 19:12:12 +01:00
Lukas Rusak
2800b210d7 Merge pull request #1862 from MilhouseVH/busybox_dd_fix
busybox: revert dd fsync change which makes no sense
2017-08-21 10:33:03 -07:00
MilhouseVH
01015e1fd0 Merge pull request #1904 from vpeter4/squashfs
squashfs: remove unneeded patch
2017-08-21 18:04:19 +01:00
MilhouseVH
783aebc935 Merge pull request #1664 from InuSasha/feature/gcc7
buildsystem: update to gcc (to 7.2), glibc and binutils
2017-08-21 18:02:13 +01:00
Peter Vicman
ece9b8b01a squashfs: remove unneeded patch 2017-08-19 15:48:15 +02:00
Sascha Kuehndel (InuSasha)
dad8f97c02 eventlicrd: gcc7 fix (PR2)
* push upstream https://github.com/OpenELEC/eventlircd/pull/2
2017-08-14 19:39:16 +02:00
Lukas Rusak
f4883f5b6c systemd: add patch to fix with glibc 2.26 2017-08-14 19:39:16 +02:00