forked from LibreELEC/LibreELEC.tv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
10 changed files
with
15 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,8 @@ PKG_MESON_OPTS_TARGET="--libdir=/usr/lib \ | |
-Dzshcompletiondir=no \ | ||
-Dkmod-path=/usr/bin/kmod \ | ||
-Dmount-path=/usr/bin/mount \ | ||
-Dumount-path=/usr/bin/umount" | ||
-Dumount-path=/usr/bin/umount \ | ||
-Ddebug-tty=$DEBUG_TTY" | ||
|
||
pre_configure_target() { | ||
export CFLAGS="$CFLAGS -fno-schedule-insns -fno-schedule-insns2 -Wno-format-truncation" | ||
|
@@ -127,9 +128,6 @@ post_makeinstall_target() { | |
safe_remove $INSTALL/usr/lib/udev/rules.d/71-seat.rules | ||
safe_remove $INSTALL/usr/lib/udev/rules.d/73-seat-late.rules | ||
|
||
# remove debug-shell.service, we install our own | ||
safe_remove $INSTALL/usr/lib/systemd/system/debug-shell.service | ||
|
||
# remove getty units, we dont want a console | ||
safe_remove $INSTALL/usr/lib/systemd/system/[email protected] | ||
safe_remove $INSTALL/usr/lib/systemd/system/console-getty.service | ||
|
@@ -258,4 +256,5 @@ post_install() { | |
enable_service usercache.service | ||
enable_service kernel-overlays.service | ||
enable_service hwdb.service | ||
enable_service debug-shell.service | ||
} |
23 changes: 0 additions & 23 deletions
23
projects/Allwinner/filesystem/usr/lib/systemd/system/serial-console.service
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,3 +85,7 @@ | |
|
||
# build with installer (yes / no) | ||
INSTALLER_SUPPORT="no" | ||
|
||
# debug tty path | ||
DEBUG_TTY="/dev/console" | ||
|
23 changes: 0 additions & 23 deletions
23
projects/RPi/filesystem/usr/lib/systemd/system/serial-console.service
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
projects/Rockchip/filesystem/usr/lib/systemd/system/serial-console.service
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters