systemd: update to 204
cover systemd: update to 204
This updates systemd to 204.
It depends on the following commit:
- base-files: add /run directory from FHS 3 draft specification
Tested startup/shutdown and serial getty under QEMU x86.
Jonathan Liu (1):
systemd: update to 204
.../systemd-serialgetty/[email protected] | 16 +- ...se-AC_CHECK_TOOL-for-objcopy-strings-and-.patch | 41 --- ...ystemd-update-utmp-shutdown.service-into-.patch | 367 +++++++++++++++++++++ .../0002-readahead-chunk-on-spinning-media.patch | 142 -------- .../systemd/systemd/0003-readahead-cleanups.patch | 86 ----- ...ctl-Handle-missing-etc-sysctl.conf-proper.patch | 33 -- .../systemd/systemd/199-firmware.patch | 98 ------ meta/recipes-core/systemd/systemd_199.bb | 300 ----------------- meta/recipes-core/systemd/systemd_204.bb | 296 +++++++++++++++++ 9 files changed, 673 insertions(+), 706 deletions(-) delete mode 100644 meta/recipes-core/systemd/systemd/0001-configure-use-AC_CHECK_TOOL-for-objcopy-strings-and-.patch create mode 100644 meta/recipes-core/systemd/systemd/0001-utmp-turn-systemd-update-utmp-shutdown.service-into-.patch delete mode 100644 meta/recipes-core/systemd/systemd/0002-readahead-chunk-on-spinning-media.patch delete mode 100644 meta/recipes-core/systemd/systemd/0003-readahead-cleanups.patch delete mode 100644 meta/recipes-core/systemd/systemd/0013-systemd-sysctl-Handle-missing-etc-sysctl.conf-proper.patch delete mode 100644 meta/recipes-core/systemd/systemd/199-firmware.patch delete mode 100644 meta/recipes-core/systemd/systemd_199.bb create mode 100644 meta/recipes-core/systemd/systemd_204.bb
Signature · 1 line
1.8.2.3
PATCH 1/1 systemd: update to 204
Removed patches integrated upstream.
Added backport of fix for utmp not running at shutdown. Updated serial-getty service.
--- .../systemd-serialgetty/[email protected] | 16 +- ...se-AC_CHECK_TOOL-for-objcopy-strings-and-.patch | 41 --- ...ystemd-update-utmp-shutdown.service-into-.patch | 367 +++++++++++++++++++++ .../0002-readahead-chunk-on-spinning-media.patch | 142 -------- .../systemd/systemd/0003-readahead-cleanups.patch | 86 ----- ...ctl-Handle-missing-etc-sysctl.conf-proper.patch | 33 -- .../systemd/systemd/199-firmware.patch | 98 ------ meta/recipes-core/systemd/systemd_199.bb | 300 ----------------- meta/recipes-core/systemd/systemd_204.bb | 296 +++++++++++++++++ 9 files changed, 673 insertions(+), 706 deletions(-) delete mode 100644 meta/recipes-core/systemd/systemd/0001-configure-use-AC_CHECK_TOOL-for-objcopy-strings-and-.patch create mode 100644 meta/recipes-core/systemd/systemd/0001-utmp-turn-systemd-update-utmp-shutdown.service-into-.patch delete mode 100644 meta/recipes-core/systemd/systemd/0002-readahead-chunk-on-spinning-media.patch delete mode 100644 meta/recipes-core/systemd/systemd/0003-readahead-cleanups.patch delete mode 100644 meta/recipes-core/systemd/systemd/0013-systemd-sysctl-Handle-missing-etc-sysctl.conf-proper.patch delete mode 100644 meta/recipes-core/systemd/systemd/199-firmware.patch delete mode 100644 meta/recipes-core/systemd/systemd_199.bb create mode 100644 meta/recipes-core/systemd/systemd_204.bb
meta/recipes-core/systemd/systemd-serialgetty/[email protected] +10 -6
@@ -1,23 +1,27 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] Description=Serial Getty on %I -BindTo=dev-%i.device -After=dev-%i.device systemd-user-sessions.service +Documentation=man:agetty(8) man:systemd-getty-generator(8) +Documentation=http://0pointer.de/blog/projects/serial-console.html +BindsTo=dev-%i.device +After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service +After=rc-local.service # If additional gettys are spawned during boot then we should make # sure that this is synchronized before getty.target, even though # getty.target didn't actually pull it in. Before=getty.target +IgnoreOnIsolate=yes [Service] -Environment=TERM=vt100 -ExecStart=-/sbin/agetty -s %I @BAUDRATE@ +ExecStart=-/sbin/agetty -s %I @BAUDRATE@ vt102 +Type=idle Restart=always RestartSec=0 UtmpIdentifier=%I
meta/recipes-core/systemd/systemd/0001-configure-use-AC_CHECK_TOOL-for-objcopy-strings-and-.patch deleted +0 -41
41 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0001-utmp-turn-systemd-update-utmp-shutdown.service-into-.patch new file +367 -0
367 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0002-readahead-chunk-on-spinning-media.patch deleted +0 -142
142 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0003-readahead-cleanups.patch deleted +0 -86
86 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0013-systemd-sysctl-Handle-missing-etc-sysctl.conf-proper.patch deleted +0 -33
@@ -1,33 +0,0 @@ -Upstream-Status: Backport - --Khem 2013/03/28 - -From 6f6fad96addf6b00b55c98cc0d0d8026b0c1e7ca Mon Sep 17 00:00:00 2001 -From: Eelco Dolstra <[email protected]> -Date: Wed, 27 Mar 2013 13:41:59 +0100 -Subject: [PATCH 13/17] systemd-sysctl: Handle missing /etc/sysctl.conf - properly - -Since fabe5c0e5fce730aa66e10a9c4f9fdd443d7aeda, systemd-sysctl returns -a non-zero exit code if /etc/sysctl.conf does not exist, due to a -broken ENOENT check. ---- - src/sysctl/sysctl.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c -index 2d43660..79f3f77 100644 ---- a/src/sysctl/sysctl.c -+++ b/src/sysctl/sysctl.c -@@ -125,7 +125,7 @@ static int parse_file(Hashmap *sysctl_options, const char *path, bool ignore_eno - - r = search_and_fopen_nulstr(path, "re", conf_file_dirs, &f); - if (r < 0) { -- if (ignore_enoent && errno == -ENOENT) -+ if (ignore_enoent && r == -ENOENT) - return 0; - - log_error("Failed to open file '%s', ignoring: %s", path, strerror(-r)); --- -1.7.9.5 -
meta/recipes-core/systemd/systemd/199-firmware.patch deleted +0 -98
98 lines not on this page · raw message
meta/recipes-core/systemd/systemd_199.bb deleted +0 -300
300 lines not on this page · raw message
meta/recipes-core/systemd/systemd_204.bb new file +296 -0
296 lines not on this page · raw message
Signature · 1 line
1.8.2.3
Quoted 1 line · Jonathan Liu
Tested startup/shutdown and serial getty under QEMU x86.
Thats not enough. It should be tested on all qemus before it gets pulled.
Quoted 4 lines · Khem Raj
Quoted 1 line · Jonathan Liu
Tested startup/shutdown and serial getty under QEMU x86.
Thats not enough. It should be tested on all qemus before it gets pulled.
Agreed. And please use -M so renames are easier to review.
Ross