diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:31:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:31:13 +0000 |
commit | 7452672e1c240b2026cb09ef8cbe8a5a344a6138 (patch) | |
tree | 7101fa29a4e53cec2446639da282434b92374dfd /debian | |
parent | Updating support url for Progress Linux. (diff) | |
download | systemd-7452672e1c240b2026cb09ef8cbe8a5a344a6138.tar.xz systemd-7452672e1c240b2026cb09ef8cbe8a5a344a6138.zip |
Starting agetty with --nohostname option.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/progress-linux/0001-agetty-nohostname.patch | 51 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 52 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-agetty-nohostname.patch b/debian/patches/progress-linux/0001-agetty-nohostname.patch new file mode 100644 index 0000000..f25886b --- /dev/null +++ b/debian/patches/progress-linux/0001-agetty-nohostname.patch @@ -0,0 +1,51 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Starting agetty with --nohostname option. + +diff -Naurp systemd.orig/units/console-getty.service.m4 systemd/units/console-getty.service.m4 +--- systemd.orig/units/console-getty.service.m4 ++++ systemd/units/console-getty.service.m4 +@@ -23,7 +23,7 @@ ConditionPathExists=/dev/console + # The '-o' option value tells agetty to replace 'login' arguments with an + # option to preserve environment (-p), followed by '--' for safety, and then + # the entered username. +-ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --keep-baud console 115200,38400,9600 $TERM ++ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --nohostname --keep-baud console 115200,38400,9600 $TERM + Type=idle + Restart=always + UtmpIdentifier=cons +diff -Naurp systemd.orig/units/container-getty@.service.m4 systemd/units/container-getty@.service.m4 +--- systemd.orig/units/container-getty@.service.m4 ++++ systemd/units/container-getty@.service.m4 +@@ -28,7 +28,7 @@ Before=rescue.service + # The '-o' option value tells agetty to replace 'login' arguments with an + # option to preserve environment (-p), followed by '--' for safety, and then + # the entered username. +-ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --keep-baud pts/%I 115200,38400,9600 $TERM ++ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --nohostname --keep-baud pts/%I 115200,38400,9600 $TERM + Type=idle + Restart=always + RestartSec=0 +diff -Naurp systemd.orig/units/getty@.service.m4 systemd/units/getty@.service.m4 +--- systemd.orig/units/getty@.service.m4 ++++ systemd/units/getty@.service.m4 +@@ -38,7 +38,7 @@ ConditionPathExists=/dev/tty0 + # The '-o' option value tells agetty to replace 'login' arguments with an + # option to preserve environment (-p), followed by '--' for safety, and then + # the entered username. +-ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM ++ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --nohostname %I $TERM + Type=idle + Restart=always + RestartSec=0 +diff -Naurp systemd.orig/units/serial-getty@.service.m4 systemd/units/serial-getty@.service.m4 +--- systemd.orig/units/serial-getty@.service.m4 ++++ systemd/units/serial-getty@.service.m4 +@@ -33,7 +33,7 @@ Before=rescue.service + # The '-o' option value tells agetty to replace 'login' arguments with an + # option to preserve environment (-p), followed by '--' for safety, and then + # the entered username. +-ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,57600,38400,9600 %I $TERM ++ExecStart=-/sbin/agetty -o '-p -- \\u' --nohostname --keep-baud 115200,57600,38400,9600 %I $TERM + Type=idle + Restart=always + UtmpIdentifier=%I diff --git a/debian/patches/series b/debian/patches/series index f81d7b4..99fb698 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -64,3 +64,4 @@ debian/Downgrade-a-couple-of-warnings-to-debug.patch debian/Revert-udev-fix-memleak.patch debian/Revert-udev-link_update-should-fail-if-the-entry-in-symli.patch debian/Revert-udev-make-algorithm-that-selects-highest-priority-.patch +progress-linux/0001-agetty-nohostname.patch |