]> git.pld-linux.org Git - packages/systemd.git/commitdiff
- started update to 240
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Jan 2019 11:07:38 +0000 (12:07 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Jan 2019 11:07:38 +0000 (12:07 +0100)
- updated target-pld,pld-sysv-network,proc-hidepid,udevadm-in-sbin patches
- removed obsolete struct-statx-in-glibc,meson-debug,timesync-changes-type-of-drift_freq-to-int64_t patches
- net-rename-revert patch needs rewrite

meson-debug.patch [deleted file]
pld-sysv-network.patch
proc-hidepid.patch
systemd-struct-statx-in-glibc.patch [deleted file]
systemd-timesync-changes-type-of-drift_freq-to-int64_t.patch [deleted file]
systemd.spec
target-pld.patch
udevadm-in-sbin.patch

diff --git a/meson-debug.patch b/meson-debug.patch
deleted file mode 100644 (file)
index 19db590..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-From 8f6b442a78d0b485f044742ad90b2e8271b4e68e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
-Date: Sun, 19 Aug 2018 19:11:30 +0200
-Subject: [PATCH] meson: rename -Ddebug to -Ddebug-extra
-
-Meson added -Doptimization and -Ddebug options, which obviously causes
-a conflict with our -Ddebug options. Let's rename it.
-
-Fixes #9883.
----
- meson.build       | 2 +-
- meson_options.txt | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index f79ac4b12e7..2209c935ad6 100644
---- a/meson.build
-+++ b/meson.build
-@@ -763,7 +763,7 @@ substs.set('DEBUGTTY', get_option('debug-tty'))
- enable_debug_hashmap = false
- enable_debug_mmap_cache = false
--foreach name : get_option('debug')
-+foreach name : get_option('debug-extra')
-         if name == 'hashmap'
-                 enable_debug_hashmap = true
-         elif name == 'mmap-cache'
-diff --git a/meson_options.txt b/meson_options.txt
-index e3140c8c110..7b1f61bf464 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -45,7 +45,7 @@ option('debug-shell', type : 'string', value : '/bin/sh',
-        description : 'path to debug shell binary')
- option('debug-tty', type : 'string', value : '/dev/tty9',
-        description : 'specify the tty device for debug shell')
--option('debug', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
-+option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
-        description : 'enable extra debugging')
- option('memory-accounting-default', type : 'boolean',
-        description : 'enable MemoryAccounting= by default')
index ea5550592e28c935c8b8dc1b753b9ee0baac0ad4..e2eb088ca172193dc1ad80ae3711b766b936f40d 100644 (file)
@@ -1,17 +1,16 @@
-diff -dur -x '*.orig' systemd-218.orig/man/systemd.special.xml systemd-218/man/systemd.special.xml
---- systemd-218.orig/man/systemd.special.xml   2014-12-05 01:26:51.000000000 +0100
-+++ systemd-218/man/systemd.special.xml        2015-04-03 15:01:42.000000000 +0200
-@@ -910,6 +910,10 @@
-           <varname>After=</varname> for this target unit to all SysV
-           init script service units with an LSB header referring to
-           the <literal>$portmap</literal> facility.</para>
+--- systemd-240/man/systemd.special.xml.orig   2019-01-13 09:31:46.448992299 +0100
++++ systemd-240/man/systemd.special.xml        2019-01-13 09:48:30.415647502 +0100
+@@ -940,6 +940,10 @@
+             <varname>After=</varname> for this target unit to all SysV
+             init script service units with an LSB header referring to
+             the <literal>$portmap</literal> facility.</para>
 +
-+          <para>PLD specific: also scripts with
-+          <literal>. /etc/sysconfig/network</literal>
-+          source line get the dependency.</para>
-         </listitem>
-       </varlistentry>
-       <varlistentry>
++            <para>PLD specific: also scripts with
++            <literal>. /etc/sysconfig/network</literal>
++            source line get the dependency.</para>
+           </listitem>
+         </varlistentry>
+         <varlistentry>
 diff -dur -x '*.orig' systemd-218.orig/src/sysv-generator/sysv-generator.c systemd-218/src/sysv-generator/sysv-generator.c
 --- systemd-218.orig/src/sysv-generator/sysv-generator.c       2014-12-05 01:26:51.000000000 +0100
 +++ systemd-218/src/sysv-generator/sysv-generator.c    2015-04-03 15:02:21.000000000 +0200
index 6a0fad23f6460984d5954cf592c29951ac64bcc3..a73d842959bf611572e3bf0140cdd3fac8bf224c 100644 (file)
@@ -1,9 +1,9 @@
---- systemd-198/units/systemd-logind.service.in~       2012-07-19 12:46:25.831148364 +0200
-+++ systemd-198/units/systemd-logind.service.in        2013-03-24 16:39:38.798689883 +0100
-@@ -21,3 +21,7 @@
- # Increase the default a bit in order to allow many simultaneous
- # logins since we keep one fd open per session.
- LimitNOFILE=16384
+--- systemd-240/units/systemd-logind.service.in.orig   2019-01-13 10:40:04.142278844 +0100
++++ systemd-240/units/systemd-logind.service.in        2019-01-13 10:41:12.495611397 +0100
+@@ -41,3 +41,7 @@
+ # Increase the default a bit in order to allow many simultaneous logins since
+ # we keep one fd open per session.
+ LimitNOFILE=@HIGH_RLIMIT_NOFILE@
 +
 +# Run as group 'proc' to ensure access to /proc when
 +# it is mounted with hidepid=1|2 option
diff --git a/systemd-struct-statx-in-glibc.patch b/systemd-struct-statx-in-glibc.patch
deleted file mode 100644 (file)
index c3216d5..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-[Fedora 0001-build-sys-Detect-whether-struct-statx-is-defined-in-.patch]
-From 75720bff62a84896e9a0654afc7cf9408cf89a38 Mon Sep 17 00:00:00 2001
-From: Filipe Brandenburger <filbranden@google.com>
-Date: Sun, 15 Jul 2018 22:43:35 -0700
-Subject: [PATCH] build-sys: Detect whether struct statx is defined in
- sys/stat.h
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Starting with glibc 2.27.9000-36.fc29, include file sys/stat.h will have a
-definition for struct statx, in which case include file linux/stat.h should be
-avoided, in order to prevent a duplicate definition.
-
-    In file included from ../src/basic/missing.h:18,
-                    from ../src/basic/util.h:28,
-                    from ../src/basic/hashmap.h:10,
-                    from ../src/shared/bus-util.h:12,
-                    from ../src/libsystemd/sd-bus/bus-creds.c:11:
-    /usr/include/linux/stat.h:99:8: error: redefinition of ‘struct statx’
-     struct statx {
-           ^~~~~
-    In file included from /usr/include/sys/stat.h:446,
-                    from ../src/basic/util.h:19,
-                    from ../src/basic/hashmap.h:10,
-                    from ../src/shared/bus-util.h:12,
-                    from ../src/libsystemd/sd-bus/bus-creds.c:11:
-    /usr/include/bits/statx.h:36:8: note: originally defined here
-     struct statx
-           ^~~~~
-
-Extend our meson.build to look for struct statx when only sys/stat.h is
-included and, in that case, do not include linux/stat.h anymore.
-
-Tested that systemd builds correctly when using a glibc version that includes a
-definition for struct statx.
-
-glibc Fedora RPM update:
-https://src.fedoraproject.org/rpms/glibc/c/28cb5d31fc1e5887912283c889689c47076278ae
-
-glibc upstream commit:
-https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=fd70af45528d59a00eb3190ef6706cb299488fcd
----
- meson.build            | 5 +++++
- src/basic/missing.h    | 5 ++++-
- src/basic/xattr-util.c | 1 -
- 3 files changed, 9 insertions(+), 2 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index dd904c7148..68423bdfa5 100644
---- a/meson.build
-+++ b/meson.build
-@@ -425,6 +425,7 @@ decl_headers = '''
- #include <sys/stat.h>
- '''
- # FIXME: key_serial_t is only defined in keyutils.h, this is bound to fail
-+# FIXME: these should use -D_GNU_SOURCE, since that is defined at build time
- foreach decl : ['char16_t',
-                 'char32_t',
-@@ -439,6 +440,10 @@ foreach decl : ['char16_t',
-         conf.set10('HAVE_' + decl.underscorify().to_upper(), have)
- endforeach
-+conf.set10('HAVE_STRUCT_STATX_IN_SYS_STAT_H', cc.sizeof('struct statx', prefix : '''
-+#include <sys/stat.h>
-+''', args : '-D_GNU_SOURCE') > 0)
-+
- foreach decl : [['IFLA_INET6_ADDR_GEN_MODE',         'linux/if_link.h'],
-                 ['IN6_ADDR_GEN_MODE_STABLE_PRIVACY', 'linux/if_link.h'],
-                 ['IFLA_VRF_TABLE',                   'linux/if_link.h'],
-diff --git a/src/basic/missing.h b/src/basic/missing.h
-index 71a07d0574..14ad3d4914 100644
---- a/src/basic/missing.h
-+++ b/src/basic/missing.h
-@@ -15,7 +15,6 @@
- #include <linux/neighbour.h>
- #include <linux/oom.h>
- #include <linux/rtnetlink.h>
--#include <linux/stat.h>
- #include <net/ethernet.h>
- #include <stdlib.h>
- #include <sys/resource.h>
-@@ -25,6 +24,10 @@
- #include <uchar.h>
- #include <unistd.h>
-+#if !HAVE_STRUCT_STATX_IN_SYS_STAT_H
-+#include <linux/stat.h>
-+#endif
-+
- #if HAVE_AUDIT
- #include <libaudit.h>
- #endif
-diff --git a/src/basic/xattr-util.c b/src/basic/xattr-util.c
-index c5c55ea846..0ee0979837 100644
---- a/src/basic/xattr-util.c
-+++ b/src/basic/xattr-util.c
-@@ -2,7 +2,6 @@
- #include <errno.h>
- #include <fcntl.h>
--#include <linux/stat.h>
- #include <stdint.h>
- #include <stdlib.h>
- #include <string.h>
diff --git a/systemd-timesync-changes-type-of-drift_freq-to-int64_t.patch b/systemd-timesync-changes-type-of-drift_freq-to-int64_t.patch
deleted file mode 100644 (file)
index a45c57b..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-From: Yu Watanabe <watanabe.yu+github@gmail.com>
-Date: Sat, 23 Jun 2018 09:41:55 +0900
-Subject: timesync: changes type of drift_freq to int64_t
-
-drift_freq is used for storing timex.freq, and is a 64bit integer.
-To support x32 ABI, this changes the type of drift_freq to int64_t.
-
-Fixes #9387.
-
-(cherry picked from commit 75ca1621db4647a4d62d7873cd6715e28fe0f9fa)
----
- src/timesync/timesyncd-manager.c | 2 +-
- src/timesync/timesyncd-manager.h | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c
-index 2b731af..404a2b1 100644
---- a/src/timesync/timesyncd-manager.c
-+++ b/src/timesync/timesyncd-manager.c
-@@ -604,7 +604,7 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re
-         m->dest_time = *recv_time;
-         m->spike = spike;
--        log_debug("interval/delta/delay/jitter/drift " USEC_FMT "s/%+.3fs/%.3fs/%.3fs/%+"PRI_TIMEX"ppm%s",
-+        log_debug("interval/delta/delay/jitter/drift " USEC_FMT "s/%+.3fs/%.3fs/%.3fs/%+"PRIi64"ppm%s",
-                   m->poll_interval_usec / USEC_PER_SEC, offset, delay, m->samples_jitter, m->drift_freq / 65536,
-                   spike ? " (ignored)" : "");
-diff --git a/src/timesync/timesyncd-manager.h b/src/timesync/timesyncd-manager.h
-index d8d97cc..1834741 100644
---- a/src/timesync/timesyncd-manager.h
-+++ b/src/timesync/timesyncd-manager.h
-@@ -79,7 +79,7 @@ struct Manager {
-         /* last change */
-         bool jumped;
-         bool sync;
--        long drift_freq;
-+        int64_t drift_freq;
-         /* watch for time changes */
-         sd_event_source *event_clock_watch;
index 3b1f1ab83cd7d3fddfd83c1d924aacbb40992fd8..fe5135139b4c4bd671076d23df75a0290b3914ea 100644 (file)
@@ -28,13 +28,14 @@ Summary:    A System and Service Manager
 Summary(pl.UTF-8):     systemd - zarządca systemu i usług dla Linuksa
 Name:          systemd
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
-Version:       239
-Release:       2
+Version:       240
+Release:       0.1
 Epoch:         1
 License:       GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:         Base
+#Source0Download: https://github.com/systemd/systemd/releases
 Source0:       https://github.com/systemd/systemd/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 6137e3f50390391cf34521d071a1a078
+# Source0-md5: 0e4f91b513d4b04e2c10a5173e5a87b2
 Source1:       %{name}-sysv-convert
 Source2:       %{name}_booted.c
 Source3:       network.service
@@ -67,7 +68,6 @@ Patch3:               tmpfiles-not-fatal.patch
 Patch4:                udev-ploop-rules.patch
 Patch5:                udevadm-in-sbin.patch
 Patch6:                net-rename-revert.patch
-Patch7:                %{name}-struct-statx-in-glibc.patch
 Patch8:                proc-hidepid.patch
 Patch9:                %{name}-configfs.patch
 Patch10:       pld-boot_efi_mount.patch
@@ -76,9 +76,7 @@ Patch12:      uids_gids.patch
 Patch13:       sysctl.patch
 Patch14:       pld-pam-%{name}-user.patch
 Patch15:       %{name}-seccomp_disable_on_i386.patch
-Patch16:       meson-debug.patch
-Patch17:       %{name}-timesync-changes-type-of-drift_freq-to-int64_t.patch
-URL:           http://www.freedesktop.org/wiki/Software/systemd
+URL:           https://www.freedesktop.org/wiki/Software/systemd/
 BuildRequires: acl-devel
 %{?with_audit:BuildRequires:   audit-libs-devel}
 BuildRequires: binutils >= 3:2.22.52.0.1-2
@@ -661,8 +659,7 @@ Uzupełnianie parametrów w zsh dla poleceń udev.
 %patch4 -p1
 %patch5 -p1
 # rejected upstream (do not disable!)
-%patch6 -p1
-%patch7 -p1
+#patch6 -p1 TODO: needs rewrite
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
@@ -671,8 +668,6 @@ Uzupełnianie parametrów w zsh dla poleceń udev.
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
-%patch16 -p1
-%patch17 -p1
 
 cp -p %{SOURCE2} src/systemd_booted.c
 
@@ -1094,7 +1089,7 @@ fi
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc doc/{BOOT_LOADER_SPECIFICATION.md,DISTRO_PORTING,ENVIRONMENT.md,TRANSIENT-SETTINGS.md,UIDS-GIDS.md} NEWS README TODO
+%doc docs/{AUTOMATIC_BOOT_ASSESSMENT,BLOCK_DEVICE_LOCKING,BOOT_LOADER_INTERFACE,BOOT_LOADER_SPECIFICATION,DISTRO_PORTING,ENVIRONMENT,PREDICTABLE_INTERFACE_NAMES,TRANSIENT-SETTINGS,UIDS-GIDS}.md NEWS README TODO
 %{_datadir}/dbus-1/system.d/org.freedesktop.hostname1.conf
 %{_datadir}/dbus-1/system.d/org.freedesktop.import1.conf
 %{_datadir}/dbus-1/system.d/org.freedesktop.locale1.conf
@@ -1155,6 +1150,7 @@ fi
 %attr(755,root,root) %{_bindir}/systemd-cat
 %attr(755,root,root) %{_bindir}/systemd-delta
 %attr(755,root,root) %{_bindir}/systemd-detect-virt
+%attr(755,root,root) %{_bindir}/systemd-id128
 %attr(755,root,root) %{_bindir}/systemd-mount
 %attr(755,root,root) %{_bindir}/systemd-nspawn
 %attr(755,root,root) %{_bindir}/systemd-path
@@ -1172,6 +1168,8 @@ fi
 %attr(755,root,root) /lib/systemd/systemd-ac-power
 %attr(755,root,root) /lib/systemd/systemd-backlight
 %attr(755,root,root) /lib/systemd/systemd-binfmt
+%attr(755,root,root) /lib/systemd/systemd-bless-boot
+%attr(755,root,root) /lib/systemd/systemd-boot-check-no-failures
 %attr(755,root,root) /lib/systemd/systemd-cgroups-agent
 %attr(755,root,root) /lib/systemd/systemd-coredump
 %{?with_cryptsetup:%attr(755,root,root) /lib/systemd/systemd-cryptsetup}
@@ -1182,6 +1180,7 @@ fi
 %attr(755,root,root) /lib/systemd/systemd-hibernate-resume
 %attr(755,root,root) /lib/systemd/systemd-hostnamed
 %attr(755,root,root) /lib/systemd/systemd-import
+%attr(755,root,root) /lib/systemd/systemd-import-fs
 %attr(755,root,root) /lib/systemd/systemd-importd
 %attr(755,root,root) /lib/systemd/systemd-initctl
 %attr(755,root,root) /lib/systemd/systemd-journald
@@ -1218,11 +1217,13 @@ fi
 %attr(755,root,root) /lib/systemd/systemd-volatile-root
 %attr(755,root,root) /lib/systemd/systemd
 %{?with_cryptsetup:%attr(755,root,root) /lib/systemd/system-generators/systemd-cryptsetup-generator}
+%attr(755,root,root) /lib/systemd/system-generators/systemd-bless-boot-generator
 %attr(755,root,root) /lib/systemd/system-generators/systemd-debug-generator
 %attr(755,root,root) /lib/systemd/system-generators/systemd-fstab-generator
 %attr(755,root,root) /lib/systemd/system-generators/systemd-getty-generator
 %attr(755,root,root) /lib/systemd/system-generators/systemd-gpt-auto-generator
 %attr(755,root,root) /lib/systemd/system-generators/systemd-hibernate-resume-generator
+%attr(755,root,root) /lib/systemd/system-generators/systemd-run-generator
 %attr(755,root,root) /lib/systemd/system-generators/systemd-system-update-generator
 %attr(755,root,root) /lib/systemd/system-generators/systemd-sysv-generator
 %attr(755,root,root) /lib/systemd/system-generators/systemd-veritysetup-generator
@@ -1325,6 +1326,7 @@ fi
 %{_mandir}/man1/systemd-escape.1*
 %{_mandir}/man1/systemd-firstboot.1*
 %{_mandir}/man1/systemd-firstboot.service.1*
+%{_mandir}/man1/systemd-id128.1*
 %{_mandir}/man1/systemd-inhibit.1*
 %{_mandir}/man1/systemd-machine-id-setup.1*
 %{_mandir}/man1/systemd-mount.1*
@@ -1392,6 +1394,7 @@ fi
 %{_mandir}/man8/nss-mymachines.8*
 %{_mandir}/man8/systemd-backlight.8*
 %{_mandir}/man8/systemd-binfmt.8*
+%{_mandir}/man8/systemd-bless-boot-generator.8*
 %{_mandir}/man8/systemd-coredump.8*
 %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup-generator.8*}
 %{_mandir}/man8/systemd-debug-generator.8*
@@ -1426,6 +1429,7 @@ fi
 %{_mandir}/man8/systemd-remount-fs.8*
 %{_mandir}/man8/systemd-rfkill.8*
 %{_mandir}/man8/systemd-rfkill.service.8*
+%{_mandir}/man8/systemd-run-generator.8*
 %{_mandir}/man8/systemd-shutdown.8*
 %{_mandir}/man8/systemd-sleep.8*
 %{_mandir}/man8/systemd-socket-proxyd.8*
@@ -1599,6 +1603,8 @@ fi
 %{systemdunitdir}/systemd-ask-password-wall.service
 %{systemdunitdir}/systemd-backlight@.service
 %{systemdunitdir}/systemd-binfmt.service
+%{systemdunitdir}/systemd-bless-boot.service
+%{systemdunitdir}/systemd-boot-check-no-failures.service
 %{systemdunitdir}/systemd-firstboot.service
 %{systemdunitdir}/systemd-fsck-root.service
 %{systemdunitdir}/systemd-fsck@.service
@@ -1666,6 +1672,7 @@ fi
 %{systemdunitdir}/systemd-udevd-kernel.socket
 %{systemdunitdir}/basic.target
 %{systemdunitdir}/bluetooth.target
+%{systemdunitdir}/boot-complete.target
 %{?with_cryptsetup:%{systemdunitdir}/cryptsetup-pre.target}
 %{?with_cryptsetup:%{systemdunitdir}/cryptsetup.target}
 %{systemdunitdir}/ctrl-alt-del.target
@@ -1802,6 +1809,8 @@ fi
 %dir %{systemduserunitdir}/sockets.target.wants
 %{systemduserunitdir}/graphical-session-pre.target
 %{systemduserunitdir}/graphical-session.target
+%{_mandir}/man5/user@.service.5*
+%{_mandir}/man5/user-runtime-dir@.service.5*
 %{_mandir}/man8/30-systemd-environment-d-generator.8*
 %{_mandir}/man8/systemd-environment-d-generator.8*
 %{_mandir}/man8/systemd-ask-password-console.path.8*
@@ -1810,6 +1819,8 @@ fi
 %{_mandir}/man8/systemd-ask-password-wall.service.8*
 %{_mandir}/man8/systemd-backlight@.service.8*
 %{_mandir}/man8/systemd-binfmt.service.8*
+%{_mandir}/man8/systemd-bless-boot.service.8*
+%{_mandir}/man8/systemd-boot-check-no-failures.service.8*
 %{_mandir}/man8/systemd-coredump.socket.8*
 %{_mandir}/man8/systemd-coredump@.service.8*
 %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup.8*}
@@ -1877,6 +1888,7 @@ fi
 %files networkd
 %defattr(644,root,root,755)
 %{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/networkd.conf
 %dir %{_sysconfdir}/systemd/network
 %dir %{_sysconfdir}/systemd/system/network-online.target.wants
 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service
@@ -1901,8 +1913,8 @@ fi
 
 %files portabled
 %defattr(644,root,root,755)
-%doc doc/PORTABLE_SERVICES.md
-%attr(755,root,root) /lib/systemd/portablectl
+%doc docs/PORTABLE_SERVICES.md
+%attr(755,root,root) /bin/portablectl
 %attr(755,root,root) /lib/systemd/systemd-portabled
 %{systemdunitdir}/dbus-org.freedesktop.portable1.service
 %{systemdunitdir}/systemd-portabled.service
@@ -2039,8 +2051,6 @@ fi
 
 %{_prefix}/lib/udev
 
-%attr(755,root,root) /lib/udev/collect
-
 %attr(755,root,root) /lib/udev/net_helper
 
 %attr(755,root,root) /lib/udev/ata_id
index e90a617ff1607c295526051015e6d48a3c30f33f..4fd03f1399373d277496483fd566e4e90a937560 100644 (file)
@@ -8,9 +8,17 @@
 +int read_etc_hostname_distro(const char *path, char **ret);
  int read_etc_hostname_stream(FILE *f, char **ret);
  int read_etc_hostname(const char *path, char **ret);
---- systemd-238/src/basic/hostname-util.c~     2018-03-05 23:16:37.000000000 +0100
-+++ systemd-238/src/basic/hostname-util.c      2018-05-15 13:21:08.392017315 +0200
-@@ -290,13 +290,33 @@ int read_etc_hostname_stream(FILE *f, ch
+--- systemd-240/src/basic/hostname-util.c.orig 2018-12-21 19:53:33.000000000 +0100
++++ systemd-240/src/basic/hostname-util.c      2019-01-13 11:11:40.715590524 +0100
+@@ -8,6 +8,7 @@
+ #include <unistd.h>
+ #include "alloc-util.h"
++#include "env-file.h"
+ #include "fd-util.h"
+ #include "fileio.h"
+ #include "hostname-util.h"
+@@ -291,13 +292,33 @@ int read_etc_hostname_stream(FILE *f, ch
          }
  }
  
  
          f = fopen(path, "re");
          if (!f)
-diff -dur -x '*~' -x '*.orig' systemd-208.orig/src/core/locale-setup.c systemd-208/src/core/locale-setup.c
---- systemd-208.orig/src/core/locale-setup.c   2013-10-01 00:17:21.000000000 +0200
-+++ systemd-208/src/core/locale-setup.c        2014-01-09 15:15:41.000000000 +0100
-@@ -76,6 +76,7 @@
+--- systemd-240/src/core/locale-setup.c.orig   2019-01-13 09:27:36.718995151 +0100
++++ systemd-240/src/core/locale-setup.c        2019-01-13 09:29:37.548993771 +0100
+@@ -21,6 +21,7 @@
+         int r;
  
-         if (detect_container() <= 0) {
-                 r = parse_env_file(NULL, "/proc/cmdline", WHITESPACE,
-+                                   "LANG",                     &variables[VARIABLE_LANG],
-                                    "locale.LANG",              &variables[VARIABLE_LANG],
-                                    "locale.LANGUAGE",          &variables[VARIABLE_LANGUAGE],
-                                    "locale.LC_CTYPE",          &variables[VARIABLE_LC_CTYPE],
-@@ -120,6 +121,15 @@
-                         log_warning("Failed to read /etc/locale.conf: %s", strerror(-r));
+         r = proc_cmdline_get_key_many(PROC_CMDLINE_STRIP_RD_PREFIX,
++                                      "LANG",                     &variables[VARIABLE_LANG],
+                                       "locale.LANG",              &variables[VARIABLE_LANG],
+                                       "locale.LANGUAGE",          &variables[VARIABLE_LANGUAGE],
+                                       "locale.LC_CTYPE",          &variables[VARIABLE_LC_CTYPE],
+@@ -59,6 +60,15 @@
+                         log_warning_errno(r, "Failed to read /etc/locale.conf: %m");
          }
  
 +        if (r <= 0 &&
@@ -69,15 +76,23 @@ diff -dur -x '*~' -x '*.orig' systemd-208.orig/src/core/locale-setup.c systemd-2
 +                        log_warning("Failed to read /etc/sysconfig/i18n: %s", strerror(-r));
 +        }
 +
-         add = NULL;
-         for (i = 0; i < _VARIABLE_MAX; i++) {
+         for (i = 0; i < _VARIABLE_LC_MAX; i++) {
                  char *s;
---- a/src/basic/time-util.c~   2016-11-03 18:16:42.000000000 +0100
-+++ b/src/basic/time-util.c    2016-11-12 19:54:28.457197174 +0100
-@@ -1290,8 +1290,16 @@ int get_timezone(char **tz) {
-         e = path_startswith(t, "/usr/share/zoneinfo/");
-         if (!e)
-                 e = path_startswith(t, "../usr/share/zoneinfo/");
+--- systemd-240/src/basic/time-util.c.orig     2019-01-13 09:27:36.718995151 +0100
++++ systemd-240/src/basic/time-util.c  2019-01-13 09:31:12.275659356 +0100
+@@ -14,6 +14,7 @@
+ #include <unistd.h>
+ #include "alloc-util.h"
++#include "env-file.h"
+ #include "fd-util.h"
+ #include "fileio.h"
+ #include "fs-util.h"
+@@ -1386,8 +1387,16 @@
+                 return r; /* returns EINVAL if not a symlink */
+         e = PATH_STARTSWITH_SET(t, "/usr/share/zoneinfo/", "../usr/share/zoneinfo/");
 -        if (!e)
 -                return -EINVAL;
 +        if (!e) {
@@ -89,9 +104,9 @@ diff -dur -x '*~' -x '*.orig' systemd-208.orig/src/core/locale-setup.c systemd-2
 +                                log_warning("Failed to read /etc/sysconfig/timezone: %s", strerror(-r));
 +                        return -EINVAL;
 +                }
-+        }
++      }
  
-         if (!timezone_is_valid(e))
+         if (!timezone_is_valid(e, LOG_DEBUG))
                  return -EINVAL;
 diff -dur -x '*~' -x '*.orig' systemd-208.orig/src/vconsole/vconsole-setup.c systemd-208/src/vconsole/vconsole-setup.c
 --- systemd-208.orig/src/vconsole/vconsole-setup.c     2013-08-13 22:02:47.000000000 +0200
index 8902fabc7e009f3d1bc028e58b42043ac88a92eb..2041c7b31b9688e175179d728b844441427f0f11 100644 (file)
@@ -1,6 +1,6 @@
---- systemd-235/meson.build~   2017-10-06 10:18:04.000000000 +0200
-+++ systemd-235/meson.build    2017-10-21 15:12:47.202404998 +0200
-@@ -200,6 +201,7 @@ substs.set('includedir',
+--- systemd-240/meson.build.orig       2018-12-21 19:53:33.000000000 +0100
++++ systemd-240/meson.build    2019-01-13 10:00:36.555639211 +0100
+@@ -243,6 +243,7 @@
  substs.set('pkgsysconfdir',                                   pkgsysconfdir)
  substs.set('bindir',                                          bindir)
  substs.set('rootbindir',                                      rootbindir)
@@ -8,13 +8,13 @@
  substs.set('rootlibexecdir',                                  rootlibexecdir)
  substs.set('systemunitdir',                                   systemunitdir)
  substs.set('userunitdir',                                     userunitdir)
-@@ -2164,7 +2166,7 @@ exe = executable('udevadm',
+@@ -2650,7 +2651,7 @@
                                   libblkid],
                   install_rpath : udev_rpath,
                   install : true,
 -                 install_dir : rootbindir)
 +                 install_dir : rootsbindir)
- public_programs += [exe]
+ public_programs += exe
  
  executable('systemd-shutdown',
 --- systemd-183/units/systemd-udev-trigger.service.in~ 2012-05-21 15:14:51.642981269 +0200
This page took 0.193955 seconds and 4 git commands to generate.