Skip to contentSkip to conversation

systemd: bump version to 234

PATCH Superseded Adam Duskett 3 participants 4 messages Jul 28, 2017 – Jul 29, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: bump version to 234

Other changes:
- Removed the following patches due to being merged upstream:
- resolved-bugfix-of-null-pointer-p-question-dereferencing.patch
- resolved-simplify-alloc-size-calculation.patch
- resolved-do-not-allocate-packets-with-minimum-size.patch
- Updated the following patches to work with 234:
- fix-getty-unit.patch
- build-check-for-ln-relative.patch
- fix-am-path-libgcrypt-no-found.patch
- Updated ordering of remaining patches.
- Reformatted remaining patches as git style patches.
- Updated Upstream-Status comment in "build-check-for-ln-relative.patch" to "Denied [No desire to support building on old distributions]"

---
 package/systemd/0001-fix-getty-unit.patch          | 43 ++++++++++++++++++
 ...-of-null-pointer-p-question-dereferencing.patch | 28 ------------
 ...atch => 0002-build-check-for-ln-relative.patch} | 24 +++++-----
 ...-resolved-simplify-alloc-size-calculation.patch | 51 ----------------------
 ...h => 0003-fix-am-path-libgcrypt-no-found.patch} | 26 ++++++++---
 ...do-not-allocate-packets-with-minimum-size.patch | 48 --------------------
 package/systemd/0004-fix-getty-unit.patch          | 30 -------------
 package/systemd/systemd.hash                       |  2 +-
 package/systemd/systemd.mk                         |  2 +-
 9 files changed, 78 insertions(+), 176 deletions(-)
 create mode 100644 package/systemd/0001-fix-getty-unit.patch
 delete mode 100644 package/systemd/0001-resolved-bugfix-of-null-pointer-p-question-dereferencing.patch
 rename package/systemd/{0005-build-check-for-ln-relative.patch => 0002-build-check-for-ln-relative.patch} (83%)
 delete mode 100644 package/systemd/0002-resolved-simplify-alloc-size-calculation.patch
 rename package/systemd/{0006-fix-am-path-libgcrypt-no-found.patch => 0003-fix-am-path-libgcrypt-no-found.patch} (89%)
 delete mode 100644 package/systemd/0003-resolved-do-not-allocate-packets-with-minimum-size.patch
 delete mode 100644 package/systemd/0004-fix-getty-unit.patch
