Commit Graph

3297 Commits

Author SHA1 Message Date
MilhouseVH
c96889de82 Merge pull request #3990 from HiassofT/le10-init-hard-nfs-mount
init: don't mount nfs shares with soft option by default
2019-11-29 21:42:24 +00:00
MilhouseVH
29479e55d0 Merge pull request #3984 from HiassofT/le10-systemd-storage-deps
systemd: prevent unmounting storage via umount.target
2019-11-29 21:38:28 +00:00
Matthias Reichl
fa8acf0782 init: don't mount nfs shares with soft option by default
Using the soft timeout option for NFS mounts is a really bad idea
and the nfs(5) manpage explicitly warns about it's issues:

    NB: A so-called "soft" timeout  can  cause  silent  data
    corruption  in  certain cases. As such, use the soft op‐
    tion only when client responsiveness is  more  important
    than  data  integrity.  Using NFS over TCP or increasing
    the value of the retrans option may mitigate some of the
    risks of using the soft option.

So don't enable it by default, anyone who feels keen to take the
risk can specify it manually on kernel command line.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-16 15:37:41 +01:00
Matthias Reichl
750dd4add2 systemd: enable systemd-timesyncd when using kernel ip configuration
connman's NTP client can't be used if it's not managing the network
interface so use systemd's timesyncd as we already build it.

timesyncd is automatically configured to use the NTP servers provided
by kernel ip config, if they are missing the default fallback NTP
servers (currently the ones from Google) are used.

Users can also provide timesyncd configuration files via
/storage/.config/timesyncd.conf.d/ eg to change the (fallback) servers.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-15 18:54:04 +01:00
Matthias Reichl
1dfbcbd8b4 connman: move host and resolver configuration to separate service
Setup system hostname, /etc/resolv.conf and /etc/hosts in a service
that can be run independently of connman.

The volatile etc files are created in /run/libreelec instead of
/run/connman so they can be modified similarily to standard linux
installations with a writable /etc. Connman can then hook into
that and move resolv.conf management to /run/connman/resolv.conf when
it's started.

If kernel IP configuration is used the resolv info from the kernel
will be used to create resolv.conf. Users can also provide their
own resolv.conf file in /storage/.config/resolv.conf which takes
precedence over ther kernel info. If no resolv.conf info is present
a fallback with use the Google nameservers is created (as before).

Loopback network interface setup has been removed, this is already
set up by systemd.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-15 18:54:04 +01:00
Matthias Reichl
432b6a8d9e busybox: create marker file if kernel ip configuration is used
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-15 18:51:54 +01:00
MilhouseVH
ecbd566302 Merge pull request #3896 from antonlacon/le10-systemd-cpufreq
init: move cpufreq tuning to systemd service
2019-11-15 17:50:36 +00:00
Matthias Reichl
ed4e345f25 systemd: prevent unmounting storage via umount.target
/storage will be unmounted by systemd-shutdown, like /flash.

As the squashfs root has several symlinks to /storage it
should not be unmounted during the normal shutdown process.
This prevents the symlinked files/directories vanishing too early
and also removes the "unmount /storage failed" messages when
netbooting.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-15 17:30:11 +01:00
Matthias Reichl
87358cf841 systemd: add backport patch from PR 14040
This removes the root mount dependency on systemd-journal.socket
and fixes drop-in loading for storage.mount.

See https://github.com/systemd/systemd/pull/14040

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-15 17:30:11 +01:00
Christian Hewitt
829de88147 Merge pull request #3807 from MilhouseVH/le10_rpi_eeprom_pr7
rpi-eeprom: update to latest rpi-eeprom
2019-11-12 05:30:03 +04:00
Sascha Kühndel
509dbb2e9d Merge pull request #3953 from MilhouseVH/le10_fix_dependencies
util-linux: add missing dependencies
2019-10-29 16:46:39 +01:00
MilhouseVH
97f87d8e9c packages: switch from Python2 to Python3 2019-10-29 12:19:07 +00:00
MilhouseVH
03d07ab28f Update with vl805 support 2019-10-29 11:51:27 +00:00
Christian Hewitt
363e0cfe51 Merge pull request #3947 from HiassofT/le10-v4lutils-1.18
v4l-utils: update to 1.18.0
2019-10-29 09:35:56 +04:00
Matthias Reichl
fac7a8aaf3 v4l-utils: drop Amlogic keymaps
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-10-28 19:09:49 +01:00
Ian Leonard
f27caaddc1 systemd: use a cpufreq service to configure cpu governor
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-10-28 15:55:22 +00:00
MilhouseVH
2e59361d36 util-linux: add missing dependencies 2019-10-28 01:47:47 +00:00
Matthias Reichl
5e406f1fd2 v4l-utils: change multi keymap creation to toml format
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-10-26 14:14:20 +02:00
Matthias Reichl
07c917ab7c v4l-utils: convert keymaps to toml format
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-10-26 14:14:20 +02:00
Matthias Reichl
2cd668fcb0 v4l-utils: drop xbox_dvd keymap, it's now upstream
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-10-26 13:45:26 +02:00
Matthias Reichl
0deff2dc98 v4l-utils: update to 1.18.0
Disable bpf decoder support for now, it's not yet supported
in the LE kernels and needs clang to compile.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-10-26 13:43:26 +02:00
Christian Hewitt
f669160ef1 Merge pull request #3864 from MilhouseVH/le10_fix_systemd243_warning
udev: fix systemd-243 warnings
2019-10-25 04:45:46 +04:00
Christian Hewitt
148d036477 Merge pull request #3858 from MilhouseVH/le10_dosfstools-4.1
dosfstools/e2fsprogs: update to latest
2019-10-25 04:43:19 +04:00
MilhouseVH
28441152ec Merge pull request #3923 from InuSasha/feature/host-depends
buildsystem: host packages should not depend on cross-compiler
2019-10-24 22:31:49 +01:00
MilhouseVH
45e92956a2 open-vm-tools: update to open-vm-tools-stable-11.0.1 2019-10-22 00:45:44 +01:00