Re: [OE-core] [PATCH 1/3] systemd: upgrade to 239

2018-07-13 Thread Koen Kooi



> Op 12 jul. 2018, om 12:03 heeft Chen Qi  het volgende 
> geschreven:
> 
> Upgrade systemd to 239.



When enabling importd I get:

WARNING: systemd-1_239-r0 do_package: QA Issue: systemd: Files/directories were 
installed but not shipped in any package:
  /usr/share/dbus-1/system.d/org.freedesktop.import1.conf

So you need something like this on top of your patchset:

@@ -379,6 +379,7 @@ FILES_${PN}-container = 
"${sysconfdir}/dbus-1/system.d/org.freedesktop.import1.c
  ${libdir}/libnss_mymachines.so.2 \
  
${datadir}/dbus-1/system-services/org.freedesktop.import1.service \
  
${datadir}/dbus-1/system-services/org.freedesktop.machine1.service \
+ 
${datadir}/dbus-1/system.d/org.freedesktop.import1.conf \
  
${datadir}/dbus-1/system.d/org.freedesktop.machine1.conf \
  
${datadir}/polkit-1/actions/org.freedesktop.import1.policy \
  
${datadir}/polkit-1/actions/org.freedesktop.machine1.policy \

regards,

Koen
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/3] systemd: upgrade to 239

2018-07-12 Thread Khem Raj
thanks this looks good to me now.
On Thu, Jul 12, 2018 at 4:07 AM ChenQi  wrote:
>
> Remote branch was just updated to remove the following comment.
>
> +# patches made for musl are only applied on TCLIBC is musl
> +SRC_URI += "${SRC_URI_MUSL}"
>
>
> Regards,
> Chen Qi
>
>
> On 07/12/2018 06:03 PM, Chen Qi wrote:
> > 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.
> >
> > 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.
> >