-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
src/modules/base/filesystem/patches/fix-163-autologin-console.patch
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From b2539cb56853fe7dbce341a36f3722c14c78b22f Mon Sep 17 00:00:00 2001 | ||
From: Guy Sheffer <guysoft@gmail.com> | ||
Date: Wed, 15 Jun 2022 22:51:27 +0300 | ||
Subject: [PATCH] Fixes #2 | ||
|
||
As mentioned here this was planned soon: https://github.com/RPi-Distro/pi-gen/issues/614#issuecomment-1117572968 | ||
And AFAIK it needs to be B1: https://github.com/guysoft/CustomPiOS/issues/163#issuecomment-1117688020 | ||
|
||
I though I might make a PR to make this easier to merge in. | ||
Also I am planning to make a patch out of it to have inside CustomPiOS untill this is fixed. | ||
--- | ||
cancel-rename | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/cancel-rename b/cancel-rename | ||
index d29b8be..408b330 100755 | ||
--- a/cancel-rename | ||
+++ b/cancel-rename | ||
@@ -25,7 +25,7 @@ if [ "$(raspi-config nonint get_boot_cli)" -ne 0 ]; then | ||
Exec=sh -c 'sudo userdel -r rpi-first-boot-wizard; sudo rm /etc/sudoers.d/010_wiz-nopasswd; sudo rm /etc/xdg/autostart/deluser.desktop' | ||
EOF | ||
else | ||
- SUDO_USER="$1" raspi-config nonint do_boot_behaviour B2 | ||
+ SUDO_USER="$1" raspi-config nonint do_boot_behaviour B1 | ||
fi | ||
|
||
rm -f /etc/ssh/sshd_config.d/rename_user.conf |
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