upgrade systemd and systemd-boot to 239
Subsystems (2)
v6 cover upgrade systemd and systemd-boot to 239
Changes in V6:
* Backport 0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch to solve race condition
Changes in V5:
* Add to ${PN}-container ${datadir}/dbus-1/system.d/org.freedesktop.import1.conf to avoid QA issue
Changes in V4:
* Squash fixes into the upgrade patch
Changes in V3:
* Change SRC_URI back to include musl patches unconditionally
Changes in V2:
* Update commit message to detail why dropping 0001-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
* Remove -Dfirmware-path option
* Fix segment fault in case of musl
* Workaround race condition in rpm.py test case
The following changes since commit 05c32d2de1ee4681cc78cb107a158e9ab22c9619:
oeqa/selftest/wic: Split tests into two class groups (2018-07-16 13:21:35 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/systemd-239
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-239
Chen Qi (2):
systemd: upgrade to 239
systemd-boot: upgrade to 239
.../{systemd-boot_237.bb => systemd-boot_239.bb} | 5 +-
meta/recipes-core/systemd/systemd.inc | 2 +-
...01-Also-check-i386-i586-and-i686-for-ia32.patch | 28 --
...rt_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch | 34 --
...ck-protector-flags-to-workaround-musl-bui.patch | 28 +-
...nv-when-secure-versions-are-not-available.patch | 10 +-
...-install-dependency-links-at-install-tim.patch} | 22 +-
....c-Change-the-default-device-timeout-to-2.patch | 19 +-
...arse_uid-when-unmounting-user-runtime-dir.patch | 110 ++++++
...=> 0002-don-t-use-glibc-specific-qsort_r.patch} | 108 +++++-
...per-instead-of-looking-for-relative-opti.patch} | 16 +-
...n_t-is-glibc-specific-use-raw-signature-.patch} | 25 +-
...003-implment-systemd-sysv-install-for-OE.patch} | 10 +-
...lback-parse_printf_format-implementation.patch} | 49 +--
...patch => 0004-rules-whitelist-hd-devices.patch} | 8 +-
...-Make-root-s-home-directory-configurable.patch} | 34 +-
...clude-gshadow-only-if-ENABLE_GSHADOW-is-1.patch | 29 ++
...> 0006-remove-nobody-user-group-checking.patch} | 40 +--
...sic-missing.h-check-for-missing-strndupa.patch} | 66 ++--
...patch => 0007-Include-netinet-if_ether.h.patch} | 51 +--
...evert-rules-remove-firmware-loading-rules.patch | 28 --
...es-watch-metadata-changes-in-ide-devices.patch} | 6 +-
...e-nss-tests-if-nss-systemd-is-not-enable.patch} | 16 +-
...-remove-userspace-firmware-loading-suppor.patch | 377 ---------------------
...f-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch} | 86 +++--
...=> 0009-add-missing-FTW_-macros-for-musl.patch} | 12 +-
...es-Build-conditionally-when-ENABLE_MYHOS.patch} | 10 +-
.../0009-remove-duplicate-include-uchar.h.patch | 41 ---
.../0010-check-for-uchar.h-in-meson.build.patch | 45 ---
...l-don-t-fail-if-libc-doesn-t-support-IDN.patch} | 17 +-
...ssing.h-check-for-missing-__compar_fn_t-.patch} | 23 +-
...of-__register_atfork-for-non-glibc-build.patch} | 18 +-
...> 0013-Use-uintmax_t-for-handling-rlim_t.patch} | 33 +-
...ULONG_LONG_MAX-definition-in-case-of-mus.patch} | 12 +-
...xdecoct.c-Include-missing.h-for-strndupa.patch} | 12 +-
...c-Disable-tests-for-missing-typedefs-in-.patch} | 14 +-
...ss-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch} | 20 +-
...-compatible-basename-for-non-glibc-syste.patch} | 11 +-
...-check-for-missing-canonicalize_file_name.patch | 47 ---
...ble-buffering-when-writing-to-oom_score_a.patch | 39 +++
...-XSI-compliant-strerror_r-from-GNU-specif.patch | 62 ++++
...PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch | 43 ---
meta/recipes-core/systemd/systemd/0032-memfd.patch | 272 ---------------
...cros-rename-noreturn-into-_noreturn_-8456.patch | 203 -----------
...truncation-compile-failure-by-typecasting.patch | 173 ----------
...ix-build-with-gcc8-Werror-format-truncati.patch | 53 ---
meta/recipes-core/systemd/systemd/libmount.patch | 75 ----
.../systemd/{systemd_237.bb => systemd_239.bb} | 126 ++++---
48 files changed, 735 insertions(+), 1833 deletions(-)
rename meta/recipes-core/systemd/{systemd-boot_237.bb => systemd-boot_239.bb} (91%)
delete mode 100644 meta/recipes-core/systemd/systemd/0001-Also-check-i386-i586-and-i686-for-ia32.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0001-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
rename meta/recipes-core/systemd/systemd/{0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch => 0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch} (83%)
create mode 100644 meta/recipes-core/systemd/systemd/0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch
rename meta/recipes-core/systemd/systemd/{0022-don-t-use-glibc-specific-qsort_r.patch => 0002-don-t-use-glibc-specific-qsort_r.patch} (52%)
rename meta/recipes-core/systemd/systemd/{0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch => 0002-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch} (83%)
rename meta/recipes-core/systemd/systemd/{0024-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch => 0003-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch} (47%)
rename meta/recipes-core/systemd/systemd/{0004-implment-systemd-sysv-install-for-OE.patch => 0003-implment-systemd-sysv-install-for-OE.patch} (86%)
rename meta/recipes-core/systemd/systemd/{0013-add-fallback-parse_printf_format-implementation.patch => 0004-add-fallback-parse_printf_format-implementation.patch} (93%)
rename meta/recipes-core/systemd/systemd/{0005-rules-whitelist-hd-devices.patch => 0004-rules-whitelist-hd-devices.patch} (89%)
rename meta/recipes-core/systemd/systemd/{0006-Make-root-s-home-directory-configurable.patch => 0005-Make-root-s-home-directory-configurable.patch} (70%)
create mode 100644 meta/recipes-core/systemd/systemd/0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch
rename meta/recipes-core/systemd/systemd/{0027-remove-nobody-user-group-checking.patch => 0006-remove-nobody-user-group-checking.patch} (40%)
rename meta/recipes-core/systemd/systemd/{0014-src-basic-missing.h-check-for-missing-strndupa.patch => 0006-src-basic-missing.h-check-for-missing-strndupa.patch} (73%)
rename meta/recipes-core/systemd/systemd/{0017-Include-netinet-if_ether.h.patch => 0007-Include-netinet-if_ether.h.patch} (68%)
delete mode 100644 meta/recipes-core/systemd/systemd/0007-Revert-rules-remove-firmware-loading-rules.patch
rename meta/recipes-core/systemd/systemd/{0012-rules-watch-metadata-changes-in-ide-devices.patch => 0007-rules-watch-metadata-changes-in-ide-devices.patch} (92%)
rename meta/recipes-core/systemd/systemd/{0019-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch => 0008-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch} (60%)
delete mode 100644 meta/recipes-core/systemd/systemd/0008-Revert-udev-remove-userspace-firmware-loading-suppor.patch
rename meta/recipes-core/systemd/systemd/{0015-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch => 0008-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch} (67%)
rename meta/recipes-core/systemd/systemd/{0028-add-missing-FTW_-macros-for-musl.patch => 0009-add-missing-FTW_-macros-for-musl.patch} (79%)
rename meta/recipes-core/systemd/systemd/{0029-nss-mymachines-Build-conditionally-when-ENABLE_MYHOS.patch => 0009-nss-mymachines-Build-conditionally-when-ENABLE_MYHOS.patch} (84%)
delete mode 100644 meta/recipes-core/systemd/systemd/0009-remove-duplicate-include-uchar.h.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0010-check-for-uchar.h-in-meson.build.patch
rename meta/recipes-core/systemd/systemd/{0011-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch => 0010-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch} (68%)
rename meta/recipes-core/systemd/systemd/{0016-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch => 0011-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch} (63%)
rename meta/recipes-core/systemd/systemd/{0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch => 0012-fix-missing-of-__register_atfork-for-non-glibc-build.patch} (75%)
rename meta/recipes-core/systemd/systemd/{0026-Use-uintmax_t-for-handling-rlim_t.patch => 0013-Use-uintmax_t-for-handling-rlim_t.patch} (77%)
rename meta/recipes-core/systemd/systemd/{0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch => 0014-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch} (66%)
rename meta/recipes-core/systemd/systemd/{0020-test-hexdecoct.c-Include-missing.h-for-strndupa.patch => 0015-test-hexdecoct.c-Include-missing.h-for-strndupa.patch} (70%)
rename meta/recipes-core/systemd/systemd/{0021-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch => 0016-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch} (73%)
rename meta/recipes-core/systemd/systemd/{0023-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch => 0017-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch} (89%)
rename meta/recipes-core/systemd/systemd/{0035-Define-glibc-compatible-basename-for-non-glibc-syste.patch => 0018-Define-glibc-compatible-basename-for-non-glibc-syste.patch} (78%)
delete mode 100644 meta/recipes-core/systemd/systemd/0018-check-for-missing-canonicalize_file_name.patch
create mode 100644 meta/recipes-core/systemd/systemd/0019-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
create mode 100644 meta/recipes-core/systemd/systemd/0020-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0025-Define-_PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0032-memfd.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0033-basic-macros-rename-noreturn-into-_noreturn_-8456.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0034-Fix-format-truncation-compile-failure-by-typecasting.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0036-time-util-fix-build-with-gcc8-Werror-format-truncati.patch
delete mode 100644 meta/recipes-core/systemd/systemd/libmount.patch
rename meta/recipes-core/systemd/{systemd_237.bb => systemd_239.bb} (86%)Signature · 1 line
1.9.1
PATCH v6 1/2 systemd: upgrade to 239
Upgrade systemd to 239.
1. Patch Changes
* Rebased Patches 0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch 0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch 0006-Make-root-s-home-directory-configurable.patch 0027-remove-nobody-user-group-checking.patch 0011-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch 0013-add-fallback-parse_printf_format-implementation.patch 0014-src-basic-missing.h-check-for-missing-strndupa.patch 0015-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch 0016-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch 0017-Include-netinet-if_ether.h.patch 0019-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch 0022-don-t-use-glibc-specific-qsort_r.patch 0024-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch 0026-Use-uintmax_t-for-handling-rlim_t.patch 0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch 0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch 0001-core-device.c-Change-the-default-device-timeout-to-2.patch 0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch
* Dropped Patches and Reasons 0001-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch This patch is dropped because the problem has been fixed by binutils upstream. And this workaround could be dropped.
https://sourceware.org/bugzilla/show_bug.cgi?id=18548
0007-Revert-rules-remove-firmware-loading-rules.patch 0008-Revert-udev-remove-userspace-firmware-loading-suppor.patch
These two patches are dropped because they are for kernel < 3.7. But the current minimal requirement of kernel to build systemd is as below.
REQUIREMENTS:
Linux kernel >= 3.13
Linux kernel >= 4.2 for unified cgroup hierarchy support
So these two patches no long make any sense.
Also remove non-exist firmware-path option
0009-remove-duplicate-include-uchar.h.patch 0010-check-for-uchar.h-in-meson.build.patch
These two patches are dropped because musl has implemented uchar.h. See commit below from musl repo.
"""
ab9672ae73248f51e30f4553c4b8878525e46383 implement uchar.h (C11 UTF-16/32 conversion) interfaces """
0018-check-for-missing-canonicalize_file_name.patch
The above patch is dropped because current systemd does not need canonicalize_file_name.
0025-Define-_PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch
The above patch is dropped because utmp makes no sense in musl. Check code below from musl.
include/utmp.h:#define _PATH_UTMP "/dev/null/utmp" And utmp PACKAGECONFIG has been explicitly disabled for musl. So we don't need this patch.
0032-memfd.patch 0033-basic-macros-rename-noreturn-into-_noreturn_-8456.patch libmount.patch 0034-Fix-format-truncation-compile-failure-by-typecasting.patch
The above patches are dropped because they are backported patches. And current systemd has contained these patches.
0036-time-util-fix-build-with-gcc8-Werror-format-truncati.patch
The above patch is dropped because it has been merged and is now in new version.
* Newly Added Patch 0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch This patch is added to fix build for musl.
0019-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
This patch is added to fix the following error which caused system unable to boot up.
systemd-udevd.service: Failed to adjust OOM setting: Invalid argument dbus.service: Failed to adjust OOM setting: Invalid argument
0020-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch
This patch is added to fix segment fault error on musl systems.
0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch
This patch is backported to solve a race condition between [email protected] stop and user deletion.
2. PACKAGECONFIG and Dependency Changes
* Add a new PACKAGECONFIG item 'gshadow'. Enable it by default for glibc but disable it by default for musl. This is because musl does not provide gshadow.h.
* Add a new PACKAGECONFIG item 'portabled'. Default to disable it because it's still experimental, according to the announcement letter. """
Currently, the support is still experimental, but this is expected to change soon. Reflecting this experimental state, the "portablectl" binary is not installed into /usr/bin yet.
"""
* Change 'kmod' from a hard dependency to a PACKAGECONFIG item. Default to enable it.
* Change 'acl' from a hard dependency to a PACKAGECONFIG item. Default to enable it.
* Remove 'readline' from DEPENDS. systemd does not need it.
* Remove 'libcgroup' from DEPENDS. The dependency on libcgroup has been removed from systemd a long time ago. We now remove this unnecessary dependency from DEPENDS.
3. update-alternatives changes
The utilities like shutdown, poweroff, etc. are now created as symlinks at do_install. So there's no need to use update-alternatives mechanism anymore to create the symlinks now. In addtion, I don't think we now support multiple init systems at one running system, so there's really no need to use update-alternatives mechanism here.
Also update the FILES_${PN} to include these files to avoid QA issue.---
meta/recipes-core/systemd/systemd.inc | 2 +-
...rt_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch | 34 --
...ck-protector-flags-to-workaround-musl-bui.patch | 28 +-
...nv-when-secure-versions-are-not-available.patch | 10 +-
...-install-dependency-links-at-install-tim.patch} | 22 +-
....c-Change-the-default-device-timeout-to-2.patch | 19 +-
...arse_uid-when-unmounting-user-runtime-dir.patch | 110 ++++++
...=> 0002-don-t-use-glibc-specific-qsort_r.patch} | 108 +++++-
...per-instead-of-looking-for-relative-opti.patch} | 16 +-
...n_t-is-glibc-specific-use-raw-signature-.patch} | 25 +-
...003-implment-systemd-sysv-install-for-OE.patch} | 10 +-
...lback-parse_printf_format-implementation.patch} | 49 +--
...patch => 0004-rules-whitelist-hd-devices.patch} | 8 +-
...-Make-root-s-home-directory-configurable.patch} | 34 +-
...clude-gshadow-only-if-ENABLE_GSHADOW-is-1.patch | 29 ++
...> 0006-remove-nobody-user-group-checking.patch} | 40 +--
...sic-missing.h-check-for-missing-strndupa.patch} | 66 ++--
...patch => 0007-Include-netinet-if_ether.h.patch} | 51 +--
...evert-rules-remove-firmware-loading-rules.patch | 28 --
...es-watch-metadata-changes-in-ide-devices.patch} | 6 +-
...e-nss-tests-if-nss-systemd-is-not-enable.patch} | 16 +-
...-remove-userspace-firmware-loading-suppor.patch | 377 ---------------------
...f-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch} | 86 +++--
...=> 0009-add-missing-FTW_-macros-for-musl.patch} | 12 +-
...es-Build-conditionally-when-ENABLE_MYHOS.patch} | 10 +-
.../0009-remove-duplicate-include-uchar.h.patch | 41 ---
.../0010-check-for-uchar.h-in-meson.build.patch | 45 ---
...l-don-t-fail-if-libc-doesn-t-support-IDN.patch} | 17 +-
...ssing.h-check-for-missing-__compar_fn_t-.patch} | 23 +-
...of-__register_atfork-for-non-glibc-build.patch} | 18 +-
...> 0013-Use-uintmax_t-for-handling-rlim_t.patch} | 33 +-
...ULONG_LONG_MAX-definition-in-case-of-mus.patch} | 12 +-
...xdecoct.c-Include-missing.h-for-strndupa.patch} | 12 +-
...c-Disable-tests-for-missing-typedefs-in-.patch} | 14 +-
...ss-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch} | 20 +-
...-compatible-basename-for-non-glibc-syste.patch} | 11 +-
...-check-for-missing-canonicalize_file_name.patch | 47 ---
...ble-buffering-when-writing-to-oom_score_a.patch | 39 +++
...-XSI-compliant-strerror_r-from-GNU-specif.patch | 62 ++++
...PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch | 43 ---
meta/recipes-core/systemd/systemd/0032-memfd.patch | 272 ---------------
...cros-rename-noreturn-into-_noreturn_-8456.patch | 203 -----------
...truncation-compile-failure-by-typecasting.patch | 173 ----------
...ix-build-with-gcc8-Werror-format-truncati.patch | 53 ---
meta/recipes-core/systemd/systemd/libmount.patch | 75 ----
.../systemd/{systemd_237.bb => systemd_239.bb} | 126 ++++---
46 files changed, 733 insertions(+), 1802 deletions(-)
delete mode 100644 meta/recipes-core/systemd/systemd/0001-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
rename meta/recipes-core/systemd/systemd/{0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch => 0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch} (83%)
create mode 100644 meta/recipes-core/systemd/systemd/0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch
rename meta/recipes-core/systemd/systemd/{0022-don-t-use-glibc-specific-qsort_r.patch => 0002-don-t-use-glibc-specific-qsort_r.patch} (52%)
rename meta/recipes-core/systemd/systemd/{0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch => 0002-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch} (83%)
rename meta/recipes-core/systemd/systemd/{0024-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch => 0003-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch} (47%)
rename meta/recipes-core/systemd/systemd/{0004-implment-systemd-sysv-install-for-OE.patch => 0003-implment-systemd-sysv-install-for-OE.patch} (86%)
rename meta/recipes-core/systemd/systemd/{0013-add-fallback-parse_printf_format-implementation.patch => 0004-add-fallback-parse_printf_format-implementation.patch} (93%)
rename meta/recipes-core/systemd/systemd/{0005-rules-whitelist-hd-devices.patch => 0004-rules-whitelist-hd-devices.patch} (89%)
rename meta/recipes-core/systemd/systemd/{0006-Make-root-s-home-directory-configurable.patch => 0005-Make-root-s-home-directory-configurable.patch} (70%)
create mode 100644 meta/recipes-core/systemd/systemd/0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch
rename meta/recipes-core/systemd/systemd/{0027-remove-nobody-user-group-checking.patch => 0006-remove-nobody-user-group-checking.patch} (40%)
rename meta/recipes-core/systemd/systemd/{0014-src-basic-missing.h-check-for-missing-strndupa.patch => 0006-src-basic-missing.h-check-for-missing-strndupa.patch} (73%)
rename meta/recipes-core/systemd/systemd/{0017-Include-netinet-if_ether.h.patch => 0007-Include-netinet-if_ether.h.patch} (68%)
delete mode 100644 meta/recipes-core/systemd/systemd/0007-Revert-rules-remove-firmware-loading-rules.patch
rename meta/recipes-core/systemd/systemd/{0012-rules-watch-metadata-changes-in-ide-devices.patch => 0007-rules-watch-metadata-changes-in-ide-devices.patch} (92%)
rename meta/recipes-core/systemd/systemd/{0019-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch => 0008-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch} (60%)
delete mode 100644 meta/recipes-core/systemd/systemd/0008-Revert-udev-remove-userspace-firmware-loading-suppor.patch
rename meta/recipes-core/systemd/systemd/{0015-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch => 0008-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch} (67%)
rename meta/recipes-core/systemd/systemd/{0028-add-missing-FTW_-macros-for-musl.patch => 0009-add-missing-FTW_-macros-for-musl.patch} (79%)
rename meta/recipes-core/systemd/systemd/{0029-nss-mymachines-Build-conditionally-when-ENABLE_MYHOS.patch => 0009-nss-mymachines-Build-conditionally-when-ENABLE_MYHOS.patch} (84%)
delete mode 100644 meta/recipes-core/systemd/systemd/0009-remove-duplicate-include-uchar.h.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0010-check-for-uchar.h-in-meson.build.patch
rename meta/recipes-core/systemd/systemd/{0011-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch => 0010-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch} (68%)
rename meta/recipes-core/systemd/systemd/{0016-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch => 0011-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch} (63%)
rename meta/recipes-core/systemd/systemd/{0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch => 0012-fix-missing-of-__register_atfork-for-non-glibc-build.patch} (75%)
rename meta/recipes-core/systemd/systemd/{0026-Use-uintmax_t-for-handling-rlim_t.patch => 0013-Use-uintmax_t-for-handling-rlim_t.patch} (77%)
rename meta/recipes-core/systemd/systemd/{0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch => 0014-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch} (66%)
rename meta/recipes-core/systemd/systemd/{0020-test-hexdecoct.c-Include-missing.h-for-strndupa.patch => 0015-test-hexdecoct.c-Include-missing.h-for-strndupa.patch} (70%)
rename meta/recipes-core/systemd/systemd/{0021-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch => 0016-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch} (73%)
rename meta/recipes-core/systemd/systemd/{0023-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch => 0017-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch} (89%)
rename meta/recipes-core/systemd/systemd/{0035-Define-glibc-compatible-basename-for-non-glibc-syste.patch => 0018-Define-glibc-compatible-basename-for-non-glibc-syste.patch} (78%)
delete mode 100644 meta/recipes-core/systemd/systemd/0018-check-for-missing-canonicalize_file_name.patch
create mode 100644 meta/recipes-core/systemd/systemd/0019-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
create mode 100644 meta/recipes-core/systemd/systemd/0020-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0025-Define-_PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0032-memfd.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0033-basic-macros-rename-noreturn-into-_noreturn_-8456.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0034-Fix-format-truncation-compile-failure-by-typecasting.patch
delete mode 100644 meta/recipes-core/systemd/systemd/0036-time-util-fix-build-with-gcc8-Werror-format-truncati.patch
delete mode 100644 meta/recipes-core/systemd/systemd/libmount.patch
rename meta/recipes-core/systemd/{systemd_237.bb => systemd_239.bb} (86%)meta/recipes-core/systemd/systemd.inc +1 -1
@@ -14,7 +14,7 @@ LICENSE = "GPLv2 & LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" -SRCREV = "46659f7deb962f55c728e70597e37c2a3ab6326d" +SRCREV = "de7436b02badc82200dc127ff190b8155769b8e7" SRC_URI = "git://github.com/systemd/systemd.git;protocol=git"
meta/recipes-core/systemd/systemd/0001-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From 687a5af8dc5d38f918a6ce08fed5297234bf8346 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Fri, 2 Mar 2018 18:00:17 -0800 -Subject: [PATCH] Hide __start_BUS_ERROR_MAP and __stop_BUS_ERROR_MAP - -for currently unknown reasons they get exported to the shared libries -even without being listed in the sym file - -Signed-off-by: Khem Raj <[email protected]> ---- - -Upstream-Status: Pending [ Conditional on master needing this, 234 does need it ] - - src/libsystemd/sd-bus/bus-error.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/libsystemd/sd-bus/bus-error.c b/src/libsystemd/sd-bus/bus-error.c -index 378f7a377..49d797abd 100644 ---- a/src/libsystemd/sd-bus/bus-error.c -+++ b/src/libsystemd/sd-bus/bus-error.c -@@ -71,8 +71,8 @@ BUS_ERROR_MAP_ELF_REGISTER const sd_bus_error_map bus_standard_errors[] = { - }; - - /* GCC maps this magically to the beginning and end of the BUS_ERROR_MAP section */ --extern const sd_bus_error_map __start_BUS_ERROR_MAP[]; --extern const sd_bus_error_map __stop_BUS_ERROR_MAP[]; -+extern const sd_bus_error_map __start_BUS_ERROR_MAP[] _hidden_; -+extern const sd_bus_error_map __stop_BUS_ERROR_MAP[] _hidden_; - - /* Additional maps registered with sd_bus_error_add_map() are in this - * NULL terminated array */ --- -2.16.2 -
meta/recipes-core/systemd/systemd/0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch +14 -14
@@ -1,6 +1,6 @@ -From e361f6b4aefae57efff7e457df8db4d1067bec23 Mon Sep 17 00:00:00 2001 +From 9e3816bcaa36e1a11647ca0cf4f8044449c77fe0 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> -Date: Wed, 28 Feb 2018 21:50:23 -0800 +Date: Mon, 2 Jul 2018 15:28:22 +0800 Subject: [PATCH] Remove fstack-protector flags to workaround musl build Remove fstack-protector and fstack-protector-strong flags to fix
@@ -8,7 +8,7 @@ the following build failure for qemux86 and qemuppc with musl. undefined reference to `__stack_chk_fail_local' -Upstream-Status: Inappropriate [OE Specific] +Upstream-Status: Inappropriate [musl Specific] Signed-off-by: Chen Qi <[email protected]> ---
@@ -16,18 +16,18 @@ Signed-off-by: Chen Qi <[email protected]> 1 file changed, 2 deletions(-) diff --git a/meson.build b/meson.build -index 7610ab12b..591b9cbab 100644 +index f432ea072..a734a295c 100644 --- a/meson.build +++ b/meson.build -@@ -329,8 +329,6 @@ foreach arg : ['-Wextra', - '-fdiagnostics-show-option', - '-fno-strict-aliasing', - '-fvisibility=hidden', -- '-fstack-protector', -- '-fstack-protector-strong', - '--param=ssp-buffer-size=4', - ] - if cc.has_argument(arg) +@@ -333,8 +333,6 @@ possible_cc_flags = [ + '-fdiagnostics-show-option', + '-fno-strict-aliasing', + '-fvisibility=hidden', +- '-fstack-protector', +- '-fstack-protector-strong', + '--param=ssp-buffer-size=4', + ] + -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch +5 -5
@@ -1,7 +1,7 @@ -From b1192a6e171413291d9d64fafc04773c6bbc9cab Mon Sep 17 00:00:00 2001 +From 6dd136512896979feb6883a16226d640a7e5ca74 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> Date: Fri, 23 Feb 2018 10:04:48 +0800 -Subject: [PATCH 01/31] Use getenv when secure versions are not available +Subject: [PATCH 01/19] Use getenv when secure versions are not available musl doesnt implement secure version, so we default to it if configure does not detect a secure implementation
@@ -16,10 +16,10 @@ Signed-off-by: Chen Qi <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/missing.h b/src/basic/missing.h -index 1280e6c41..39c1fb700 100644 +index 71a07d057..0e33abb9f 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h -@@ -605,7 +605,7 @@ struct btrfs_ioctl_quota_ctl_args { +@@ -592,7 +592,7 @@ struct btrfs_ioctl_quota_ctl_args { # if HAVE___SECURE_GETENV # define secure_getenv __secure_getenv # else
@@ -29,5 +29,5 @@ index 1280e6c41..39c1fb700 100644 #endif -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch renamed from meta/recipes-core/systemd/systemd/0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch +11 -11
@@ -1,7 +1,7 @@ -From c93eb6cdec03f5e243e59e95dc49273fcb90e7c1 Mon Sep 17 00:00:00 2001 +From 87dd61be2e28e78ce4f9f173794812e6c2d904d1 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> -Date: Fri, 23 Feb 2018 10:23:40 +0800 -Subject: [PATCH 02/31] binfmt: Don't install dependency links at install time +Date: Wed, 27 Jun 2018 16:01:22 +0800 +Subject: [PATCH 1/9] binfmt: Don't install dependency links at install time for the binfmt services use [Install] blocks so that they get created when the service is enabled
@@ -23,10 +23,10 @@ Signed-off-by: Chen Qi <[email protected]> 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/units/meson.build b/units/meson.build -index 814ee7885..49ace0d0f 100644 +index e4ac6ced6..698734e44 100644 --- a/units/meson.build +++ b/units/meson.build -@@ -60,8 +60,7 @@ units = [ +@@ -46,8 +46,7 @@ units = [ ['poweroff.target', '', 'runlevel0.target'], ['printer.target', ''],
@@ -36,7 +36,7 @@ index 814ee7885..49ace0d0f 100644 ['proc-sys-fs-binfmt_misc.mount', 'ENABLE_BINFMT'], ['reboot.target', '', 'runlevel6.target ctrl-alt-del.target'], -@@ -144,8 +143,7 @@ in_units = [ +@@ -130,8 +129,7 @@ in_units = [ ['systemd-ask-password-console.service', ''], ['systemd-ask-password-wall.service', ''], ['[email protected]', 'ENABLE_BACKLIGHT'],
@@ -58,18 +58,18 @@ index 30a6bc991..4231f3b70 100644 +[Install] +WantedBy=sysinit.target diff --git a/units/systemd-binfmt.service.in b/units/systemd-binfmt.service.in -index df9396d89..0687f4648 100644 +index e940c7c9a..6be7f5cc9 100644 --- a/units/systemd-binfmt.service.in +++ b/units/systemd-binfmt.service.in -@@ -13,6 +13,7 @@ Documentation=man:systemd-binfmt.service(8) man:binfmt.d(5) - Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt +@@ -14,6 +14,7 @@ Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.htm + Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems DefaultDependencies=no Conflicts=shutdown.target +Wants=proc-sys-fs-binfmt_misc.automount After=proc-sys-fs-binfmt_misc.automount Before=sysinit.target shutdown.target ConditionPathIsReadWrite=/proc/sys/ -@@ -27,3 +28,6 @@ Type=oneshot +@@ -28,3 +29,6 @@ Type=oneshot RemainAfterExit=yes ExecStart=@rootlibexecdir@/systemd-binfmt TimeoutSec=90s
@@ -77,5 +77,5 @@ index df9396d89..0687f4648 100644 +[Install] +WantedBy=sysinit.target -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0001-core-device.c-Change-the-default-device-timeout-to-2.patch +12 -7
@@ -1,7 +1,9 @@ -From 7844e070745611a52e355b73e7890f360dd540d0 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 14 Dec 2015 04:09:19 +0000 +From 2925c0c3b6ce4056622b86c1c61ee14add430790 Mon Sep 17 00:00:00 2001 +From: Chen Qi <[email protected]> +Date: Thu, 28 Jun 2018 10:56:29 +0800 Subject: [PATCH] core/device.c: Change the default device timeout to 240 sec. + MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 + Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
@@ -10,16 +12,16 @@ Upstream-Status: Inappropriate [Specific case QEMU/AB] Signed-off-by: Aníbal Limón <[email protected]> Signed-off-by: Khem Raj <[email protected]> - +Signed-off-by: Chen Qi <[email protected]> --- src/core/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/device.c b/src/core/device.c -index a43664d3b..4b16a8aec 100644 +index a2d00a0fb..f26e55ebb 100644 --- a/src/core/device.c +++ b/src/core/device.c -@@ -113,7 +113,7 @@ static void device_init(Unit *u) { +@@ -95,7 +95,7 @@ static void device_init(Unit *u) { * indefinitely for plugged in devices, something which cannot * happen for the other units since their operations time out * anyway. */
@@ -27,4 +29,7 @@ index a43664d3b..4b16a8aec 100644 + u->job_running_timeout = (240 * USEC_PER_SEC); u->ignore_on_isolate = true; - } + +-- +2.11.0 +
meta/recipes-core/systemd/systemd/0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch new file +110 -0
110 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0002-don-t-use-glibc-specific-qsort_r.patch renamed from meta/recipes-core/systemd/systemd/0022-don-t-use-glibc-specific-qsort_r.patch +93 -15
157 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0002-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch renamed from meta/recipes-core/systemd/systemd/0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch +8 -8
@@ -1,8 +1,8 @@ -From 8b9d194e956848e0d1fb35ef2fba714b2691ebe6 Mon Sep 17 00:00:00 2001 +From 6e62be87a2722fbe531310a1b052c1301bdf06fb Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> -Date: Wed, 28 Feb 2018 20:47:49 -0800 -Subject: [PATCH 03/31] use lnr wrapper instead of looking for --relative - option for ln +Date: Wed, 27 Jun 2018 16:09:24 +0800 +Subject: [PATCH 2/9] use lnr wrapper instead of looking for --relative option + for ln Remove file manually to avoid the 'File Exists' error when creating symlink. This is because the original 'ln' command uses '-f' option.
@@ -18,15 +18,15 @@ Signed-off-by: Chen Qi <[email protected]> 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build -index 36a62d280..7347ea880 100644 +index 04331dd41..6d5edcb4e 100644 --- a/meson.build +++ b/meson.build -@@ -570,10 +570,6 @@ endforeach +@@ -558,10 +558,6 @@ endforeach conf.set_quoted('TELINIT', get_option('telinit-path')) -if run_command('ln', '--relative', '--help').returncode() != 0 -- error('ln does not support --relative') +- error('ln does not support --relative (added in coreutils 8.16)') -endif - ############################################################
@@ -60,5 +60,5 @@ index 70f7172ae..a42666aac 100755 + lnr "$unitpath" "$dir" +fi -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0003-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch renamed from meta/recipes-core/systemd/systemd/0024-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch +17 -8
@@ -1,23 +1,32 @@ -From 76c71aa889155f29be1d5d2b74a2c4faa5909c8c Mon Sep 17 00:00:00 2001 +From e965e748c7030df0709e63128db2f023540a06ba Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 12 Sep 2015 18:53:31 +0000 -Subject: [PATCH 24/31] comparison_fn_t is glibc specific, use raw signature in +Subject: [PATCH 03/19] comparison_fn_t is glibc specific, use raw signature in function pointer make it work with musl where comparison_fn_t is not provided -Upstream-Status: Pending +Upstream-Status: Inappropriate [musl specific] Signed-off-by: Khem Raj <[email protected]> --- - src/basic/util.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + src/basic/util.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basic/util.h b/src/basic/util.h -index 9d1b10756..12db53a93 100644 +index 40eaf518c..c58392397 100644 --- a/src/basic/util.h +++ b/src/basic/util.h -@@ -95,7 +95,7 @@ void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size, +@@ -77,7 +77,7 @@ void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size, + * that only if nmemb > 0. + */ + static inline void* bsearch_safe(const void *key, const void *base, +- size_t nmemb, size_t size, comparison_fn_t compar) { ++ size_t nmemb, size_t size, int (*compar)(const void *, const void *)) { + if (nmemb <= 0) + return NULL; + +@@ -89,7 +89,7 @@ static inline void* bsearch_safe(const void *key, const void *base, * Normal qsort requires base to be nonnull. Here were require * that only if nmemb > 0. */
@@ -27,5 +36,5 @@ index 9d1b10756..12db53a93 100644 return; -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0003-implment-systemd-sysv-install-for-OE.patch renamed from meta/recipes-core/systemd/systemd/0004-implment-systemd-sysv-install-for-OE.patch +5 -5
@@ -1,7 +1,7 @@ -From 70d456fb21de2a80697fa364f08475339d6396c1 Mon Sep 17 00:00:00 2001 +From 0fcb6e646401205e17cc6c129441a49023c62cef Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sat, 5 Sep 2015 06:31:47 +0000 -Subject: [PATCH 04/31] implment systemd-sysv-install for OE +Subject: [PATCH 3/9] implment systemd-sysv-install for OE Use update-rc.d for enabling/disabling and status command to check the status of the sysv service
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/systemctl/systemd-sysv-install.SKELETON b/src/systemctl/systemd-sysv-install.SKELETON -index a53a3e622..5d877b06e 100755 +index 8c16cf999..9f078a121 100755 --- a/src/systemctl/systemd-sysv-install.SKELETON +++ b/src/systemctl/systemd-sysv-install.SKELETON -@@ -30,17 +30,17 @@ case "$1" in +@@ -32,17 +32,17 @@ case "$1" in enable) # call the command to enable SysV init script $NAME here # (consider optional $ROOT)
@@ -39,5 +39,5 @@ index a53a3e622..5d877b06e 100755 *) usage ;; -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0004-add-fallback-parse_printf_format-implementation.patch renamed from meta/recipes-core/systemd/systemd/0013-add-fallback-parse_printf_format-implementation.patch +25 -24
111 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0004-rules-whitelist-hd-devices.patch renamed from meta/recipes-core/systemd/systemd/0005-rules-whitelist-hd-devices.patch +4 -4
@@ -1,7 +1,7 @@ -From 7b5b34993002b4418ba8a3c2ae661a7337fd8ed0 Mon Sep 17 00:00:00 2001 +From 5d8128f3832fd11fd046d1d1ad86c4ee7bc1dff0 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Wed, 9 Nov 2016 19:41:13 -0800 -Subject: [PATCH 05/31] rules: whitelist hd* devices +Subject: [PATCH 4/9] rules: whitelist hd* devices qemu by default emulates IDE and the linux-yocto kernel(s) use CONFIG_IDE instead of the more modern libsata, so disks appear as
@@ -16,7 +16,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules -index 0de8cf3a1..d3f58f153 100644 +index 8ddb7577c..811e948ad 100644 --- a/rules/60-persistent-storage.rules +++ b/rules/60-persistent-storage.rules @@ -7,7 +7,7 @@ ACTION=="remove", GOTO="persistent_storage_end"
@@ -29,5 +29,5 @@ index 0de8cf3a1..d3f58f153 100644 # ignore partitions that span the entire disk TEST=="whole_disk", GOTO="persistent_storage_end" -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0005-Make-root-s-home-directory-configurable.patch renamed from meta/recipes-core/systemd/systemd/0006-Make-root-s-home-directory-configurable.patch +13 -21
@@ -1,7 +1,7 @@ -From 9d63227420f0c4f093c1c2066eafe2b6152070cf Mon Sep 17 00:00:00 2001 +From 8b82663aeeedf9ca58e3b97116b4c4da5229e0f5 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> -Date: Fri, 23 Feb 2018 13:47:37 +0800 -Subject: [PATCH 06/31] Make root's home directory configurable +Date: Wed, 27 Jun 2018 16:46:45 +0800 +Subject: [PATCH 5/9] Make root's home directory configurable OpenEmbedded has a configurable home directory for root. Allow systemd to be built using its idea of what root's home directory
@@ -16,15 +16,15 @@ Signed-off-by: Dan McGregor <[email protected]> Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Chen Qi <[email protected]> --- - meson.build | 8 ++++++++ + meson.build | 7 +++++++ meson_options.txt | 2 ++ - 2 files changed, 10 insertions(+) + 2 files changed, 9 insertions(+) diff --git a/meson.build b/meson.build -index 7347ea880..918101d6b 100644 +index 6d5edcb4e..323146fe1 100644 --- a/meson.build +++ b/meson.build -@@ -94,6 +94,11 @@ if rootlibdir == '' +@@ -89,6 +89,11 @@ if rootlibdir == '' rootlibdir = join_paths(rootprefixdir, libdir.split('/')[-1]) endif
@@ -36,7 +36,7 @@ index 7347ea880..918101d6b 100644 # Dirs of external packages pkgconfigdatadir = join_paths(datadir, 'pkgconfig') pkgconfiglibdir = join_paths(libdir, 'pkgconfig') -@@ -205,6 +210,7 @@ conf.set_quoted('UDEVLIBEXECDIR', udevlibexecdir) +@@ -210,6 +215,7 @@ conf.set_quoted('UDEVLIBEXECDIR', udevlibexecdir) conf.set_quoted('POLKIT_AGENT_BINARY_PATH', join_paths(bindir, 'pkttyagent')) conf.set_quoted('LIBDIR', libdir) conf.set_quoted('ROOTLIBDIR', rootlibdir)
@@ -44,7 +44,7 @@ index 7347ea880..918101d6b 100644 conf.set_quoted('ROOTLIBEXECDIR', rootlibexecdir) conf.set_quoted('BOOTLIBDIR', bootlibdir) conf.set_quoted('SYSTEMD_PULL_PATH', join_paths(rootlibexecdir, 'systemd-pull')) -@@ -221,6 +227,7 @@ substs.set('prefix', prefixdir) +@@ -228,6 +234,7 @@ substs.set('prefix', prefixdir) substs.set('exec_prefix', prefixdir) substs.set('libdir', libdir) substs.set('rootlibdir', rootlibdir)
@@ -52,19 +52,11 @@ index 7347ea880..918101d6b 100644 substs.set('includedir', includedir) substs.set('pkgsysconfdir', pkgsysconfdir) substs.set('bindir', bindir) -@@ -2705,6 +2712,7 @@ status = [ - 'include directory: @0@'.format(includedir), - 'lib directory: @0@'.format(libdir), - 'rootlib directory: @0@'.format(rootlibdir), -+ 'roothome directory: @0@'.format(roothomedir), - 'SysV init scripts: @0@'.format(sysvinit_path), - 'SysV rc?.d directories: @0@'.format(sysvrcnd_path), - 'PAM modules directory: @0@'.format(pamlibdir), diff --git a/meson_options.txt b/meson_options.txt -index 39822d6cd..0b24f0e0f 100644 +index 16c1f2b2f..aa9a33368 100644 --- a/meson_options.txt +++ b/meson_options.txt -@@ -22,6 +22,8 @@ option('rootlibdir', type : 'string', +@@ -9,6 +9,8 @@ option('rootlibdir', type : 'string', description : '''[/usr]/lib/x86_64-linux-gnu or such''') option('rootprefix', type : 'string', description : '''override the root prefix''')
@@ -72,7 +64,7 @@ index 39822d6cd..0b24f0e0f 100644 + description : '''override the root home directory''') option('link-udev-shared', type : 'boolean', description : 'link systemd-udev and its helpers to libsystemd-shared.so') - + option('link-systemctl-shared', type: 'boolean', -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch new file +29 -0
@@ -0,0 +1,29 @@ +From a2c4d46944892174930135672508389a04e191f0 Mon Sep 17 00:00:00 2001 +From: Chen Qi <[email protected]> +Date: Fri, 29 Jun 2018 13:53:29 +0800 +Subject: [PATCH 05/19] include gshadow only if ENABLE_GSHADOW is 1 + +Upstream-Status: Inappropriate [musl] + +Signed-off-by: Chen Qi <[email protected]> +--- + src/basic/user-util.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/basic/user-util.h b/src/basic/user-util.h +index b74f16885..f9c1e29c4 100644 +--- a/src/basic/user-util.h ++++ b/src/basic/user-util.h +@@ -2,7 +2,9 @@ + #pragma once + + #include <grp.h> ++#if ENABLE_GSHADOW + #include <gshadow.h> ++#endif + #include <pwd.h> + #include <shadow.h> + #include <stdbool.h> +-- +2.11.0 +
meta/recipes-core/systemd/systemd/0006-remove-nobody-user-group-checking.patch renamed from meta/recipes-core/systemd/systemd/0027-remove-nobody-user-group-checking.patch +20 -20
@@ -1,7 +1,7 @@ -From 5354eb767d1eba2ec41eb273f6b657f4a630ca8a Mon Sep 17 00:00:00 2001 +From 5199ae5dec9b8a9c9e20477d5090f1732735fbe2 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> -Date: Tue, 9 Jan 2018 14:45:46 +0800 -Subject: [PATCH 27/31] remove nobody user/group checking +Date: Thu, 28 Jun 2018 09:38:12 +0800 +Subject: [PATCH 6/9] remove nobody user/group checking Upstream-Status: Inappropriate [OE Specific]
@@ -11,10 +11,10 @@ Signed-off-by: Chen Qi <[email protected]> 1 file changed, 37 deletions(-) diff --git a/meson.build b/meson.build -index f6515e97c..1b947adac 100644 +index 323146fe1..3bb087fef 100644 --- a/meson.build +++ b/meson.build -@@ -700,43 +700,6 @@ substs.set('containeruidbasemax', container_uid_base_max) +@@ -681,43 +681,6 @@ substs.set('containeruidbasemax', container_uid_base_max) nobody_user = get_option('nobody-user') nobody_group = get_option('nobody-group')
@@ -22,18 +22,18 @@ index f6515e97c..1b947adac 100644 -if getent_result.returncode() == 0 - name = getent_result.stdout().split(':')[0] - if name != nobody_user -- message('WARNING:\n' + -- ' The local user with the UID 65534 does not match the configured user name "@0@" of the nobody user (its name is @1@).\n'.format(nobody_user, name) + -- ' Your build will result in an user table setup that is incompatible with the local system.') +- warning('\n' + +- 'The local user with the UID 65534 does not match the configured user name "@0@" of the nobody user (its name is @1@).\n'.format(nobody_user, name) + +- 'Your build will result in an user table setup that is incompatible with the local system.') - endif -endif -id_result = run_command('id', '-u', nobody_user) -if id_result.returncode() == 0 - id = id_result.stdout().to_int() - if id != 65534 -- message('WARNING:\n' + -- ' The local user with the configured user name "@0@" of the nobody user does not have UID 65534 (it has @1@).\n'.format(nobody_user, id) + -- ' Your build will result in an user table setup that is incompatible with the local system.') +- warning('\n' + +- 'The local user with the configured user name "@0@" of the nobody user does not have UID 65534 (it has @1@).\n'.format(nobody_user, id) + +- 'Your build will result in an user table setup that is incompatible with the local system.') - endif -endif -
@@ -41,23 +41,23 @@ index f6515e97c..1b947adac 100644 -if getent_result.returncode() == 0 - name = getent_result.stdout().split(':')[0] - if name != nobody_group -- message('WARNING:\n' + -- ' The local group with the GID 65534 does not match the configured group name "@0@" of the nobody group (its name is @1@).\n'.format(nobody_group, name) + -- ' Your build will result in an group table setup that is incompatible with the local system.') +- warning('\n' + +- 'The local group with the GID 65534 does not match the configured group name "@0@" of the nobody group (its name is @1@).\n'.format(nobody_group, name) + +- 'Your build will result in an group table setup that is incompatible with the local system.') - endif -endif -id_result = run_command('id', '-g', nobody_group) -if id_result.returncode() == 0 - id = id_result.stdout().to_int() - if id != 65534 -- message('WARNING:\n' + -- ' The local group with the configured group name "@0@" of the nobody group does not have UID 65534 (it has @1@).\n'.format(nobody_group, id) + -- ' Your build will result in an group table setup that is incompatible with the local system.') +- warning('\n' + +- 'The local group with the configured group name "@0@" of the nobody group does not have UID 65534 (it has @1@).\n'.format(nobody_group, id) + +- 'Your build will result in an group table setup that is incompatible with the local system.') - endif -endif if nobody_user != nobody_group and not (nobody_user == 'nobody' and nobody_group == 'nogroup') - message('WARNING:\n' + - ' The configured user name "@0@" and group name "@0@" of the nobody user/group are not equivalent.\n'.format(nobody_user, nobody_group) + + warning('\n' + + 'The configured user name "@0@" and group name "@0@" of the nobody user/group are not equivalent.\n'.format(nobody_user, nobody_group) + -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0006-src-basic-missing.h-check-for-missing-strndupa.patch renamed from meta/recipes-core/systemd/systemd/0014-src-basic-missing.h-check-for-missing-strndupa.patch +33 -33
133 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0007-Include-netinet-if_ether.h.patch renamed from meta/recipes-core/systemd/systemd/0017-Include-netinet-if_ether.h.patch +31 -20
108 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0007-Revert-rules-remove-firmware-loading-rules.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From 35d6d384e83ac38077603611bb791969ef95fe68 Mon Sep 17 00:00:00 2001 -From: Jonathan Liu <[email protected]> -Date: Thu, 19 Mar 2015 15:01:29 +1100 -Subject: [PATCH 07/31] Revert "rules: remove firmware loading rules" - -This reverts commit 70e7d754ddb356fb1a2942b262f8cee9650e2a19. -Userspace firmware loading support is needed for Linux < 3.7. - -Upstream-Status: Inappropriate [OE specific] - -Signed-off-by: Jonathan Liu <[email protected]> ---- - rules/50-firmware.rules | 3 +++ - 1 file changed, 3 insertions(+) - create mode 100644 rules/50-firmware.rules - -diff --git a/rules/50-firmware.rules b/rules/50-firmware.rules -new file mode 100644 -index 000000000..f0ae68451 ---- /dev/null -+++ b/rules/50-firmware.rules -@@ -0,0 +1,3 @@ -+# do not edit this file, it will be overwritten on update -+ -+SUBSYSTEM=="firmware", ACTION=="add", RUN{builtin}="firmware" --- -2.13.0 -
meta/recipes-core/systemd/systemd/0007-rules-watch-metadata-changes-in-ide-devices.patch renamed from meta/recipes-core/systemd/systemd/0012-rules-watch-metadata-changes-in-ide-devices.patch +3 -3
@@ -1,7 +1,7 @@ -From 406a4c8692316e8c7e14c78f9a802689be304a95 Mon Sep 17 00:00:00 2001 +From 9302b72e5e69512aaa7106197b00c55baeb35b3c Mon Sep 17 00:00:00 2001 From: Hongxu Jia <[email protected]> Date: Fri, 17 Nov 2017 09:46:00 +0800 -Subject: [PATCH 12/31] rules: watch metadata changes in ide devices +Subject: [PATCH 7/9] rules: watch metadata changes in ide devices Formatting IDE storage does not trigger "change" uevents. As a result clients using udev API don't get any updates afterwards and get outdated
@@ -39,5 +39,5 @@ index 343fc06f8..b5237dac4 100644 -ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*|xvd*|pmem*|mmcblk*", OPTIONS+="watch" +ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*|xvd*|pmem*|mmcblk*|hd*", OPTIONS+="watch" -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0008-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch renamed from meta/recipes-core/systemd/systemd/0019-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch +8 -8
@@ -1,7 +1,7 @@ -From f5f313915d78bc43eb96e2aafb8ce3cda304c277 Mon Sep 17 00:00:00 2001 +From b6ba596fd1313a162cdc2eb88161dcf24d19ede7 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> -Date: Mon, 26 Feb 2018 17:27:56 +0800 -Subject: [PATCH 19/31] Do not enable nss tests if nss-systemd is not enabled +Date: Thu, 28 Jun 2018 10:10:02 +0800 +Subject: [PATCH 8/9] Do not enable nss tests if nss-systemd is not enabled Upstream-Status: Pending
@@ -12,18 +12,18 @@ Signed-off-by: Chen Qi <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/meson.build b/src/test/meson.build -index 1db8aa107..df3a1f5c5 100644 +index 7da7e3a22..7b7c257ff 100644 --- a/src/test/meson.build +++ b/src/test/meson.build -@@ -646,7 +646,7 @@ tests += [ +@@ -645,7 +645,7 @@ tests += [ [['src/test/test-nss.c'], [], [libdl], - '', 'manual'], + 'ENABLE_NSS_SYSTEMD', 'manual'], - ] - ############################################################ + [['src/test/test-umount.c', + 'src/core/mount-setup.c', -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0008-Revert-udev-remove-userspace-firmware-loading-suppor.patch deleted +0 -377
377 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0008-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch renamed from meta/recipes-core/systemd/systemd/0015-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch +41 -45
162 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0009-add-missing-FTW_-macros-for-musl.patch renamed from meta/recipes-core/systemd/systemd/0028-add-missing-FTW_-macros-for-musl.patch +6 -6
@@ -1,13 +1,13 @@ -From 03cdd33be62db4c72a7fcf21b61d0d056c23c6a9 Mon Sep 17 00:00:00 2001 +From acc2c08082795802011e3c5f8626d63210021489 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> Date: Wed, 28 Feb 2018 21:36:32 -0800 -Subject: [PATCH 28/31] add missing FTW_ macros for musl +Subject: [PATCH 09/19] add missing FTW_ macros for musl This is to avoid build failures like below for musl. locale-util.c:296:24: error: 'FTW_STOP' undeclared -Upstream-Status: Pending +Upstream-Status: Inappropriate [musl specific] Signed-off-by: Chen Qi <[email protected]> ---
@@ -15,10 +15,10 @@ Signed-off-by: Chen Qi <[email protected]> 1 file changed, 20 insertions(+) diff --git a/src/basic/missing.h b/src/basic/missing.h -index 1aee3346a..5b9fde692 100644 +index 02397f1b6..6dc750eba 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h -@@ -207,6 +207,26 @@ struct sockaddr_vm { +@@ -189,6 +189,26 @@ struct sockaddr_vm { #define BTRFS_QGROUP_LEVEL_SHIFT 48 #endif
@@ -46,5 +46,5 @@ index 1aee3346a..5b9fde692 100644 #define BTRFS_IOC_QGROUP_ASSIGN _IOW(BTRFS_IOCTL_MAGIC, 41, \ struct btrfs_ioctl_qgroup_assign_args) -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0009-nss-mymachines-Build-conditionally-when-ENABLE_MYHOS.patch renamed from meta/recipes-core/systemd/systemd/0029-nss-mymachines-Build-conditionally-when-ENABLE_MYHOS.patch +5 -5
@@ -1,7 +1,7 @@ -From 5845c82d1016a3e3f2696180d5ac91b46950540a Mon Sep 17 00:00:00 2001 +From f9625b5f3fd5dac3f3591dbeeb24dc9d6fda790d Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> Date: Tue, 27 Feb 2018 12:56:21 +0800 -Subject: [PATCH 29/31] nss-mymachines: Build conditionally when +Subject: [PATCH 9/9] nss-mymachines: Build conditionally when ENABLE_MYHOSTNAME is set Fixes build failures when building with --disable-myhostname
@@ -15,10 +15,10 @@ Signed-off-by: Chen Qi <[email protected]> 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build -index 1b947adac..1ed4dde72 100644 +index 3bb087fef..73bd70b0b 100644 --- a/meson.build +++ b/meson.build -@@ -1351,12 +1351,15 @@ test_dlopen = executable( +@@ -1371,12 +1371,15 @@ test_dlopen = executable( link_with : [libbasic], dependencies : [libdl])
@@ -39,5 +39,5 @@ index 1b947adac..1ed4dde72 100644 module = tuple[0] -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0009-remove-duplicate-include-uchar.h.patch deleted +0 -41
41 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0010-check-for-uchar.h-in-meson.build.patch deleted +0 -45
45 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0010-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch renamed from meta/recipes-core/systemd/systemd/0011-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch +8 -9
@@ -1,23 +1,22 @@ -From 60dd411e9756fc2b14c0e061ad803782b4aee874 Mon Sep 17 00:00:00 2001 +From a0bd587300744dbb8e9cfbb043233670ce781c98 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> -Date: Mon, 26 Feb 2018 15:46:05 +0800 -Subject: [PATCH 11/31] socket-util: don't fail if libc doesn't support IDN +Date: Mon, 2 Jul 2018 13:22:41 +0800 +Subject: [PATCH 10/19] socket-util: don't fail if libc doesn't support IDN -Upstream-Status: Pending +Upstream-Status: Inappropriate [musl specific] Signed-off-by: Emil Renner Berthing <[email protected]> Signed-off-by: Khem Raj <[email protected]> - Signed-off-by: Chen Qi <[email protected]> --- src/basic/socket-util.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/basic/socket-util.c b/src/basic/socket-util.c -index 2c70cade1..67aedadd4 100644 +index a913102e1..0d0154805 100644 --- a/src/basic/socket-util.c +++ b/src/basic/socket-util.c -@@ -50,6 +50,16 @@ +@@ -32,6 +32,16 @@ #include "utf8.h" #include "util.h"
@@ -32,8 +31,8 @@ index 2c70cade1..67aedadd4 100644 +#endif + #if ENABLE_IDN - # define IDN_FLAGS (NI_IDN|NI_IDN_USE_STD3_ASCII_RULES) + # define IDN_FLAGS NI_IDN #else -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0011-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch renamed from meta/recipes-core/systemd/systemd/0016-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch +12 -11
@@ -1,24 +1,25 @@ -From efc57856f961c1f3bf016c511c53d990db8abdff Mon Sep 17 00:00:00 2001 -From: Emil Renner Berthing <[email protected]> -Date: Mon, 23 Oct 2017 11:31:03 -0700 -Subject: [PATCH 16/31] src/basic/missing.h: check for missing __compar_fn_t +From 045f205fd21e5e380edf813de04fcfbf5a487219 Mon Sep 17 00:00:00 2001 +From: Chen Qi <[email protected]> +Date: Mon, 2 Jul 2018 13:28:25 +0800 +Subject: [PATCH 11/19] src/basic/missing.h: check for missing __compar_fn_t typedef include missing.h for missing __compar_fn_t -Upstream-Status: Pending +Upstream-Status: Inappropriate [musl specific] Signed-off-by: Khem Raj <[email protected]> +Signed-off-by: Chen Qi <[email protected]> --- src/basic/missing.h | 5 +++++ src/basic/strbuf.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/basic/missing.h b/src/basic/missing.h -index 07a8c8364..1aee3346a 100644 +index 6dc750eba..cd1cc109f 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h -@@ -1162,6 +1162,11 @@ struct input_mask { +@@ -1179,6 +1179,11 @@ struct input_mask { #define RENAME_NOREPLACE (1 << 0) #endif
@@ -31,17 +32,17 @@ index 07a8c8364..1aee3346a 100644 #define KCMP_FILE 0 #endif diff --git a/src/basic/strbuf.c b/src/basic/strbuf.c -index 8befffa66..bcb860f95 100644 +index e2ed776a0..4d3ebec4c 100644 --- a/src/basic/strbuf.c +++ b/src/basic/strbuf.c -@@ -24,6 +24,7 @@ - +@@ -7,6 +7,7 @@ #include "alloc-util.h" #include "strbuf.h" + #include "util.h" +#include "missing.h" /* * Strbuf stores given strings in a single continuous allocated memory -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0012-fix-missing-of-__register_atfork-for-non-glibc-build.patch renamed from meta/recipes-core/systemd/systemd/0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch +9 -9
@@ -1,9 +1,9 @@ -From b7eacdf0388f930fc5271bdecfa46612c71dd65c Mon Sep 17 00:00:00 2001 +From 1fadf805cb391e3bcbd9a0286a9e4b7adb9e7427 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> -Date: Tue, 27 Feb 2018 13:27:47 +0800 -Subject: [PATCH 30/31] fix missing of __register_atfork for non-glibc builds +Date: Mon, 2 Jul 2018 13:34:09 +0800 +Subject: [PATCH 12/19] fix missing of __register_atfork for non-glibc builds -Upstream-Status: Pending +Upstream-Status: Inappropriate [musl specific] Signed-off-by: Chen Qi <[email protected]> ---
@@ -11,10 +11,10 @@ Signed-off-by: Chen Qi <[email protected]> 1 file changed, 7 insertions(+) diff --git a/src/basic/process-util.c b/src/basic/process-util.c -index dc7c9ef9e..85ce8a0cc 100644 +index 0a4f917cb..3543bc045 100644 --- a/src/basic/process-util.c +++ b/src/basic/process-util.c -@@ -39,6 +39,9 @@ +@@ -22,6 +22,9 @@ #if HAVE_VALGRIND_VALGRIND_H #include <valgrind/valgrind.h> #endif
@@ -24,7 +24,7 @@ index dc7c9ef9e..85ce8a0cc 100644 #include "alloc-util.h" #include "architecture.h" -@@ -1112,11 +1115,15 @@ void reset_cached_pid(void) { +@@ -1150,11 +1153,15 @@ void reset_cached_pid(void) { cached_pid = CACHED_PID_UNSET; }
@@ -39,7 +39,7 @@ index dc7c9ef9e..85ce8a0cc 100644 +#endif pid_t getpid_cached(void) { - pid_t current_value; + static bool installed = false; -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0013-Use-uintmax_t-for-handling-rlim_t.patch renamed from meta/recipes-core/systemd/systemd/0026-Use-uintmax_t-for-handling-rlim_t.patch +17 -16
@@ -1,7 +1,7 @@ -From 88c48ea84db6fda19dfaeb64545fccf8fa0525ec Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Fri, 27 Oct 2017 13:00:41 -0700 -Subject: [PATCH 26/31] Use uintmax_t for handling rlim_t +From a0ac0cfd90af6431c64d1b276f422a2092d569b3 Mon Sep 17 00:00:00 2001 +From: Chen Qi <[email protected]> +Date: Mon, 2 Jul 2018 13:44:21 +0800 +Subject: [PATCH 13/19] Use uintmax_t for handling rlim_t PRIu{32,64} is not right format to represent rlim_t type therefore use %ju and typecast the rlim_t variables to
@@ -15,9 +15,10 @@ execute.c:3446:36: error: format '%lu' expects argument of type 'long unsigned i | prefix, rlimit_to_string(i), c->rlimit[i]->rlim_max); | ~~~~~~~~~~~~~~~~~~~~~~ -Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/7199] +Upstream-Status: Denied [https://github.com/systemd/systemd/pull/7199] Signed-off-by: Khem Raj <[email protected]> +Signed-off-by: Chen Qi <[email protected]> --- src/basic/format-util.h | 8 -------- src/basic/rlimit-util.c | 8 ++++----
@@ -25,10 +26,10 @@ Signed-off-by: Khem Raj <[email protected]> 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/src/basic/format-util.h b/src/basic/format-util.h -index d9a78f781..9a1bc21d7 100644 +index 160550cd6..61245d1e3 100644 --- a/src/basic/format-util.h +++ b/src/basic/format-util.h -@@ -61,14 +61,6 @@ +@@ -43,14 +43,6 @@ # define PRI_TIMEX "li" #endif
@@ -44,10 +45,10 @@ index d9a78f781..9a1bc21d7 100644 # define DEV_FMT "%" PRIu64 #elif SIZEOF_DEV_T == 4 diff --git a/src/basic/rlimit-util.c b/src/basic/rlimit-util.c -index 00648211d..df3d9ecc1 100644 +index be1ba615e..e328ce499 100644 --- a/src/basic/rlimit-util.c +++ b/src/basic/rlimit-util.c -@@ -286,13 +286,13 @@ int rlimit_format(const struct rlimit *rl, char **ret) { +@@ -299,13 +299,13 @@ int rlimit_format(const struct rlimit *rl, char **ret) { if (rl->rlim_cur >= RLIM_INFINITY && rl->rlim_max >= RLIM_INFINITY) s = strdup("infinity"); else if (rl->rlim_cur >= RLIM_INFINITY)
@@ -66,24 +67,24 @@ index 00648211d..df3d9ecc1 100644 if (!s) return -ENOMEM; diff --git a/src/core/execute.c b/src/core/execute.c -index 0df3971df..aabdddb68 100644 +index 8ac69d1a0..efedf3842 100644 --- a/src/core/execute.c +++ b/src/core/execute.c -@@ -3991,10 +3991,10 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) { +@@ -3976,10 +3976,10 @@ void exec_context_dump(const ExecContext *c, FILE* f, const char *prefix) { for (i = 0; i < RLIM_NLIMITS; i++) if (c->rlimit[i]) { -- fprintf(f, "%s%s: " RLIM_FMT "\n", +- fprintf(f, "Limit%s%s: " RLIM_FMT "\n", - prefix, rlimit_to_string(i), c->rlimit[i]->rlim_max); -- fprintf(f, "%s%sSoft: " RLIM_FMT "\n", +- fprintf(f, "Limit%s%sSoft: " RLIM_FMT "\n", - prefix, rlimit_to_string(i), c->rlimit[i]->rlim_cur); -+ fprintf(f, "%s%s: %ju\n", ++ fprintf(f, "Limit%s%s: %ju\n", + prefix, rlimit_to_string(i), (uintmax_t)c->rlimit[i]->rlim_max); -+ fprintf(f, "%s%sSoft: %ju\n", ++ fprintf(f, "Limit%s%sSoft: %ju\n", + prefix, rlimit_to_string(i), (uintmax_t)c->rlimit[i]->rlim_cur); } if (c->ioprio_set) { -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0014-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch renamed from meta/recipes-core/systemd/systemd/0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch +6 -6
@@ -1,9 +1,9 @@ -From adcd7e426fcd80e754274a730221d1a1f49dbc21 Mon Sep 17 00:00:00 2001 +From cb59b3af54fb3bbd4d8264fef919810af8d08d16 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> Date: Tue, 27 Feb 2018 14:01:30 +0800 -Subject: [PATCH 31/31] fix missing ULONG_LONG_MAX definition in case of musl +Subject: [PATCH 14/19] fix missing ULONG_LONG_MAX definition in case of musl -Upstream-Status: Pending +Upstream-Status: Inappropriate [musl] Signed-off-by: Chen Qi <[email protected]> ---
@@ -11,10 +11,10 @@ Signed-off-by: Chen Qi <[email protected]> 1 file changed, 4 insertions(+) diff --git a/src/basic/missing.h b/src/basic/missing.h -index 5b9fde692..a922f1346 100644 +index cd1cc109f..144058a1a 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h -@@ -72,6 +72,10 @@ struct sockaddr_vm { +@@ -54,6 +54,10 @@ struct sockaddr_vm { }; #endif /* !HAVE_LINUX_VM_SOCKETS_H */
@@ -26,5 +26,5 @@ index 5b9fde692..a922f1346 100644 #define RLIMIT_RTTIME 15 #endif -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0015-test-hexdecoct.c-Include-missing.h-for-strndupa.patch renamed from meta/recipes-core/systemd/systemd/0020-test-hexdecoct.c-Include-missing.h-for-strndupa.patch +6 -6
@@ -1,9 +1,9 @@ -From d63d2fedcd80e58ee53655aeaf2836d4b0a14652 Mon Sep 17 00:00:00 2001 +From b11109ecc41110c518a98b6ac39611ff86477021 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 23 Oct 2017 12:33:22 -0700 -Subject: [PATCH 20/31] test-hexdecoct.c: Include missing.h for strndupa +Subject: [PATCH 15/19] test-hexdecoct.c: Include missing.h for strndupa -Upstream-Status: Pending +Upstream-Status: Inappropriate [musl specific] Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Chen Qi <[email protected]>
@@ -12,10 +12,10 @@ Signed-off-by: Chen Qi <[email protected]> 1 file changed, 1 insertion(+) diff --git a/src/test/test-hexdecoct.c b/src/test/test-hexdecoct.c -index 3e25a0bac..ab3e508f1 100644 +index da9f3008b..7ff2dfe0c 100644 --- a/src/test/test-hexdecoct.c +++ b/src/test/test-hexdecoct.c -@@ -24,6 +24,7 @@ +@@ -6,6 +6,7 @@ #include "hexdecoct.h" #include "macro.h" #include "string-util.h"
@@ -24,5 +24,5 @@ index 3e25a0bac..ab3e508f1 100644 static void test_hexchar(void) { assert_se(hexchar(0xa) == 'a'); -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0016-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch renamed from meta/recipes-core/systemd/systemd/0021-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch +7 -7
@@ -1,10 +1,10 @@ -From dfea4b98844795a0cd14fdaf40c67df389dbd27e Mon Sep 17 00:00:00 2001 +From c4bbf3efefffe0a4efadbf4e3f0adb54d76fe0e7 Mon Sep 17 00:00:00 2001 From: Chen Qi <[email protected]> Date: Wed, 28 Feb 2018 21:25:22 -0800 -Subject: [PATCH 21/31] test-sizeof.c: Disable tests for missing typedefs in +Subject: [PATCH 16/19] test-sizeof.c: Disable tests for missing typedefs in musl -Upstream-Status: Pending +Upstream-Status: Inappropriate [musl specific] Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Chen Qi <[email protected]>
@@ -13,10 +13,10 @@ Signed-off-by: Chen Qi <[email protected]> 1 file changed, 4 insertions(+) diff --git a/src/test/test-sizeof.c b/src/test/test-sizeof.c -index aed6db842..0de6fa63c 100644 +index 7a1e496ed..386b314d5 100644 --- a/src/test/test-sizeof.c +++ b/src/test/test-sizeof.c -@@ -50,8 +50,10 @@ int main(void) { +@@ -40,8 +40,10 @@ int main(void) { info(unsigned); info(long unsigned); info(long long unsigned);
@@ -27,7 +27,7 @@ index aed6db842..0de6fa63c 100644 info(float); info(double); -@@ -61,7 +63,9 @@ int main(void) { +@@ -59,7 +61,9 @@ int main(void) { info(ssize_t); info(time_t); info(usec_t);
@@ -38,5 +38,5 @@ index aed6db842..0de6fa63c 100644 info(uid_t); info(gid_t); -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0017-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch renamed from meta/recipes-core/systemd/systemd/0023-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch +10 -10
@@ -1,7 +1,7 @@ -From 7b802ada1207ed00ed3867b9804dd0f316641b9b Mon Sep 17 00:00:00 2001 +From 91bb4f5c9c11464468e8d3fa4746d98d59997264 Mon Sep 17 00:00:00 2001 From: Andre McCurdy <[email protected]> Date: Tue, 10 Oct 2017 14:33:30 -0700 -Subject: [PATCH 23/31] don't pass AT_SYMLINK_NOFOLLOW flag to faccessat() +Subject: [PATCH 17/19] don't pass AT_SYMLINK_NOFOLLOW flag to faccessat() Avoid using AT_SYMLINK_NOFOLLOW flag. It doesn't seem like the right thing to do and it's not portable (not supported by musl). See:
@@ -22,7 +22,7 @@ The laccess() macros was added to systemd some time ago and it's not clear if or why it needs to return success for broken symlinks. Maybe just historical and not actually necessary or desired behaviour? -Upstream-Status: Pending +Upstream-Status: Inappropriate [musl specific] Signed-off-by: Andre McCurdy <[email protected]> ---
@@ -31,10 +31,10 @@ Signed-off-by: Andre McCurdy <[email protected]> 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h -index 4dba1ea56..9c4b02ecc 100644 +index 28566773c..14b864cc5 100644 --- a/src/basic/fs-util.h +++ b/src/basic/fs-util.h -@@ -50,7 +50,27 @@ int fchmod_umask(int fd, mode_t mode); +@@ -32,7 +32,27 @@ int fchmod_opath(int fd, mode_t m); int fd_warn_permissions(const char *path, int fd);
@@ -64,10 +64,10 @@ index 4dba1ea56..9c4b02ecc 100644 int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode); int touch(const char *path); diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c -index 3c25aa534..574ca71c7 100644 +index 89d7a7d59..34b4ad53a 100644 --- a/src/shared/base-filesystem.c +++ b/src/shared/base-filesystem.c -@@ -71,7 +71,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) { +@@ -53,7 +53,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) { return log_error_errno(errno, "Failed to open root file system: %m"); for (i = 0; i < ELEMENTSOF(table); i ++) {
@@ -76,7 +76,7 @@ index 3c25aa534..574ca71c7 100644 continue; if (table[i].target) { -@@ -79,7 +79,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) { +@@ -61,7 +61,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) { /* check if one of the targets exists */ NULSTR_FOREACH(s, table[i].target) {
@@ -85,7 +85,7 @@ index 3c25aa534..574ca71c7 100644 continue; /* check if a specific file exists at the target path */ -@@ -90,7 +90,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) { +@@ -72,7 +72,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) { if (!p) return log_oom();
@@ -95,5 +95,5 @@ index 3c25aa534..574ca71c7 100644 } -- -2.13.0 +2.11.0
meta/recipes-core/systemd/systemd/0018-Define-glibc-compatible-basename-for-non-glibc-syste.patch renamed from meta/recipes-core/systemd/systemd/0035-Define-glibc-compatible-basename-for-non-glibc-syste.patch +6 -5
@@ -1,7 +1,8 @@ -From 5f1f064c81ea30acf93cfa0fb466b38f094f488c Mon Sep 17 00:00:00 2001 +From 97fed07132533a1b2bce9c60e305a5d09aee2e9b Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sun, 27 May 2018 08:36:44 -0700 -Subject: [PATCH] Define glibc compatible basename() for non-glibc systems +Subject: [PATCH 18/19] Define glibc compatible basename() for non-glibc + systems Fixes builds with musl, even though systemd is adamant about using non-posix basename implementation, we have a way out
@@ -14,10 +15,10 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 4 insertions(+) diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c -index 2d7806491b..9a3bdb1d76 100644 +index 7f41465cc..cee8a5d43 100644 --- a/src/machine/machine-dbus.c +++ b/src/machine/machine-dbus.c -@@ -29,6 +29,10 @@ +@@ -11,6 +11,10 @@ #include <libgen.h> #undef basename
@@ -29,5 +30,5 @@ index 2d7806491b..9a3bdb1d76 100644 #include "bus-common-errors.h" #include "bus-internal.h" -- -2.17.0 +2.11.0
meta/recipes-core/systemd/systemd/0018-check-for-missing-canonicalize_file_name.patch deleted +0 -47
47 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0019-Do-not-disable-buffering-when-writing-to-oom_score_a.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 8440348bcac34249cdf6ac2dcae9ac66d3c727db Mon Sep 17 00:00:00 2001 +From: Chen Qi <[email protected]> +Date: Wed, 4 Jul 2018 15:00:44 +0800 +Subject: [PATCH 19/19] Do not disable buffering when writing to oom_score_adj + +On musl, disabling buffering when writing to oom_score_adj will +cause the following error. + + Failed to adjust OOM setting: Invalid argument + +This error appears for systemd-udevd.service and dbus.service. +This is because kernel receives '-' instead of the whole '-900' +if buffering is disabled. + +This is libc implementation specific, as glibc does not have this issue. + +Upstream-Status: Inappropriate [musl specific] + +Signed-off-by: Chen Qi <[email protected]> +--- + src/basic/process-util.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/basic/process-util.c b/src/basic/process-util.c +index 3543bc045..d0572e034 100644 +--- a/src/basic/process-util.c ++++ b/src/basic/process-util.c +@@ -1473,7 +1473,7 @@ int set_oom_score_adjust(int value) { + sprintf(t, "%i", value); + + return write_string_file("/proc/self/oom_score_adj", t, +- WRITE_STRING_FILE_VERIFY_ON_FAILURE|WRITE_STRING_FILE_DISABLE_BUFFER); ++ WRITE_STRING_FILE_VERIFY_ON_FAILURE); + } + + static const char *const ioprio_class_table[] = { +-- +2.11.0 +
meta/recipes-core/systemd/systemd/0020-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch new file +62 -0
62 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0025-Define-_PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch deleted +0 -43
43 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0032-memfd.patch deleted +0 -272
272 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0033-basic-macros-rename-noreturn-into-_noreturn_-8456.patch deleted +0 -203
203 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0034-Fix-format-truncation-compile-failure-by-typecasting.patch deleted +0 -173
28 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0036-time-util-fix-build-with-gcc8-Werror-format-truncati.patch deleted +0 -53
53 lines not on this page · raw message
meta/recipes-core/systemd/systemd/libmount.patch deleted +0 -75
75 lines not on this page · raw message
meta/recipes-core/systemd/systemd_239.bb renamed from meta/recipes-core/systemd/systemd_237.bb +57 -69
126 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.9.1
Part of the diff is not shown here. View the raw message.
Re: [PATCH 1/2] systemd: upgrade to 239
Quoted 113 lines · Chen Qi
Upgrade systemd to 239.
1. Patch Changes
* Rebased Patches 0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch 0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch 0006-Make-root-s-home-directory-configurable.patch 0027-remove-nobody-user-group-checking.patch 0011-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch 0013-add-fallback-parse_printf_format-implementation.patch 0014-src-basic-missing.h-check-for-missing-strndupa.patch 0015-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch 0016-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch 0017-Include-netinet-if_ether.h.patch 0019-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch 0022-don-t-use-glibc-specific-qsort_r.patch 0024-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch 0026-Use-uintmax_t-for-handling-rlim_t.patch 0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch 0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch 0001-core-device.c-Change-the-default-device-timeout-to-2.patch 0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch* Dropped Patches and Reasons 0001-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch This patch is dropped because the problem has been fixed by binutils upstream. And this workaround could be dropped.
https://sourceware.org/bugzilla/show_bug.cgi?id=185480007-Revert-rules-remove-firmware-loading-rules.patch 0008-Revert-udev-remove-userspace-firmware-loading-suppor.patch
These two patches are dropped because they are for kernel < 3.7. But the current minimal requirement of kernel to build systemd is as below.
REQUIREMENTS:
Linux kernel >= 3.13
Linux kernel >= 4.2 for unified cgroup hierarchy support
So these two patches no long make any sense.
Also remove non-exist firmware-path option0009-remove-duplicate-include-uchar.h.patch 0010-check-for-uchar.h-in-meson.build.patch
These two patches are dropped because musl has implementeduchar.h. See commit below from musl repo.
"""
ab9672ae73248f51e30f4553c4b8878525e46383implementuchar.h(C11 UTF-16/32 conversion) interfaces """0018-check-for-missing-canonicalize_file_name.patch
The above patch is dropped because current systemd does not needcanonicalize_file_name.0025-Define-_PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch
The above patch is dropped because utmp makes no sense in musl. Check code below from musl.
include/utmp.h:#define_PATH_UTMP"/dev/null/utmp" And utmp PACKAGECONFIG has been explicitly disabled for musl. So we don't need this patch.0032-memfd.patch 0033-basic-macros-rename-noreturn-into-_noreturn_-8456.patch libmount.patch 0034-Fix-format-truncation-compile-failure-by-typecasting.patch
The above patches are dropped because they are backported patches. And current systemd has contained these patches.0036-time-util-fix-build-with-gcc8-Werror-format-truncati.patch
The above patch is dropped because it has been merged and is now in new version.* Newly Added Patch 0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch This patch is added to fix build for musl.
0019-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
This patch is added to fix the following error which caused system unable to boot up.
systemd-udevd.service: Failed to adjust OOM setting: Invalid argument dbus.service: Failed to adjust OOM setting: Invalid argument0020-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch
This patch is added to fix segment fault error on musl systems.0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch
This patch is backported to solve a race condition between [email protected] stop and user deletion.2. PACKAGECONFIG and Dependency Changes
* Add a new PACKAGECONFIG item 'gshadow'. Enable it by default for glibc but disable it by default for musl. This is because musl does not providegshadow.h.* Add a new PACKAGECONFIG item 'portabled'. Default to disable it because it's still experimental, according to the announcement letter. """
Currently, the support is still experimental, but this is expected to change soon. Reflecting this experimental state, the "portablectl" binary is not installed into/usr/binyet.
"""* Change 'kmod' from a hard dependency to a PACKAGECONFIG item. Default to enable it.
* Change 'acl' from a hard dependency to a PACKAGECONFIG item. Default to enable it.
* Remove 'readline' from DEPENDS. systemd does not need it.
* Remove 'libcgroup' from DEPENDS. The dependency on libcgroup has been removed from systemd a long time ago. We now remove this unnecessary dependency from DEPENDS.
Quoted 6 lines
3. update-alternatives changes
The utilities like shutdown, poweroff, etc. are now created as symlinks atdo_install. So there's no need to use update-alternatives mechanism anymore to create the symlinks now. In addtion, I don't think we now support multiple init systems at one running system, so there's really no need to use update-alternatives mechanism here.
I noticed that reboot stopped working locally as I had busybox installed together with systemd, and the busybox version ended up being used as it was provided via update-alternatives.
Looking for possible similar broken links, I found that update-alternatives ended up pointing reboot, halt and poweroff to the busybox binary instead of systemctl. Should we revert the changes and bring back update-alternatives for them?
Thanks,
Signature · 1 line
Ricardo Salveti de Araujo
Re: [PATCH 1/2] systemd: upgrade to 239
Quoted 124 lines · Ricardo Salveti
Quoted 113 lines · Chen Qi
Upgrade systemd to 239.
1. Patch Changes
* Rebased Patches 0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch 0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch 0006-Make-root-s-home-directory-configurable.patch 0027-remove-nobody-user-group-checking.patch 0011-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch 0013-add-fallback-parse_printf_format-implementation.patch 0014-src-basic-missing.h-check-for-missing-strndupa.patch 0015-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch 0016-src-basic-missing.h-check-for-missing-__compar_fn_t-.patch 0017-Include-netinet-if_ether.h.patch 0019-Do-not-enable-nss-tests-if-nss-systemd-is-not-enable.patch 0022-don-t-use-glibc-specific-qsort_r.patch 0024-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch 0026-Use-uintmax_t-for-handling-rlim_t.patch 0030-fix-missing-of-__register_atfork-for-non-glibc-build.patch 0031-fix-missing-ULONG_LONG_MAX-definition-in-case-of-mus.patch 0001-core-device.c-Change-the-default-device-timeout-to-2.patch 0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch* Dropped Patches and Reasons 0001-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch This patch is dropped because the problem has been fixed by binutils upstream. And this workaround could be dropped.
https://sourceware.org/bugzilla/show_bug.cgi?id=185480007-Revert-rules-remove-firmware-loading-rules.patch 0008-Revert-udev-remove-userspace-firmware-loading-suppor.patch
These two patches are dropped because they are for kernel < 3.7. But the current minimal requirement of kernel to build systemd is as below.
REQUIREMENTS:
Linux kernel >= 3.13
Linux kernel >= 4.2 for unified cgroup hierarchy support
So these two patches no long make any sense.
Also remove non-exist firmware-path option0009-remove-duplicate-include-uchar.h.patch 0010-check-for-uchar.h-in-meson.build.patch
These two patches are dropped because musl has implementeduchar.h. See commit below from musl repo.
"""
ab9672ae73248f51e30f4553c4b8878525e46383implementuchar.h(C11 UTF-16/32 conversion) interfaces """0018-check-for-missing-canonicalize_file_name.patch
The above patch is dropped because current systemd does not needcanonicalize_file_name.0025-Define-_PATH_WTMPX-and-_PATH_UTMPX-if-not-defined.patch
The above patch is dropped because utmp makes no sense in musl. Check code below from musl.
include/utmp.h:#define_PATH_UTMP"/dev/null/utmp" And utmp PACKAGECONFIG has been explicitly disabled for musl. So we don't need this patch.0032-memfd.patch 0033-basic-macros-rename-noreturn-into-_noreturn_-8456.patch libmount.patch 0034-Fix-format-truncation-compile-failure-by-typecasting.patch
The above patches are dropped because they are backported patches. And current systemd has contained these patches.0036-time-util-fix-build-with-gcc8-Werror-format-truncati.patch
The above patch is dropped because it has been merged and is now in new version.* Newly Added Patch 0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch This patch is added to fix build for musl.
0019-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
This patch is added to fix the following error which caused system unable to boot up.
systemd-udevd.service: Failed to adjust OOM setting: Invalid argument dbus.service: Failed to adjust OOM setting: Invalid argument0020-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch
This patch is added to fix segment fault error on musl systems.0001-login-use-parse_uid-when-unmounting-user-runtime-dir.patch
This patch is backported to solve a race condition between [email protected] stop and user deletion.2. PACKAGECONFIG and Dependency Changes
* Add a new PACKAGECONFIG item 'gshadow'. Enable it by default for glibc but disable it by default for musl. This is because musl does not providegshadow.h.* Add a new PACKAGECONFIG item 'portabled'. Default to disable it because it's still experimental, according to the announcement letter. """
Currently, the support is still experimental, but this is expected to change soon. Reflecting this experimental state, the "portablectl" binary is not installed into/usr/binyet.
"""* Change 'kmod' from a hard dependency to a PACKAGECONFIG item. Default to enable it.
* Change 'acl' from a hard dependency to a PACKAGECONFIG item. Default to enable it.
* Remove 'readline' from DEPENDS. systemd does not need it.
* Remove 'libcgroup' from DEPENDS. The dependency on libcgroup has been removed from systemd a long time ago. We now remove this unnecessary dependency from DEPENDS.
Quoted 6 lines
3. update-alternatives changes
The utilities like shutdown, poweroff, etc. are now created as symlinks atdo_install. So there's no need to use update-alternatives mechanism anymore to create the symlinks now. In addtion, I don't think we now support multiple init systems at one running system, so there's really no need to use update-alternatives mechanism here.I noticed that reboot stopped working locally as I had busybox installed together with systemd, and the busybox version ended up being used as it was provided via update-alternatives.
Quoted 6 lines
Looking for possible similar broken links, I found that update-alternatives ended up pointing reboot, halt and poweroff to the busybox binary instead of systemctl. Should we revert the changes and bring back update-alternatives for them?
Thanks,
I think the correct direction to fix this problem is to make busybox only provide init utilities (reboot, halt, etc) when init manager is set to busybox.
We current have in busybox recipe's SRC_URI:
${@["", "file://init.cfg"][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'busybox')]} \
I think the init utilities should be moved to init.cfg.
Please check my logic to see if you can agree with it.
We have two facts here.
1. Init utilities (reboot, halt, etc.) are tightly bond to the specific implementation of PID 1.
2. We only allow one PID 1 in our image. (VIRTUAL-RUNTIME_init_manager).
So we can conclude from the above two facts that it does not make much sense to have multiple providers of init utilities while we only allow one PID 1 provider on image.
After all, we are using update-*alternatives*, things that this mechanism manages are supposed to generally serve as alternatives to each other.
Best Regards,
Chen Qi
Re: [PATCH 1/2] systemd: upgrade to 239
Quoted 11 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of ChenQi
Sent: den 26 juli 2018 07:51
To: Ricardo Salveti <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core] [PATCH 1/2] systemd: upgrade to 239Quoted 2 lines · Ricardo Salveti
Quoted 1 line · Chen Qi
Upgrade systemd to 239.
[cut]
Quoted 38 lines
Quoted 11 lines
Quoted 6 lines
3. update-alternatives changes
The utilities like shutdown, poweroff, etc. are now created as symlinks atdo_install. So there's no need to use update-alternatives mechanism anymore to create the symlinks now. In addtion, I don't think we> now support multiple init systems at one running system, so there's really no need to use update-alternatives mechanism here.I noticed that reboot stopped working locally as I had busybox installed together with systemd, and the busybox version ended up being used as it was provided via update-alternatives.
Quoted 6 lines
Looking for possible similar broken links, I found that update-alternatives ended up pointing reboot, halt and poweroff to the busybox binary instead of systemctl. Should we revert the changes and bring back update-alternatives for them?
Thanks,
I think the correct direction to fix this problem is to make busybox only provide init utilities (reboot, halt, etc) when init manager is set to busybox.
We current have in busybox recipe's
SRC_URI:${@["","file://init.cfg"][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'busybox')]} \
I think the init utilities should be moved to init.cfg.
Please check my logic to see if you can agree with it.
We have two facts here.
1. Init utilities (reboot, halt, etc.) are tightly bond to the specific implementation of PID 1.
2. We only allow one PID 1 in our image. (VIRTUAL-RUNTIME_init_manager). So we can conclude from the above two facts that it does not make much sense to have multiple providers of init utilities while we only allow one PID 1 provider on image.
Quoted 6 lines
After all, we are using update-*alternatives*, things that this mechanism manages are supposed to generally serve as alternatives to each other.
Best Regards,
Chen Qi
For what it is worth, we have a package that installs wrappers for init and reboot, which is now causing image creation to fail due to the change to systemd since both packages now try to install init and reboot. I can of course add a systemd_%.bbappend to remove init and reboot, but that means the systemd package is broken unless the package with the wrappers is always installed.
//Peter
Re: [PATCH 1/2] systemd: upgrade to 239
Quoted 59 lines · Peter Kjellerstedt
Quoted 11 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of ChenQi
Sent: den 26 juli 2018 07:51
To: Ricardo Salveti <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core] [PATCH 1/2] systemd: upgrade to 239Quoted 2 lines · Ricardo Salveti
Quoted 1 line · Chen Qi
Upgrade systemd to 239.
[cut]
Quoted 38 lines
Quoted 11 lines
Quoted 6 lines
3. update-alternatives changes
The utilities like shutdown, poweroff, etc. are now created as symlinks atdo_install. So there's no need to use update-alternatives mechanism anymore to create the symlinks now. In addtion, I don't think we> now support multiple init systems at one running system, so there's really no need to use update-alternatives mechanism here.I noticed that reboot stopped working locally as I had busybox installed together with systemd, and the busybox version ended up being used as it was provided via update-alternatives.
Quoted 6 lines
Looking for possible similar broken links, I found that update-alternatives ended up pointing reboot, halt and poweroff to the busybox binary instead of systemctl. Should we revert the changes and bring back update-alternatives for them?
Thanks,
I think the correct direction to fix this problem is to make busybox only provide init utilities (reboot, halt, etc) when init manager is set to busybox.
We current have in busybox recipe's
SRC_URI:${@["","file://init.cfg"][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'busybox')]} \
I think the init utilities should be moved to init.cfg.
Please check my logic to see if you can agree with it.
We have two facts here.
1. Init utilities (reboot, halt, etc.) are tightly bond to the specific implementation of PID 1.
2. We only allow one PID 1 in our image. (VIRTUAL-RUNTIME_init_manager). So we can conclude from the above two facts that it does not make much sense to have multiple providers of init utilities while we only allow one PID 1 provider on image.Quoted 6 lines
After all, we are using update-*alternatives*, things that this mechanism manages are supposed to generally serve as alternatives to each other.
Best Regards,
Chen Qi
Quoted 6 lines
For what it is worth, we have a package that installs wrappers for init and reboot, which is now causing image creation to fail due to the change to systemd since both packages now try to install init and reboot. I can of course add a systemd_%.bbappend to remove init and reboot, but that means the systemd package is broken unless the package with the wrappers is always installed.
Curious to why you need such wrappers, but wasn't it a problem before even when we had update-alternatives for such utilities (e.g. update-alternatives failing to link init/reboot because of your wrappers when creating the rootfs)?
Cheers,
Signature · 1 line
Ricardo Salveti de Araujo
Re: [PATCH 1/2] systemd: upgrade to 239
Quoted 85 lines
-----Original Message-----
From: Ricardo Salveti <[email protected]>
Sent: den 26 juli 2018 16:37
To: Peter Kjellerstedt <[email protected]>
Cc: ChenQi <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [PATCH 1/2] systemd: upgrade to 239Quoted 2 lines · Peter Kjellerstedt
Quoted 2 lines
-----Original Message-----
From: [email protected]<openembedded-
Quoted 8 lines
Quoted 8 lines
[email protected]> On Behalf Of ChenQi
Sent: den 26 juli 2018 07:51
To: Ricardo Salveti <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core] [PATCH 1/2] systemd: upgrade to 239Quoted 1 line · Ricardo Salveti
On Mon, Jul 16, 2018 at 11:05 PM, Chen Qi <[email protected]>
Quoted 6 lines · wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Upgrade systemd to 239.
[cut]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
3. update-alternatives changes
The utilities like shutdown, poweroff, etc. are now created assymlinks
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
at
do_install. So there's no need to use update-alternativesmechanism
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
anymore to create the symlinks now. In addtion, I don't think
we> now
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
support multiple init systems at one running system, so
there's really
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
no need to use update-alternatives mechanism here.
I noticed that reboot stopped working locally as I had busybox installed together with systemd, and the busybox version ended up being used as it was provided via update-alternatives.
Looking for possible similar broken links, I found that update-alternatives ended up pointing reboot, halt and poweroff to
the
Quoted 1 line
Quoted 1 line
Quoted 1 line
busybox binary instead of systemctl. Should we revert the changes
and
Quoted 13 lines
Quoted 13 lines
Quoted 3 lines
bring back update-alternatives for them?
Thanks,
I think the correct direction to fix this problem is to make busybox only provide init utilities (reboot, halt, etc) when init manager is set to busybox.
We current have in busybox recipe's
SRC_URI:${@["","file://init.cfg"][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'busybox')]} \
Quoted 5 lines
Quoted 5 lines
I think the init utilities should be moved to init.cfg.
Please check my logic to see if you can agree with it. We have two facts here.
1. Init utilities (reboot, halt, etc.) are tightly bond to thespecific
Quoted 2 lines
Quoted 2 lines
implementation of PID 1.
2. We only allow one PID 1 in our image. (VIRTUAL-
RUNTIME_init_manager).Quoted 1 line
Quoted 1 line
So we can conclude from the above two facts that it does not make
much
Quoted 1 line
Quoted 1 line
sense to have multiple providers of init utilities while we only
allow
Quoted 10 lines
Quoted 8 lines
one PID 1 provider on image.
After all, we are using update-*alternatives*, things that this mechanism manages are supposed to generally serve as alternatives to each other.
Best Regards,
Chen QiFor what it is worth, we have a package that installs wrappers for
init and
Quoted 1 line
reboot, which is now causing image creation to fail due to the change
to
Quoted 8 lines
Quoted 1 line
systemd since both packages now try to install init and reboot. I can
of
Quoted 1 line
course add a systemd_%.bbappend to remove init and reboot, but that
means
Quoted 2 lines
the systemd package is broken unless the package with the wrappers is always installed.
Curious to why you need such wrappers, but wasn't it a problem before
Well, to be honest, I did not know we had those wrappers until the image creation broke due to the change to the systemd recipe. I am not responsible for our use of systemd, so I have no idea why we have those wrappers...
Quoted 3 lines
even when we had update-alternatives for such utilities (e.g. update-alternatives failing to link init/reboot because of your wrappers when creating the rootfs)?
I have not looked into it, but it seems the installation of the wrappers silently overwrites the links created by update-alternatives.
Quoted 3 lines
Cheers,
--
Ricardo Salveti de Araujo
//Peter
Re: [PATCH 1/2] systemd: upgrade to 239
Quoted 92 lines · Peter Kjellerstedt
Quoted 80 lines
-----Original Message-----
From: Ricardo Salveti <[email protected]>
Sent: den 26 juli 2018 16:37
To: Peter Kjellerstedt <[email protected]>
Cc: ChenQi <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [PATCH 1/2] systemd: upgrade to 239Quoted 2 lines · Peter Kjellerstedt
Quoted 2 lines
-----Original Message-----
From: [email protected]<openembedded-
Quoted 8 lines
Quoted 8 lines
[email protected]> On Behalf Of ChenQi
Sent: den 26 juli 2018 07:51
To: Ricardo Salveti <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core] [PATCH 1/2] systemd: upgrade to 239Quoted 1 line · Ricardo Salveti
On Mon, Jul 16, 2018 at 11:05 PM, Chen Qi <[email protected]>
Quoted 5 lines · wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Upgrade systemd to 239.
[cut]
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
3. update-alternatives changes
The utilities like shutdown, poweroff, etc. are now created assymlinks
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
at
do_install. So there's no need to use update-alternativesmechanism
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
anymore to create the symlinks now. In addtion, I don't think
we> now
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
support multiple init systems at one running system, so
there's really
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
no need to use update-alternatives mechanism here.
I noticed that reboot stopped working locally as I had busybox installed together with systemd, and the busybox version ended up being used as it was provided via update-alternatives.
Looking for possible similar broken links, I found that update-alternatives ended up pointing reboot, halt and poweroff to
the
Quoted 1 line
Quoted 1 line
Quoted 1 line
busybox binary instead of systemctl. Should we revert the changes
and
Quoted 12 lines
Quoted 12 lines
Quoted 3 lines
bring back update-alternatives for them?
Thanks,
I think the correct direction to fix this problem is to make busybox only provide init utilities (reboot, halt, etc) when init manager is set to busybox.
We current have in busybox recipe's
SRC_URI:${@["","file://init.cfg"][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'busybox')]} \
Quoted 5 lines
Quoted 5 lines
I think the init utilities should be moved to init.cfg.
Please check my logic to see if you can agree with it. We have two facts here.
1. Init utilities (reboot, halt, etc.) are tightly bond to thespecific
Quoted 2 lines
Quoted 2 lines
implementation of PID 1.
2. We only allow one PID 1 in our image. (VIRTUAL-
RUNTIME_init_manager).Quoted 1 line
Quoted 1 line
So we can conclude from the above two facts that it does not make
much
Quoted 1 line
Quoted 1 line
sense to have multiple providers of init utilities while we only
allow
Quoted 9 lines
Quoted 8 lines
one PID 1 provider on image.
After all, we are using update-*alternatives*, things that this mechanism manages are supposed to generally serve as alternatives to each other.
Best Regards,
Chen QiFor what it is worth, we have a package that installs wrappers for
init and
Quoted 1 line
reboot, which is now causing image creation to fail due to the change
Quoted 8 lines
to
Quoted 1 line
systemd since both packages now try to install init and reboot. I can
of
Quoted 1 line
course add a systemd_%.bbappend to remove init and reboot, but that
means
Quoted 2 lines
the systemd package is broken unless the package with the wrappers is always installed.
Curious to why you need such wrappers, but wasn't it a problem before
Well, to be honest, I did not know we had those wrappers until the image creation broke due to the change to the systemd recipe. I am not responsible for our use of systemd, so I have no idea why we have those wrappers...
Quoted 5 lines
Quoted 3 lines
even when we had update-alternatives for such utilities (e.g. update-alternatives failing to link init/reboot because of your wrappers when creating the rootfs)?
I have not looked into it, but it seems the installation of the wrappers silently overwrites the links created by update-alternatives.
A wrappers is usually written like this:
<hook actions>
<actual call to the real binary>
sysv has the runlevel/service mechanism, and systemd has unit mechanism. We'd better use such mechanisms to do the hook actions.
For reboot, you may want to look at rc6.d for sysvinit and reboot.target for systemd.
As an example on systemd, check /lib/systemd/system/reboot.target.wants/systemd-update-utmp-runlevel.service.
Best Regards,
Chen Qi
Quoted 5 lines
Quoted 3 lines
Cheers,
--
Ricardo Salveti de Araujo//Peter
Re: [PATCH 1/2] systemd: upgrade to 239
In reply to ChenQiQuoted 21 lines · ChenQi
Quoted 8 lines · Ricardo Salveti
I noticed that reboot stopped working locally as I had busybox installed together with systemd, and the busybox version ended up being used as it was provided via update-alternatives.
Looking for possible similar broken links, I found that update-alternatives ended up pointing reboot, halt and poweroff to the busybox binary instead of systemctl. Should we revert the changes and bring back update-alternatives for them?
I think the correct direction to fix this problem is to make busybox only provide init utilities (reboot, halt, etc) when init manager is set to busybox.
We current have in busybox recipe's
SRC_URI:${@["","file://init.cfg"][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'busybox')]} \
I think the init utilities should be moved to init.cfg.
Quoted 8 lines
Please check my logic to see if you can agree with it.
We have two facts here.
1. Init utilities (reboot, halt, etc.) are tightly bond to the specific implementation of PID 1.
2. We only allow one PID 1 in our image. (VIRTUAL-RUNTIME_init_manager). So we can conclude from the above two facts that it does not make much sense to have multiple providers of init utilities while we only allow one PID 1 provider on image.
Seems correct to move the init utilities to init.cfg even without the update-alternatives change then.
Quoted 5 lines
After all, we are using update-*alternatives*, things that this mechanism manages are supposed to generally serve as alternatives to each other.
Best Regards,
Chen Qi
Cheers,
Signature · 1 line
Ricardo Salveti de Araujo
PATCH v6 2/2 systemd-boot: upgrade to 239
In reply to Chen QiUpgrade systemd-boot to 239.
The following patch is removed due to recent fix about meson's cpu family mapping and validation.
0001-Also-check-i386-i586-and-i686-for-ia32.patch
---
.../{systemd-boot_237.bb => systemd-boot_239.bb} | 5 ++--
...01-Also-check-i386-i586-and-i686-for-ia32.patch | 28 ----------------------
2 files changed, 2 insertions(+), 31 deletions(-)
rename meta/recipes-core/systemd/{systemd-boot_237.bb => systemd-boot_239.bb} (91%)
delete mode 100644 meta/recipes-core/systemd/systemd/0001-Also-check-i386-i586-and-i686-for-ia32.patchmeta/recipes-core/systemd/systemd-boot_239.bb renamed from meta/recipes-core/systemd/systemd-boot_237.bb +2 -3
@@ -3,9 +3,8 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemd:" DEPENDS = "intltool-native libcap util-linux gnu-efi gperf-native" -SRC_URI += "file://0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch \ - file://0027-remove-nobody-user-group-checking.patch \ - file://0001-Also-check-i386-i586-and-i686-for-ia32.patch \ +SRC_URI += "file://0002-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch \ + file://0006-remove-nobody-user-group-checking.patch \ file://0001-Fix-to-run-efi_cc-and-efi_ld-correctly-when-cross-co.patch \ "
meta/recipes-core/systemd/systemd/0001-Also-check-i386-i586-and-i686-for-ia32.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From 3e8c19bb1bbc4493c591f75c00c1fefe3b1c8a69 Mon Sep 17 00:00:00 2001 -From: Chen Qi <[email protected]> -Date: Tue, 27 Feb 2018 20:42:41 -0800 -Subject: [PATCH] Also check i386, i586 and i686 for ia32 - -Upstream-Status: Pending - -Signed-off-by: Chen Qi <[email protected]> ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 28cb8b60e..489531a43 100644 ---- a/meson.build -+++ b/meson.build -@@ -1217,7 +1217,7 @@ conf.set10('SYSTEMD_SLOW_TESTS_DEFAULT', slow_tests) - if get_option('efi') - efi_arch = host_machine.cpu_family() - -- if efi_arch == 'x86' -+ if efi_arch == 'x86' or efi_arch == 'i386' or efi_arch == 'i586' or efi_arch == 'i686' - EFI_MACHINE_TYPE_NAME = 'ia32' - gnu_efi_arch = 'ia32' - elif efi_arch == 'x86_64' --- -2.13.0 -
Signature · 1 line
1.9.1
Re: [PATCH 2/2] systemd-boot: upgrade to 239
With (musl/x86/security_flags) I am seeing these errors when systemd is enabled in distro features.
| Error relocating /home/jenkins/oe/world/oe-build/build/tmpfs/work/i586-bec-linux-musl/at-spi2-core/2.28.0-r0/recipe-sysroot//lib/libsystemd.so.0:__start_BUS_ERROR_MAP: symbol not found
| Error relocating /home/jenkins/oe/world/oe-build/build/tmpfs/work/i586-bec-linux-musl/at-spi2-core/2.28.0-r0/recipe-sysroot//lib/libsystemd.so.0:__stop_BUS_ERROR_MAP: symbol not found
There are several packages which are failing with same error telepathy-glib
at-spi2-core
gconf
avahi
polkit
libgnome-keyring
I think we dropped a patch which fixed this error
http://git.openembedded.org/openembedded-core/commit/?id=a54b025bfde774353aa278ca78fa0116c52b6d71
we need to revive it.
Quoted 77 lines · Chen Qi
Upgrade systemd-boot to 239.
The following patch is removed due to recent fix about meson's cpu family mapping and validation.
0001-Also-check-i386-i586-and-i686-for-ia32.patch
Signed-off-by Chen Qi <[email protected]>--- .../{systemd-boot_237.bb => systemd-boot_239.bb} | 5 ++-- ...01-Also-check-i386-i586-and-i686-for-ia32.patch | 28 ---------------------- 2 files changed, 2 insertions(+), 31 deletions(-) rename meta/recipes-core/systemd/{systemd-boot_237.bb => systemd-boot_239.bb} (91%) delete mode 100644 meta/recipes-core/systemd/systemd/0001-Also-check-i386-i586-and-i686-for-ia32.patchmeta/recipes-core/systemd/systemd-boot_239.bb renamed from meta/recipes-core/systemd/systemd-boot_237.bb +2
-3@@ -3,9 +3,8 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemd:" DEPENDS = "intltool-native libcap util-linux gnu-efi gperf-native" -SRC_URI += "file://0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch \ - file://0027-remove-nobody-user-group-checking.patch \ - file://0001-Also-check-i386-i586-and-i686-for-ia32.patch \ +SRC_URI += "file://0002-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch \ + file://0006-remove-nobody-user-group-checking.patch \ file://0001-Fix-to-run-efi_cc-and-efi_ld-correctly-when-cross-co.patch \ "meta/recipes-core/systemd/systemd/0001-Also-check-i386-i586-and-i686-for-ia32.patch deleted +0
-29@@ -1,28 +0,0 @@ -From 3e8c19bb1bbc4493c591f75c00c1fefe3b1c8a69 Mon Sep 17 00:00:00 2001 -From: Chen Qi <[email protected]> -Date: Tue, 27 Feb 2018 20:42:41 -0800 -Subject: [PATCH] Also check i386, i586 and i686 for ia32 - -Upstream-Status: Pending - -Signed-off-by: Chen Qi <[email protected]> ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 28cb8b60e..489531a43 100644 ---- a/meson.build -+++ b/meson.build -@@ -1217,7 +1217,7 @@ conf.set10('SYSTEMD_SLOW_TESTS_DEFAULT', slow_tests) - if get_option('efi') - efi_arch = host_machine.cpu_family() - -- if efi_arch == 'x86' -+ if efi_arch == 'x86' or efi_arch == 'i386' or efi_arch == 'i586' or efi_arch == 'i686' - EFI_MACHINE_TYPE_NAME = 'ia32' - gnu_efi_arch = 'ia32' - elif efi_arch == 'x86_64' --- -2.13.0 - --1.9.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core