mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
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>
This commit is contained in:
parent
e1d6e92907
commit
259a5b7f73
@ -156,8 +156,19 @@ post_makeinstall_target() {
|
|||||||
safe_remove $INSTALL/usr/bin/systemd-nspawn
|
safe_remove $INSTALL/usr/bin/systemd-nspawn
|
||||||
safe_remove $INSTALL/usr/lib/systemd/system/systemd-nspawn@.service
|
safe_remove $INSTALL/usr/lib/systemd/system/systemd-nspawn@.service
|
||||||
|
|
||||||
# remove genetators/catalog
|
# remove unneeded generators
|
||||||
safe_remove $INSTALL/usr/lib/systemd/system-generators
|
for gen in $INSTALL/usr/lib/systemd/system-generators/*; do
|
||||||
|
case "$gen" in
|
||||||
|
*/systemd-debug-generator)
|
||||||
|
# keep it
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
safe_remove "$gen"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
# remove catalog
|
||||||
safe_remove $INSTALL/usr/lib/systemd/catalog
|
safe_remove $INSTALL/usr/lib/systemd/catalog
|
||||||
|
|
||||||
# remove partition
|
# remove partition
|
||||||
@ -257,5 +268,4 @@ post_install() {
|
|||||||
enable_service usercache.service
|
enable_service usercache.service
|
||||||
enable_service kernel-overlays.service
|
enable_service kernel-overlays.service
|
||||||
enable_service hwdb.service
|
enable_service hwdb.service
|
||||||
enable_service debug-shell.service
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user