Commit Graph

3315 Commits

Author SHA1 Message Date
MilhouseVH
23d23d4948 Merge pull request #4046 from HiassofT/le10-lirc-alsa
lirc: add dependency on alsa-lib
2019-12-17 16:50:53 +00:00
MilhouseVH
29def585c6 systemd: enable utmp support 2019-12-10 21:10:38 +00:00
Matthias Reichl
7171272faf lirc: add dependency on alsa-lib
This fixes missing alsa_usb plugin.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-12-09 12:47:27 +01:00
Christian Hewitt
ff5c69f9d5 Merge pull request #4031 from HiassofT/le10-systemd-244
systemd: update to v244
2019-12-09 07:56:03 +08:00
Christian Hewitt
ec1a30b21d Merge pull request #4026 from mglae/le10_fsck_kmsg
init: fsck: fix kmsg log writes
2019-12-09 07:39:34 +08:00
Christian Hewitt
b693499f57 Merge pull request #4032 from MilhouseVH/le10_busybox-1.31.1
busybox: update to busybox-1.31.1
2019-12-09 07:34:32 +08:00
Christian Hewitt
651e46c08e Merge pull request #3995 from MilhouseVH/le10_userconfig_off_by_one
userconfig-setup: avoid // in test
2019-12-02 07:21:20 +04:00
Christian Hewitt
c00c2b5561 Merge pull request #4020 from HiassofT/le10-install-hwdb
add hwdb.d installations from packages, make o2.cz BT remote config globally available
2019-12-01 11:49:00 +04:00
MilhouseVH
bb753cd1be busybox: update to busybox-1.31.1 2019-11-29 21:56:12 +00:00
MilhouseVH
1a42c8208e Merge pull request #4017 from HiassofT/le10-v4lutils-drop-repeat-config
use new evrepeat tool to configure input repeat settings of non-rc-core devices
2019-11-29 21:44:56 +00:00
Matthias Reichl
c31015f684 systemd: update to v244
dropped mountinfo backport patch as it's in upstream version.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-29 22:44:14 +01:00
MilhouseVH
0adeb73f40 Merge pull request #3977 from queeup/histfilesize
busybox: allow bigger shell history size
2019-11-29 21:43:02 +00:00
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
mglae
414a958fab init: fsck: fix kmsg log writes 2019-11-28 00:10:21 +01:00
Matthias Reichl
1425c344ca move 70-local-keyboard.hwdb from Amlogic project to systemd package
The bluetooth remote configuration (missing OK button on o2.cz
remote) can be useful for all LE installations so make it globally
available.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-23 13:03:53 +01:00
Matthias Reichl
72f83fe02b move 70-input-repeat.rules from v4l-utils to evrepeat
Since 1.18.0 ir-keytable no longer supports the "--device" option
which means it can't be used to configure input repeat settings
of non-rc devices like keyboards, RF remotes etc.

Use the newly added evrepeat tool instead so we retain the same
500ms initial repeat delay as before the v4l-utils bump.

lircd-uninput is no longer used by default on LE so drop it's
repeat period configuration.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-22 16:11:38 +01:00
Matthias Reichl
cfdb0315e9 evrepeat: add new package to configure input device repeat settings
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-22 16:11:38 +01:00
MilhouseVH
a3453d22c4 userconfig-setup: avoid // in test 2019-11-17 18:34:08 +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