Commit Graph

814 Commits

Author SHA1 Message Date
Radostan Riedel
7e07b2fc23 Merge pull request #2284 from chewitt/passwd
busybox: allow changing root password
2017-12-06 19:51:01 +01:00
MilhouseVH
4bc97b2aa9 init: fix offset calculation after busybox fdisk change 2017-12-04 00:49:10 +00:00
Lukas Rusak
712ce0b82e busybox: allow changing root password 2017-12-01 20:06:40 +00:00
Sascha Kuehndel (InuSasha)
3846ec7dac buildsystem: replace PKG_AUTORECONF 2017-11-22 00:41:12 +01:00
cvh
837b447b7c decommission PKG_IS_ADDON 2017-10-16 00:01:20 +02: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
maideii
7def0a79dc added EFI 32bit support via GRUB2-updated busybox init config 2017-10-12 08:40:08 +08:00
maideii
c268754d0d added EFI 32bit support via GRUB2-expanded all the config with variables 2017-10-10 11:31:49 +08:00
MilhouseVH
8ac550bde9 init: recover from a failed upgrade 2017-09-17 16:16:55 +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
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
52479d65d6 init: fix error handling during get_project_arch 2017-08-09 16:20:31 +01:00
MilhouseVH
3a2a85022a busybox: revert dd fsync change which makes no sense 2017-08-08 22:57:12 +01:00
Lukas Rusak
280c3e53d5 busybox: update to 1.27.1 2017-08-02 14:48:23 -07: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
c023719429 Merge pull request #1764 from chrisnovakovic/initramfs-enable-dns
initramfs: enable DNS if network is up
2017-07-12 04:39:36 +01:00
Christian Hewitt
7661973437 Merge pull request #1469 from MilhouseVH/samba4
samba: update to samba-4.x
2017-07-11 23:12:33 +04:00
MilhouseVH
ea0f3f7096 init: make break after behaviour really break after 2017-07-10 05:15:49 +01:00
Alex Deryskyba
7e57ef4eee busybox: init: do not use dd option conv=fsync when updating kernel on a block device
Makes updates much faster for NAND installations on Amlogic-based devices.
2017-07-09 21:44:55 +02:00
Chris Novakovic
aeab02f728 initramfs: enable DNS if network is up
In certain situations, it is desirable for hostnames to be resolvable in
the initramfs (e.g., when a hostname is specified as the NFS server in
the "boot" or "disk" kernel parameters). If the network is up when the
init script is executed (e.g., when the "ip" kernel parameter is
specified) and a DNS server is known, write it to /etc/resolv.conf so it
can be used for DNS requests.
2017-07-09 00:31:52 +01:00
Lukas Rusak
c9a5cdefc3 busybox: use cttyhack 2017-07-07 13:37:11 -07:00
MilhouseVH
09c59848af var.mount: remove Conflicts option 2017-07-06 19:28:19 +01:00
Lukas Rusak
6703cc5979 Merge pull request #1710 from MilhouseVH/busybox_wget_fix
busybox: fix wget with brain-damaged http servers
2017-06-23 12:10:49 -07:00