Commit Graph

240 Commits

Author SHA1 Message Date
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
MilhouseVH
a404c441a0 Merge pull request #3804 from HiassofT/le10-systemd-fix-fs-corruption
fix filesystem corruption on reboot/shutdown
2019-09-18 19:43:35 +01: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
Matthias Reichl
74de7b2aca systemd: prevent unmounting flash via umount.target
add drop-in to set DefaultDependencies=no on /flash mount. This
removes the Conflicts=umount.target and /flash won't be unmounted
by systemd. systemd-shutdown will then later remount it ro and
try to unmount it.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-13 23:44:19 +02:00
Matthias Reichl
8d9dd9ec67 systemd: drop patch that causes filesystem corruption on reboot/shutdown
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-08 23:53:08 +02:00
MilhouseVH
61e9c1fe4e systemd: update to systemd-243 2019-09-03 21:31:57 +01:00
MilhouseVH
46a7b470a5 systemd: eat up RDRAND values seen on AMD cpus 2019-07-09 18:44:21 +01:00
MilhouseVH
88323acbc1 systemd: fix issues after #3326
/etc/98-busybox.conf configures the prompt and TERM.

PR #3326 stopped sourcing /etc/profile, which meant the
prompt no longer includes the HOSTNAME.

Additionally, #3326 removed code which unhides the cursor.
2019-06-29 02:42:23 +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
6106788c3e systemd: update hwdb.bin patch 2019-04-11 20:00:43 +01:00
MilhouseVH
5c88d76c16 systemd: drop patches 2019-04-11 19:07:19 +01:00
MilhouseVH
9bd99d14b8 systemd: update to systemd-242 2019-04-11 18:32:50 +01:00
MilhouseVH
d4f6326142 packages: align source code licence usage with project licence 2019-03-26 18:05:50 +00:00
Lukas Rusak
2ca0df2ae0 systemd: use safe_remove macro 2019-02-25 09:37:54 -08:00
MilhouseVH
ad6c9ea874 systemd: fix meson 0.49.1 compatability
https://github.com/systemd/systemd/pull/9885

Drop patch with systemd-241
2019-02-03 11:40:28 +00:00
Matthias Reichl
23cc2e1b9b kernel-overlays-setup: fix ls error in journal if .config/firmware doesn't exist
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-12-15 14:28:47 +01:00
Matthias Reichl
315421e634 linux: move .config/firmware handling to kernel overlay system
Creating an updates symlink to /storage/.config/firmware in the
kernel firmware directory makes it impossible to add firmware
overlays with an updates folder.

Furthermore bluez/hciattach only looks for firmware files directly in
the /lib/firmware directory and ignores the /lib/firmware/updates
directory. So adding BT firmware via .config/firmware didn't work.

Solve this by adding files from /storage/.config/firmware as the
last step in kernel overlays setup so firmware files from there
will show up directly under /lib/firmware and override other firmware
files installed by the system and kernel overlays.

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-12-01 18:27:17 +01:00
CvH
85e5b4dc1f cleanup: PKG_SHORTDESC 2018-10-22 15:06:12 +02:00