Skip to contentSkip to conversation

systemd: bump version to 234

PATCH New Adam Duskett 3 participants 5 messages Jul 31, 2017 – Aug 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 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]"

---
Changes v1 -> v2:
- Changed "Prefer getty to agetty in console setup systemd units" to fix-getty-unit in 0001-fix-getty-unit.patch, and put "Prefer getty to agetty in console setup systemd units" as the body. (Arnout)
- Removed comment explaining -o in units/getty at .service.m4 (Arnout)
- Readded indent in Configure.in (Arnout)

 package/systemd/0001-fix-getty-unit.patch          | 48 ++++++++++++++++++++
 ...-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} | 24 +++++++---
 ...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, 82 insertions(+), 175 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} (90%)
 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 +48 -0
new file mode 100644
index 000000000..8b5035319
@@ -0,0 +1,48 @@
+From 7deb6387aeb07fa4300fa3cf9d6c039dabd120d7 Mon Sep 17 00:00:00 2001
+From: Maxime Ripard <[email protected]>
+Date: Mon, 31 Jul 2017 10:08:46 -0400
+Subject: [PATCH] fix-getty-unit
+
+Prefer getty to agetty in console setup systemd units
+
+Signed-off-by: Maxime Ripard <[email protected]>
+Signed-off-by: Eric Le Bihan <[email protected]>
+[Adam: Refresh for 234]
+Signed-off-by: Adam Duskett <[email protected]>
+---
+ units/getty at .service.m4        | 5 +----
+ units/serial-getty at .service.m4 | 2 +-
+ 2 files changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/units/getty at .service.m4 b/units/getty at .service.m4
+index 2a84061..7ad588f 100644
+--- a/units/getty at .service.m4
++++ b/units/getty at .service.m4
+@@ -33,10 +33,7 @@ ConditionPathExists=/dev/tty0
+ 
+ [Service]
+ # the VT is cleared by TTYVTDisallocate
+-# 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..817ce5010 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]>
+[Adam: Refresh for 234]
+Signed-off-by: Adam Duskett  <[email protected]>
 ---
-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 +19 -5
similarity index 90%
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..1861a4212 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.
@@ -15,10 +18,18 @@ 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
+[Adam: Refresh for 234]
+Signed-off-by: Adam Duskett <[email protected]>
+---
+ 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 v2 2/2 python-systemd: bump to version 234

---
Changes v1 -> v2:
- Added to patch series.

 package/python-systemd/python-systemd.hash | 4 ++--
 package/python-systemd/python-systemd.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-systemd/python-systemd.hash +2 -2
index a645bec0f..ae480b8fe 100644
@@ -1,3 +1,3 @@
 # md5 from https://pypi.python.org/pypi/systemd-python/, sha256 locally computed
-md5 8438acab31e6f1e3e963d36f3de62faa systemd-python-233.tar.gz
-sha256 06a3768b744884565d7961b44f4a51d164765bc59692f0f85ea6f11330a17da4 systemd-python-233.tar.gz
+md5 5071ea5bcb976186e92a3f5e75df221d systemd-python-234.tar.gz
+sha256 fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7 systemd-python-234.tar.gz
package/python-systemd/python-systemd.mk +2 -2
index 242a2ea12..3ccfd57ce 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_SYSTEMD_VERSION = 233 # Should be kept in sync with $(SYSTEMD_VERSION)
+PYTHON_SYSTEMD_VERSION = 234 # Should be kept in sync with $(SYSTEMD_VERSION)
 PYTHON_SYSTEMD_SOURCE = systemd-python-$(PYTHON_SYSTEMD_VERSION).tar.gz
-PYTHON_SYSTEMD_SITE = https://pypi.python.org/packages/10/89/d66ae73bdbc2614e4f2e90ddf9ef80d22c28f3cd70071345c3640465c14c
+PYTHON_SYSTEMD_SITE = https://pypi.python.org/packages/e8/a8/00ba0f605837a8f69523e6c3a4fb14675a6430c163f836540129c50b3aef
 PYTHON_SYSTEMD_SETUP_TYPE = distutils
 PYTHON_SYSTEMD_LICENSE = LGPL-2.1
 PYTHON_SYSTEMD_LICENSE_FILES = LICENSE.txt
Signature · 1 line
2.13.3
#2 lore raw

PATCH v2 2/2 python-systemd: bump to version 234

Hello,

Quoted 4 lines · Adam Duskett

---
Changes v1 -> v2:
- Added to patch series.

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH v2 1/2 systemd: bump version to 234

In reply to Adam Duskett

Hello,

Quoted 33 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]"

---
Changes v1 -> v2:
- Changed "Prefer getty to agetty in console setup systemd units" to fix-getty-unit in 0001-fix-getty-unit.patch, and put "Prefer getty to agetty in console setup systemd units" as the body. (Arnout)
- Removed comment explaining -o in units/getty at .service.m4 (Arnout)
- Readded indent in Configure.in (Arnout)

 package/systemd/0001-fix-getty-unit.patch          | 48 ++++++++++++++++++++
 ...-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} | 24 +++++++---
 ...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 +-
Quoted 8 lines
 9 files changed, 82 insertions(+), 175 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} (90%)
 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

Tested with Arnouts new init testing infrastructure. Basic networkd configuration (rw + ro) builds and boots fine without any failed units. Network is functional.

Best wishes,
Marcus

#4 lore raw

PATCH v2 1/2 systemd: bump version to 234

In reply to Adam Duskett

Hello,

Quoted 15 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 8 lines

---
Changes v1 -> v2:
- Changed "Prefer getty to agetty in console setup systemd units" to fix-getty-unit in 0001-fix-getty-unit.patch, and put "Prefer getty to agetty in console setup systemd units" as the body. (Arnout)
- Removed comment explaining -o in units/getty at .service.m4 (Arnout)
- Readded indent in Configure.in (Arnout)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com