Skip to content

Commit 769b7c2

Browse files
committed
package/skeleton-init-finit: Run the getty in runlevel 9
Normally, no logins are actually possible, but this will have two desirable effects effects: - /etc/issue will be printed when hitting return over the console, allowing the user to see the bootstrapping errors again, without having to reboot the system. - On devleoper builds, with CONFIG_TARGET_ENABLE_ROOT_LOGIN, we can login as root and debug issues.
1 parent f4a604f commit 769b7c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package/skeleton-init-finit/skeleton-init-finit.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ define SKELETON_INIT_FINIT_GETTY
2121
if [ $(SYSTEM_GETTY_BAUDRATE) -eq 0 ]; then \
2222
SYSTEM_GETTY_BAUDRATE=""; \
2323
fi; \
24-
echo "tty [12345] $(SYSTEM_GETTY_PORT) $(SYSTEM_GETTY_BAUDRATE) $(SYSTEM_GETTY_TERM) noclear passenv"; \
24+
echo "tty [12345789] $(SYSTEM_GETTY_PORT) $(SYSTEM_GETTY_BAUDRATE) $(SYSTEM_GETTY_TERM) noclear passenv"; \
2525
else \
26-
echo "tty [12345] /sbin/getty -L $(SYSTEM_GETTY_OPTIONS) $(SYSTEM_GETTY_BAUDRATE) $(SYSTEM_GETTY_PORT) $(SYSTEM_GETTY_TERM)"; \
26+
echo "tty [12345789] /sbin/getty -L $(SYSTEM_GETTY_OPTIONS) $(SYSTEM_GETTY_BAUDRATE) $(SYSTEM_GETTY_PORT) $(SYSTEM_GETTY_TERM)"; \
2727
fi
2828
endef
2929

0 commit comments

Comments
 (0)