Commit Graph

127 Commits

Author SHA1 Message Date
MilhouseVH
af5bf90616 systemd: add /etc/environment and service 2019-12-18 00:49:13 +00:00
MilhouseVH
29def585c6 systemd: enable utmp support 2019-12-10 21:10:38 +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
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
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
bb51497898 Merge pull request #3843 from HiassofT/le10-debug-shell
systemd: use upstream method to enable and configure debug shell
2019-09-24 20:44:17 +01:00
Sascha Kuehndel (InuSasha)
8903d66bb6 meson: use TARGET_x 2019-09-19 11:14:43 +02:00
Matthias Reichl
dd2694fc74 systemd: use upstream method to enable and configure debug shell
With systemd-debug-generator installed we can use the standard
"systemd.debug_shell" kernel command line parameter to enable the debug
shell. Since systemd 243 the tty can also be changed by appending
"=ttyXYZ" to that parameter.

Use this method instead of enabling the debug shell on all systems
by default.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-18 15:28:18 +02:00
MilhouseVH
61e9c1fe4e systemd: update to systemd-243 2019-09-03 21:31:57 +01:00
Matthias Reichl
6fa58dd895 systemd: add version-tag build option
Without this option systemd 241 and newer builds will run git describe
and report the LibreELEC git tree info as version, eg in journal

systemd 8.95.002-927-gb1cdc76 running in system mode.

With version-tag set the version is reported like before

systemd 242 running in system mode.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-05-11 11:36:58 +02:00
MilhouseVH
1816badd86 Merge pull request #3373 from antonlacon/libidn2
image: add libidn2 to system image
2019-05-09 01:24:27 +01:00
Lukas Rusak
ec17cea5e6 systemd: enable switch debug-tty to provide a debug console
This allows us to use the default debug-shell.service provided
by systemd and cut down on custom made services. This will also
always provide a debug shell as there is no reason we shouldn't
have access to one.
2019-05-08 11:54:58 -07:00
Ian Leonard
e8db57f8a9 systemd: add depend on libidn2
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-04 08:30:18 +00:00
MilhouseVH
1b0eab5098 systemd: add new options 2019-04-13 18:51:41 +01:00
MilhouseVH
592849d88e systemd: disable options being detected automagically 2019-04-13 16:33:52 +01:00
MilhouseVH
f6f6b4f01b systemd: drop unknown options 2019-04-13 03:12:08 +01:00
MilhouseVH
9bd99d14b8 systemd: update to systemd-242 2019-04-11 18:32:50 +01:00
Lukas Rusak
2ca0df2ae0 systemd: use safe_remove macro 2019-02-25 09:37:54 -08:00
CvH
85e5b4dc1f cleanup: PKG_SHORTDESC 2018-10-22 15:06:12 +02:00
CvH
4cffa5fe6f cleanup: remove PKG_ARCH="any" 2018-10-22 15:06:12 +02:00
CvH
4317bc5002 cleanup: remove PKG_SECTION 2018-10-22 15:06:11 +02:00
MilhouseVH
31aacbaa99 systemd: use correct licence 2018-08-01 23:40:03 +01:00
CvH
1b9cbdaf26 spdx: packages/sysutils 2018-07-18 22:37:47 +02:00
Matthias Reichl
f35ddd9fa9 systemd: add systemd-timesync user and group
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-24 15:16:06 +02:00