package/systemd/0001-fix-getty-unit.patch new file +43 -0
new file mode 100644
index 000000000..c8d53d04a
@@ -0,0 +1,43 @@
+From 82dc074213122ef32c7a9cbfc406a827e5afed64 Mon Sep 17 00:00:00 2001
+From: Maxime Ripard <[email protected]>
+Date: Fri, 28 Jul 2017 06:58:45 -0400
+Subject: [PATCH] Prefer getty to agetty in console setup systemd units
+
+Signed-off-by: Maxime Ripard <[email protected]>
+Signed-off-by: Eric Le Bihan <[email protected]>
+Signed-off-by: Adam Duskett <[email protected]>
+Refresh for 234
+---
+ units/getty at .service.m4        | 2 +-
+ units/serial-getty at .service.m4 | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/units/getty at .service.m4 b/units/getty at .service.m4
+index 2a84061..e6e8685 100644
+--- a/units/getty at .service.m4
++++ b/units/getty at .service.m4
+@@ -36,7 +36,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/getty -L %I 115200 vt100
+ Type=idle
+ Restart=always
+ RestartSec=0
+diff --git a/units/serial-getty at .service.m4 b/units/serial-getty at .service.m4
+index b7caeaf..c663612 100644
+--- a/units/serial-getty at .service.m4
++++ b/units/serial-getty at .service.m4
+@@ -31,7 +31,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,38400,9600 %I $TERM
++ExecStart=-/sbin/getty -L %I 115200 vt100
+ Type=idle
+ Restart=always
+ UtmpIdentifier=%I
+-- 
+2.13.3
+
package/systemd/0001-resolved-bugfix-of-null-pointer-p-question-dereferencing.patch deleted +0 -28
deleted file mode 100644
index 81cecefa3..000000000
@@ -1,28 +0,0 @@
-From a924f43f30f9c4acaf70618dd2a055f8b0f166be Mon Sep 17 00:00:00 2001
-From: Evgeny Vereshchagin <[email protected]>
-Date: Wed, 24 May 2017 08:56:48 +0300
-Subject: [PATCH] resolved: bugfix of null pointer p->question dereferencing
- (#6020)
-
-See https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1621396
-
-[Upstream commit: https://github.com/systemd/systemd/commit/a924f43f30f9c4acaf70618dd2a055f8b0f166be]
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- src/resolve/resolved-dns-packet.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c
-index 652970284e..240ee448f4 100644
---- a/src/resolve/resolved-dns-packet.c
-+++ b/src/resolve/resolved-dns-packet.c
-@@ -2269,6 +2269,9 @@ int dns_packet_is_reply_for(DnsPacket *p, const DnsResourceKey *key) {
-         if (r < 0)
-                 return r;
- 
-+        if (!p->question)
-+                return 0;
-+
-         if (p->question->n_keys != 1)
-                 return 0;
- 
package/systemd/0002-build-check-for-ln-relative.patch renamed from package/systemd/0005-build-check-for-ln-relative.patch +13 -11
similarity index 83%
rename from package/systemd/0005-build-check-for-ln-relative.patch
rename to package/systemd/0002-build-check-for-ln-relative.patch
index 1547f62e3..68f0b402b 100644
@@ -1,6 +1,6 @@
-From c78fa2b40cb8b810d06ef225e30f12a7ed44ffa2 Mon Sep 17 00:00:00 2001
+From b60e16cc2ef8c9b4c05c4348a980d3312f2e1cb4 Mon Sep 17 00:00:00 2001
 From: "Yann E. MORIN" <[email protected]>
-Date: Sat, 1 Apr 2017 11:26:29 +0200
+Date: Fri, 28 Jul 2017 07:04:07 -0400
 Subject: [PATCH] build: check for ln --relative
 
 ln --relative is recent enough that not all distributions support it.
@@ -16,20 +16,22 @@ We introduce this as a macro that expands to a single command. To avoid
 complexity in the macro, we expect paths to be passed whitout the
 leading DESTDIR.
 
+Signed-off-by: "Yann E. MORIN" <[email protected]>
+Signed-off-by: Adam Duskett  <[email protected]>
+Refresh for 234
 ---
-Upstream status: submitted, disputed:
+Upstream-Status: Denied [No desire to support building on old distributions]
     https://github.com/systemd/systemd/pull/5682
 
----
  Makefile.am  | 25 ++++++++++++++++++++++---
  configure.ac |  5 ++++-
  2 files changed, 26 insertions(+), 4 deletions(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index 1cc657a..ec503f2 100644
+index c16e622..bed097f 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -300,6 +300,24 @@ install-busnames-target-wants-hook:
+@@ -305,6 +305,24 @@ install-busnames-target-wants-hook:
  	what="$(BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(systemunitdir) && $(add-wants)
  	what="$(USER_BUSNAMES_TARGET_WANTS)" && wants=busnames.target && dir=$(userunitdir) && $(add-wants)
  
@@ -54,7 +56,7 @@ index 1cc657a..ec503f2 100644
  define add-wants
  	[ -z "$$what" ] || ( \
  	  dir=$(DESTDIR)$$dir/$$wants.wants && \
-@@ -313,8 +331,9 @@ install-directories-hook:
+@@ -318,8 +336,9 @@ install-directories-hook:
  	$(MKDIR_P) $(addprefix $(DESTDIR),$(INSTALL_DIRS))
  
  install-environment-conf-hook: install-directories-hook
@@ -66,7 +68,7 @@ index 1cc657a..ec503f2 100644
  
  install-aliases-hook:
  	set -- $(SYSTEM_UNIT_ALIASES) && \
-@@ -337,7 +356,7 @@ define install-relative-aliases
+@@ -342,7 +361,7 @@ define install-relative-aliases
  	while [ -n "$$1" ]; do \
  		$(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
  		rm -f $(DESTDIR)$$dir/$$2 && \
@@ -76,10 +78,10 @@ index 1cc657a..ec503f2 100644
  	done
  endef
 diff --git a/configure.ac b/configure.ac
-index cf37ca6..d586fc4 100644
+index c7537aa..9354441 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -108,7 +108,10 @@ AC_PATH_PROG([SULOGIN], [sulogin], [/usr/sbin/sulogin], [$PATH:/usr/sbin:/sbin])
+@@ -109,7 +109,10 @@ AC_PATH_PROG([SULOGIN], [sulogin], [/usr/sbin/sulogin], [$PATH:/usr/sbin:/sbin])
  AC_PATH_PROG([MOUNT_PATH], [mount], [/usr/bin/mount], [$PATH:/usr/sbin:/sbin])
  AC_PATH_PROG([UMOUNT_PATH], [umount], [/usr/bin/umount], [$PATH:/usr/sbin:/sbin])
  
@@ -92,5 +94,5 @@ index cf37ca6..d586fc4 100644
  M4_DEFINES=
  
 -- 
-2.9.3
+2.13.3
 
package/systemd/0002-resolved-simplify-alloc-size-calculation.patch deleted +0 -51

51 lines not on this page · raw message

package/systemd/0003-fix-am-path-libgcrypt-no-found.patch renamed from package/systemd/0006-fix-am-path-libgcrypt-no-found.patch +20 -6
similarity index 89%
rename from package/systemd/0006-fix-am-path-libgcrypt-no-found.patch
rename to package/systemd/0003-fix-am-path-libgcrypt-no-found.patch
index 2287ac511..e6fb8fcfb 100644
@@ -1,4 +1,7 @@
-Fix AM_PATH_LIBGCRYPT not found
+From cb47c1da9c4a8f69662f9c17497aeeb8a922d41a Mon Sep 17 00:00:00 2001
+From: Eric Le Bihan <[email protected]>
+Date: Fri, 28 Jul 2017 07:13:51 -0400
+Subject: [PATCH] Fix AM_PATH_LIBGCRYPT not found
 
 This patch installs a copy of libgcrypt.m4 from the libgcrypt source tarball
 to systemd m4 directory.
@@ -8,17 +11,25 @@ development files are available. Though libgcrypt support is optional in
 systemd, this macro should be available whenever autoreconf is used, otherwise
 the re-configuration will fail with:
 
-  configure.ac:616: warning: macro 'AM_PATH_LIBGCRYPT' not found in library
+configure.ac:616: warning: macro 'AM_PATH_LIBGCRYPT' not found in library
 
 As asking the user to install the development package of libgcrypt on the host
 machine or adding libgcrypt as a build dependency to systemd is not
 acceptable, the required file is added to the m4 directory.
 
 Signed-off-by: Eric Le Bihan <[email protected]>
-Index: systemd-213/m4/libgcrypt.m4
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ systemd-213/m4/libgcrypt.m4	2014-06-11 10:41:11.749305509 +0200
+Signed-off-by: Adam Duskett <[email protected]>
+Refresh for 234
+---
+ m4/libgcrypt.m4 | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 123 insertions(+)
+ create mode 100644 m4/libgcrypt.m4
+
+diff --git a/m4/libgcrypt.m4 b/m4/libgcrypt.m4
+new file mode 100644
+index 0000000..831dc0c
+--- /dev/null
++++ b/m4/libgcrypt.m4
 @@ -0,0 +1,123 @@
 +dnl Autoconf macros for libgcrypt
 +dnl       Copyright (C) 2002, 2004 Free Software Foundation, Inc.
@@ -143,3 +154,6 @@ Index: systemd-213/m4/libgcrypt.m4
 +  AC_SUBST(LIBGCRYPT_CFLAGS)
 +  AC_SUBST(LIBGCRYPT_LIBS)
 +])
+-- 
+2.13.3
+
package/systemd/0003-resolved-do-not-allocate-packets-with-minimum-size.patch deleted +0 -48

48 lines not on this page · raw message

package/systemd/0004-fix-getty-unit.patch deleted +0 -30
deleted file mode 100644
index 8ec3bcf25..000000000
@@ -1,30 +0,0 @@
-Prefer getty to agetty in console setup systemd units
-
-Signed-off-by: Maxime Ripard <[email protected]>
-Signed-off-by: Eric Le Bihan <[email protected]>
----
-
-diff -aburN systemd-212.orig/units/getty at .service.m4 systemd-212/units/getty at .service.m4
---- systemd-212.orig/units/getty at .service.m4	2014-01-28 11:08:51.000000000 +0100
-+++ systemd-212/units/getty at .service.m4	2014-03-26 11:06:27.000000000 +0100
-@@ -27,7 +27,7 @@
- 
- [Service]
- # the VT is cleared by TTYVTDisallocate
--ExecStart=-/sbin/agetty --noclear %I $TERM
-+ExecStart=-/sbin/getty -L %I 115200 vt100
- Type=idle
- Restart=always
- RestartSec=0
-diff -aburN systemd-212.orig/units/serial-getty at .service.m4 systemd-212/units/serial-getty at .service.m4
---- systemd-212.orig/units/serial-getty at .service.m4	2014-03-13 18:47:24.000000000 +0100
-+++ systemd-212/units/serial-getty at .service.m4	2014-03-26 11:07:01.000000000 +0100
-@@ -22,7 +22,7 @@
- IgnoreOnIsolate=yes
- 
- [Service]
--ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM
-+ExecStart=-/sbin/getty -L %I 115200 vt100
- Type=idle
- Restart=always
- RestartSec=0
package/systemd/systemd.hash +1 -1
index 17f4c0f89..9a1f926e4 100644
@@ -1,2 +1,2 @@
 # sha256 locally computed
-sha256 8b3e99da3d4164b66581830a7f2436c0c8fe697b5fbdc3927bdb960646be0083  systemd-233.tar.gz
+sha256 da3e69d10aa1c983d33833372ad4929037b411ac421fb085c8cee79ae1d80b6a  systemd-234.tar.gz
package/systemd/systemd.mk +1 -1
index 2f6ca114f..9f286fd54 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SYSTEMD_VERSION = 233
+SYSTEMD_VERSION = 234
 SYSTEMD_SITE = $(call github,systemd,systemd,v$(SYSTEMD_VERSION))
 SYSTEMD_LICENSE = LGPL-2.1+, GPL-2.0+ (udev), Public Domain (few source files, see README)
 SYSTEMD_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1 README
Signature · 1 line
2.13.3
#1 lore raw

PATCH 1/1 systemd: bump version to 234

Hi Adam,

Quoted 5 lines · Adam Duskett

Other changes:
- Removed the following patches due to being merged upstream:
- resolved-bugfix-of-null-pointer-p-question-dereferencing.patch
- resolved-simplify-alloc-size-calculation.patch
- resolved-do-not-allocate-packets-with-minimum-size.patch

Quoted 8 lines

- Updated the following patches to work with 234:
- fix-getty-unit.patch
- build-check-for-ln-relative.patch
- fix-am-path-libgcrypt-no-found.patch
- Updated ordering of remaining patches.
- Reformatted remaining patches as git style patches.
- Updated Upstream-Status comment in "build-check-for-ln-relative.patch" to "Denied [No desire to support building on old distributions]"

This is a pretty darn big patch to review. It would have been nice to split it
a little, e.g. split off the reformatting to git style. Also, before sending, it's nice to check if git has detected the renames correctly, and if not give an argument to -M so it tries harder.

Quoted 1 line

[snip]

package/systemd/0001-fix-getty-unit.patch line 4

Quoted 10 lines
package/systemd/0001-fix-getty-unit.patch new file +4 -0
new file mode 100644
index 000000000..c8d53d04a
@@ -0,0 +1,43 @@
+From 82dc074213122ef32c7a9cbfc406a827e5afed64 Mon Sep 17 00:00:00 2001
+From: Maxime Ripard <[email protected]>
+Date: Fri, 28 Jul 2017 06:58:45 -0400
+Subject: [PATCH] Prefer getty to agetty in console setup systemd units

You apparently didn't *really* create it with git format-patch, otherwise the
file name would have been 0001-Prefer-getty-to-agetty-...

package/systemd/0001-fix-getty-unit.patch line 9

Quoted 5 lines
package/systemd/0001-fix-getty-unit.patch new file +5 -0
+
+Signed-off-by: Maxime Ripard <[email protected]>
+Signed-off-by: Eric Le Bihan <[email protected]>
+Signed-off-by: Adam Duskett <[email protected]>
+Refresh for 234

The usual way to do this is:

[Adam: Refresh for 234]
Signed-off-by Adam

package/systemd/0001-fix-getty-unit.patch line 22

Quoted 13 lines
package/systemd/0001-fix-getty-unit.patch new file +13 -0
+---
+ units/getty at .service.m4        | 2 +-
+ units/serial-getty at .service.m4 | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/units/getty at .service.m4 b/units/getty at .service.m4
+index 2a84061..e6e8685 100644
+--- a/units/getty at .service.m4
++++ b/units/getty at .service.m4
+@@ -36,7 +36,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.

Please also remove the comment above, otherwise it looks really weird to anyone
looking into this file on the target.

Quoted 5 lines
package/systemd/0001-fix-getty-unit.patch new file +5 -0
+-ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM
++ExecStart=-/sbin/getty -L %I 115200 vt100
+ Type=idle
+ Restart=always
+ RestartSec=0

[snip]

package/systemd/0001-fix-getty-unit.patch development files are available. Though libgcrypt support is optional in · line 14

Quoted 6 lines
package/systemd/0001-fix-getty-unit.patch new file +1 -1
@@ -8,17 +11,25 @@ development files are available. Though libgcrypt support is optional in
 systemd, this macro should be available whenever autoreconf is used, otherwise
 the re-configuration will fail with:
 
-  configure.ac:616: warning: macro 'AM_PATH_LIBGCRYPT' not found in library
+configure.ac:616: warning: macro 'AM_PATH_LIBGCRYPT' not found in library

Why do you remove the indentation here?

Regards,
Arnout

Quoted 6 lines
package/systemd/0001-fix-getty-unit.patch new file +0 -0
 As asking the user to install the development package of libgcrypt on the host
 machine or adding libgcrypt as a build dependency to systemd is not
 acceptable, the required file is added to the m4 directory.
 
 Signed-off-by: Eric Le Bihan <[email protected]>

[snip]

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#3 lore raw

PATCH 1/1 systemd: bump version to 234

In reply to Adam Duskett
Quoted 14 lines · Adam Duskett

Other changes:
- Removed the following patches due to being merged upstream:
- resolved-bugfix-of-null-pointer-p-question-dereferencing.patch
- resolved-simplify-alloc-size-calculation.patch
- resolved-do-not-allocate-packets-with-minimum-size.patch
- Updated the following patches to work with 234:
- fix-getty-unit.patch
- build-check-for-ln-relative.patch
- fix-am-path-libgcrypt-no-found.patch
- Updated ordering of remaining patches.
- Reformatted remaining patches as git style patches.
- Updated Upstream-Status comment in "build-check-for-ln-relative.patch" to "Denied [No desire to support building on old distributions]"

Quoted 1 line

Adam,

Any chance you can also update "python-systemd" as a part of this patch/series?

Thanks,
Andrey Smirnov

#2 lore raw

PATCH 1/1 systemd: bump version to 234

In reply to Arnout Vandecappelle
Quoted 17 lines · Arnout Vandecappelle

Hi Adam,

Quoted 5 lines · Adam Duskett

Other changes:
- Removed the following patches due to being merged upstream:
- resolved-bugfix-of-null-pointer-p-question-dereferencing.patch
- resolved-simplify-alloc-size-calculation.patch
- resolved-do-not-allocate-packets-with-minimum-size.patch

Quoted 8 lines

- Updated the following patches to work with 234:
- fix-getty-unit.patch
- build-check-for-ln-relative.patch
- fix-am-path-libgcrypt-no-found.patch
- Updated ordering of remaining patches.
- Reformatted remaining patches as git style patches.
- Updated Upstream-Status comment in "build-check-for-ln-relative.patch" to "Denied [No desire to support building on old distributions]"

Quoted 2 lines

This is a pretty darn big patch to review. It would have been nice to split it
a little, e.g. split off the reformatting to git style.

I reformatted them as git because they didn't apply. Might as well do it now.

Quoted 3 lines

Also, before sending,
it's nice to check if git has detected the renames correctly, and if not give an argument to -M so it tries harder.

? They detect fine. I am not sure what you want me to do or how I could prove they detect fine. Also this is not in the Buildroot manual.

Quoted 4 lines
Quoted 3 lines

[snip]

Quoted 13 lines

package/systemd/0001-fix-getty-unit.patch line 4

Quoted 10 lines
package/systemd/0001-fix-getty-unit.patch new file +4 -0
new file mode 100644
index 000000000..c8d53d04a
@@ -0,0 +1,43 @@
+From 82dc074213122ef32c7a9cbfc406a827e5afed64 Mon Sep 17 00:00:00 2001
+From: Maxime Ripard <[email protected]>
+Date: Fri, 28 Jul 2017 06:58:45 -0400
+Subject: [PATCH] Prefer getty to agetty in console setup systemd units

You apparently didn't *really* create it with git format-patch, otherwise the
file name would have been 0001-Prefer-getty-to-agetty-...

I did. I just copied the newly created patch over to the original name.

Quoted 11 lines

package/systemd/0001-fix-getty-unit.patch line 9

Quoted 6 lines
package/systemd/0001-fix-getty-unit.patch new file +5 -0
+
+Signed-off-by: Maxime Ripard <[email protected]>
+Signed-off-by: Eric Le Bihan <[email protected]>
+Signed-off-by: Adam Duskett <[email protected]>
+Refresh for 234

The usual way to do this is:

[Adam: Refresh for 234]
Signed-off-by Adam

That's not how I did it for the nginx patches and they where accepted, so I just copied the formatting. Also again, there is nothing in the Buildroot manual explaining the proper way to format this.

Quoted 18 lines
Quoted 4 lines
package/systemd/0001-fix-getty-unit.patch new file +3 -0
+---
+ units/getty at .service.m4        | 2 +-
+ units/serial-getty at .service.m4 | 2 +-

package/systemd/0001-fix-getty-unit.patch line 22

Quoted 10 lines
package/systemd/0001-fix-getty-unit.patch new file +10 -0
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/units/getty at .service.m4 b/units/getty at .service.m4
+index 2a84061..e6e8685 100644
+--- a/units/getty at .service.m4
++++ b/units/getty at .service.m4
+@@ -36,7 +36,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.

Please also remove the comment above, otherwise it looks really weird to anyone
looking into this file on the target.

Ok, I can do this.

Quoted 7 lines
Quoted 5 lines
package/systemd/0001-fix-getty-unit.patch new file +5 -0
+-ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM
++ExecStart=-/sbin/getty -L %I 115200 vt100
+ Type=idle
+ Restart=always
+ RestartSec=0

[snip]

Quoted 9 lines

package/systemd/0001-fix-getty-unit.patch development files are available. Though libgcrypt support is optional in · line 14

Quoted 6 lines
package/systemd/0001-fix-getty-unit.patch new file +1 -1
@@ -8,17 +11,25 @@ development files are available. Though libgcrypt support is optional in
 systemd, this macro should be available whenever autoreconf is used, otherwise
 the re-configuration will fail with:
 
-  configure.ac:616: warning: macro 'AM_PATH_LIBGCRYPT' not found in library
+configure.ac:616: warning: macro 'AM_PATH_LIBGCRYPT' not found in library

Why do you remove the indentation here?

Just a mistake.

Quoted 3 lines

Regards,
Arnout

Thanks!
Adam

Quoted 16 lines

package/systemd/0001-fix-getty-unit.patch development files are available. Though libgcrypt support is optional in · line 19

Quoted 6 lines
package/systemd/0001-fix-getty-unit.patch new file +0 -0
 As asking the user to install the development package of libgcrypt on the host
 machine or adding libgcrypt as a build dependency to systemd is not
 acceptable, the required file is added to the m4 directory.
 
 Signed-off-by: Eric Le Bihan <[email protected]>

[snip]

--

Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF