summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2020-07-08coreutils: don't split stdbuf to own package with single-binaryRasmus Villemoes
Commit 992cec44 (coreutils: Move stdbuf into an own package coreutils-stdbuf) breaks package-qa when the single-binary PACKAGECONFIG is used: ERROR: coreutils-8.32-r0 do_package_qa: QA Issue: /usr/bin/stdbuf contained in package coreutils-stdbuf requires /usr/bin/coreutils, but no providers found in RDEPENDS_coreutils-stdbuf? [file-rdeps] ERROR: coreutils-8.32-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. With that PACKAGECONFIG, /usr/bin/stdbuf is just a simple "script" containing the single line #!/usr/bin/coreutils --coreutils-prog-shebang=stdbuf Since there's no point splitting stdbuf to its own package when all the functionality is in the single big coreutils binary anyway, fix this by not creating the separate stdbuf package for the single-binary case. But also make sure that the coreutils-stdbuf item always exists so recipes can always RDEPEND on coreutils-stdbuf. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08systemd: remove kernel-install from base pkgKonrad Weihmann
as this is already packaged in kernel-install package, it shouldn't be part of the base package Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03dropbear: update to 2020.80Andrej Valek
License-Update: changed date and added info about existence LICENSE files in libtomcrypt and libtommath folders Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03busybox: 1.31.1 -> 1.32.0Andrej Valek
- update to last stable version 1.32.0 - remove and refresh already merged patches Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30deploy.bbclass: Clean DEPLOYDIR before do_deployDaniel Klauer
do_deploy should clean up ${DEPLOYDIR} before running, just like do_install cleans up ${D} before running. This reduces the risk of DEPLOYDIR being accidentally contaminated by files from previous runs, possibly even with different config, in case of incremental builds. It is convenient to have this in deploy.bbclass, so it doesn't have to be duplicated in every recipe, considering for example meta-freescale, which has 23 affected recipes. All recipes using deploy.bbclass (grep -r 'inherit .*deploy') in poky, meta-openembedded and meta-freescale look like they either benefit from this or are at least not affected negatively by it. The only exception I've noticed was uboot-sign.bbclass, which was however fixed by the previous patch. Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30initscripts: update postinstChangqing Li
in container image, it don't have init system, install package initscripts will report error: systemctl: command not found fix by use same way as systemd.bbclass to decide if systemctl mask will run Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28ovmf: build natively everywhereRoss Burton
The OVMF target binaries are (currently) x86-specific, but the native tools to build them are not. Make the COMPATIBLE_HOST assignment target-specific, so that the native tools can be built on an arm64 build server. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28dropbear: update 2019.78 -> 2020.79Alexander Kanavin
Refresh dropbear-disable-weak-ciphers.patch as some weak items have been dropped upstream. License-Update: curve25519 changed to public domain Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28musl: Update to tip of masterKhem Raj
Detailed changelog [1] Refresh patches [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=1b4e84c56df0f8ca30f6bc05962a860f869e71df..fca7428c096066482d8c3f52450810288e27515c Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23tools-profile: disable valgrind for powerpc soft-floatValentin Longchamp
Since valgrind does not build for powerpc soft-float, disable it from the tools-profile packagegroup so that it can still be enabled for such architectures (but without valgrind of course). Signed-off-by: Valentin Longchamp <valentin@longchamp.me> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23grub: Remove native version of grub-efiJacob Kroon
The native version of grub-efi only installs the tools /usr/bin/grub-editenv /usr/bin/grub-mkimage to sysroots-components/, but equivalent tools are already provided by grub-native, the difference on x86_64 being 4 hardwired paths in grub-mkimage (values taken from grub-native): LOCALEDIR = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/usr/share/locale GRUB_DATADIR = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/usr/share GRUB_LIBDIR = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/usr/lib GRUB_SYSCONFDIR = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/etc If grub-native and grub-efi-native are built with the following patch --- grub-2.04.orig/configure.ac +++ grub-2.04/configure.ac @@ -1980,10 +1980,10 @@ grub_libdir="$(eval echo "$libdir")" grub_localedir="$(eval echo "$localedir")" grub_datadir="$(eval echo "$datadir")" grub_sysconfdir="$(eval echo "$sysconfdir")" -AC_DEFINE_UNQUOTED(LOCALEDIR, "$grub_localedir", [Locale dir]) -AC_DEFINE_UNQUOTED(GRUB_LIBDIR, "$grub_libdir", [Library dir]) -AC_DEFINE_UNQUOTED(GRUB_DATADIR, "$grub_datadir", [Data dir]) -AC_DEFINE_UNQUOTED(GRUB_SYSCONFDIR, "$grub_sysconfdir", [Configuration dir]) +AC_DEFINE_UNQUOTED(LOCALEDIR, "/non-existent", [Locale dir]) +AC_DEFINE_UNQUOTED(GRUB_LIBDIR, "/non-existent", [Library dir]) +AC_DEFINE_UNQUOTED(GRUB_DATADIR, "/non-existent", [Data dir]) +AC_DEFINE_UNQUOTED(GRUB_SYSCONFDIR, "/non-existent", [Configuration dir]) the produced grub-editenv/grub-mkimage binaries become binary equivalent, assuming reproducible builds is active. Since the unpatched values of LOCALEDIR/GRUB_DATADIR/GRUB_LIBDIR/GRUB_SYSCONFDIR point to directories that are not expected to exist at runtime, they can be ignored. Therefore: * remove grub-efi-native and instead rely on the same tools from grub-native * replace references to grub-efi-native with grub-native * remove unused grub-efi-native security flags overrides Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23systemd-serialgetty: do not use BindsToChen Qi
This unit was changed from 'BindsTo' in the following commit. """ commit f0f359ec9210759f6b4dbfb35d3fba8af208c43a Author: Jason Wessel <jason.wessel@windriver.com> Date: Thu Aug 29 07:00:31 2019 -0700 serial-getty@.service: Allow device to fast fail if it does not exist """ It was changed back to 'BindTo' in the following commit. """ commit 63bbff61b78c651339c4b18d8376187379ec3b3c Author: Otavio Salvador <otavio.salvador@gmail.com> Date: Fri Jun 12 14:30:44 2020 -0300 systemd: Sync systemd-serialgetty@.service with upstream """ This is now causing runtime problem for qemuarm64. The default.target is not reached until a timeout. Output is like below. """ root@qemuarm64:~# systemd-analyze Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0). Please try again later. Hint: Use 'systemctl list-jobs' to see active jobs root@qemuarm64:~# systemctl list-jobs JOB UNIT TYPE STATE 102 getty.target start waiting 1 multi-user.target start waiting 95 systemd-update-utmp-runlevel.service start waiting 110 serial-getty@hvc0.service start waiting 111 dev-hvc0.device start running """ We can see that we are waiting for /dev/hvc0, while in fact there's no /dev/hvc0. Jason's commit actually solves such problem. So restore to use Jason's method. Do not use 'BindsTo'. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23dbus,dbus-test: Move common parts to dbus.incOvidiu Panait
dbus and dbus-test share the same source code and base configuration options, so factor out the common parts into dbus.inc. This way we can eliminate the need to keep the two recipes in sync. When they are not properly in sync (e.g. when dbus recipe has extra patches/config options that are not duplicated in dbus-test) ptest testsuite will actually test a slightly different codebase. This is due to the fact that dbus-test does not run the testsuite against the system libdbus library, but instead it generates a local libdbus.so that needs to configured/compiled as close as possible to the system one. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23dbus-test: Remove EXTRA_OECONF_X configsOvidiu Panait
X specific configs are already handled through PACKAGECONFIG: PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)}" ... PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm" Remove duplicated EXTRA_OECONF_X args. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-22ell: upgrade 0.31 -> 0.32Pierre-Jean Texier
This is a bugfix release: ver 0.32: Fix issue with handling D-Bus watch removal. Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17systemd-conf: Accept MTU from DHCPDan McGregor
From: Daniel McGregor <daniel.mcgregor@vecima.com> Many local cloud deployments use MTUs other than 1500. To support them, accept MTU from DHCP by default. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15systemd: Sync systemd-serialgetty@.service with upstreamOtavio Salvador
The systemd upstream has been doing some improvements in the service which were not in sync, with the forked file. Mainly: - Use BindsTo to bind the service with the required serial device - Add of getty-pre.target as dependency so we can run things before getty@.service and serial-getty@.service - Add conflicts to rescue to avoid issues with sulogin We did not change the ExecStart and Environment fields so we don't have side effects of this change. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15buildtools-tarball: export OPENSSL_CONF in environment setupSteve Sakoman
The autobuilder has been experiencing SSL: CERTIFICATE_VERIFY_FAILED errors during error report uploads when using buildtools due to looking for certs in /opt/poky Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12systemd: fix CVE-2020-13776Joe Slater
Backport from systemd.git. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12sysvinit-inittab: Add support for tty devices with 10 or more number.Yuki Hoshino
"start_getty" support for tty devices with under 10 number. When SERIAL_CONSOLES has tty devices with 10 or more number, do not't start getty and output the following message. ---------- sh 1: unknown operand ---------- Signed-off-by: Yuki Hoshino <yuki.hoshino@miraclelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12meta: Don't inherit 'features_check' in recipes that don't utilize itJacob Kroon
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10glib-networking/btrfs-tools/dosfstools/parted/bmap-tools/libsoup-2.4: add ↵Hongxu Jia
nativesdk support In order to make wic tool work in sdk which is out of an existed Yocto build, it needs to port wic tool as a nativesdk recipe. First, make these runtime depends recipes to support nativesdk Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-08build-sysroots: add sysroot paths with native binaries to PATHAlexander Kanavin
staging_populate_sysroot_dir() collects postinsts from the sysroot and executes them. These postinsts, in turn, may call binaries that are only available from the sysroot. This works fine with recipe-specific sysroots, as all necessary paths are already in PATH, but breaks down in this recipe which imitates the old global sysroot way but doesn't adjust the PATH to include the binary paths from global sysroot. To reproduce the failure: $ bitbake docbook-xml-dtd4-native $ bitbake -c build_native_sysroot build-sysroots ... Exception: subprocess.CalledProcessError: Command '/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog' returned non-zero exit status 127. Subprocess output: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: 5: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: xmlcatalog: not found /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: 8: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: xmlcatalog: not found Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-08init-system-helpers: use https for fetchingAlexander Kanavin
git:// protocol seems to be down. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-08ovmf: update to 202005Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04initramfs-framework: check successful mount using mountpointStefan Agner
Instead of checking for existence of /dev in the mounted file system use mountpoint to check if a root file system has been mounted. This allows to use the rootfs module for OSTree based rootfs as well, where the file system rootfs does not have any of the regular directories (at least when using the modern layout). Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04glibc: move ld.so.conf back to main packageRasmus Villemoes
There are cases where one doesn't want ldconfig on target (e.g. for read-only root filesystems, it's rather pointless), yet one still needs ld.so.conf to be present at image build time: When some recipe installs libraries to a non-standard location, and dutifully drops in a file in /etc/ld.so.conf.d/foo.conf, we need the ld.so.conf containing the include /etc/ld.so.conf.d/*.conf stanza to get those other locations picked up. So change the packaging logic so that there's always an ld.so.conf present when the build-time ldconfig runs. The ld.so.conf and ld.so.conf.d/*.conf files don't take up much room (at least not compared to the 700K binary ldconfig), and they might be needed in case ldconfig is installable, so leave them alone. In case of a read-only rootfs, one could add some logic to remove them if one really wants to shave those few dozens of bytes off. While here, fix typos in the bb.note (add spaces) so one can just copy-paste the line from the log-file and redo the command. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04dbus-test: upgrade 1.12.16 -> 1.12.18Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04dbus: upgrade 1.12.16 -> 1.12.18Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04glib-networking: 2.64.2 -> 2.64.3Lee Chee Yang
update to 2.64.3 which include fix for CVE-2020-13645, see: https://gitlab.gnome.org/GNOME/glib-networking/-/issues/135 Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04init-system-helpers: avoid superfluous update-rc.dJens Rehsack
Debians init-system-helpers bundle an own, perl written update-rc.d which doesn't fulfill embedded/cross-build requirements as our own in meta/recipes-core/update-rc.d does. To avoid unnecessary conflicts or questions, do not bundle it by default. Whoever wants it is invited to have an .bbappend. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04initscripts/init-system-helpers: fix mountnfs.sh dependencyJens Rehsack
With commit c9fc9110be33fe0f24bc3a7c242b584a4ca33e04 Author: Yue Tao <Yue.Tao@windriver.com> Date: Fri May 25 10:48:08 2018 +0800 initscripts: Avoid starting rpcbind daemon twice Check the status before start it to avoid duplicates. the use of a script {/usr/sbin/}service is introduced - maybe earlier provided by systemd, nowadays mostly by init-system-helpers from debian project. For the very first shot, maybe discussions and improvements based on that script collection, use just the init-system-helpers-service in initscripts/mountnfs.sh to avoid problems mounting NFS in later boot stage. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04glib-2.0: 2.64.2 -> 2.64.3Lee Chee Yang
remove patch which already upstream https://gitlab.gnome.org/GNOME/glib/-/commit/3c5512222c203d916a0a2a02312d8415f921dce9 Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04systemd: upgrade v245.5 -> v245.6Alex Kiernan
Commits: aa0cb635f1f6 network: L2TP fix crash 9774347b5775 Fix typo. 2cac801f0f37 stat-util: trivial empty_or_null() tweaks b054e69bf98e Check ambient set against bounding set prior to applying ambient set bed695375abc udev: when the BSD lock on a block device is taken, don't complain 66fcfdfde7d9 core: add forgotten return in error path 05dd19fad320 shared/efi-loader: remove check that uses absolute tick value 753a71ad1d0e gpt: include homed GPT partition type in well-known partition table 366872204933 units: don't set PrivateNetwork= in systemd-homed.service 2bca2d77d37d resolved-dns-query: remove dns_query_candidate_is_routable a3f60204325a sd-network: fix inverted error message a7a9fe3c930d network: allow empty assignment to PreferredLifetime= 8df6fc1241d1 Update resolvectl zsh completion c1a83277d086 shared: treat generator units as vendor units 1f382d818dd0 tree-wide: fix bad errno checks 667c2076838f bus-message: immediately reject messages with invalid type 116a8eadb6ad bus-message: fix negative offset with ~empty message 4d5779d886d0 load-fragment: fix a typo c8b6de003a07 NEWS: retroactively document Family= cf6b8e6ec524 man: fix dir name in sysctl.d(5) 6d009b7a25b1 journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable cf786ef1643e makefs: log about OOM condition 0b1839822f9e blockdev: propagate one more unexpected error d78ce949d001 repart: don't insist on coming up on partition label ourselves 9e1363fcc65f journal: fix dropping first record during upload to remote journal 50cb4e418dab meson: initialize time-epoch to reproducible builds compatible value 76abe079b79a limit-util: quieten a very common debug message that is misleading b3e484a3b133 shared: fix integer overflow in calendarspec 0c29eea9691d repart: suppress complaints about lack of BLKRRPART when operating on regular file 3db52f5ed840 repart: explain when we exit early and don't do a thing d99cba3aaa8c mount: introduce mount_is_nofail() helper 7bc4bcea15aa mount: default startup dependencies and default network ones are orthogonal 7fe617fa5381 mount: introduce mount_add_default_ordering_dependencies() e1c091b6d4c5 automount: fix handling of default dependencies for automount units ae05a137c9d4 mount: let pid1 alone handle the default dependencies for mount units f1fb1971767d mount: mount unit activated by automount unit should be only ordered against the automount unit c9bcc69703c1 generator: don't generate device dependencies for extrinsic mounts ebac09ea0a4e fstab-util: introduce fstab_is_extrinsic() a20e4ea0ed98 device: drop refuse_after 2799fffac1eb man: drop some left-over mentions of StandardOutput=syslog 144aff9c3beb sd-netlink: remove unused RTNL_WQUEUE_MAX define 34ca8df8e131 test: Add return 0 to main() function (even it is not strictly necessary) 6e03f328a939 network: 'cur' variable cannot be null, so simplify code 8d0c97f6ca3c tree-wide: Initialize _cleanup_ variables if needed 4f174e49aef8 netlink: Fix assert condition on n_containers 3905ce532c86 journald: Increase stdout buffer size sooner, when almost full 5a37eb7c6155 core: don't bind varlink socket if running in test mode 33fff72ce665 pam_systemd: also print debug lines when ending a session ba9af79ccbab pam_systemd_home: use correct macro for converting ptr to fd 619923548961 Fix misuse of PAM_PROMPT_ECHO_OFF in systemd-homed c180a2c4520e shared/ethtool-util: hush gcc warnings about array bounds 1addba4aac47 core: fix compilation with gcc -O3 9c46b97161c7 random-util: use ERRNO_IS_NOT_SUPPORTED() macro d85f9093d2f5 tmpfiles: clarify that "!" lines are filtered before collisions are checked 2fac966a5ca3 man: mention the exclamation mark and minus sign literally, to make things searchable 4f61be3373e3 man: clarify that exit status name mappings are unaffected by SuccessExitStatus= b747d74a4102 seccomp-util: add new syscalls from kernel 5.6 to syscall filter table c30d8caf8b3d tree-wide: Replace assert() by assert_se() when there is side effect b6e8e3be7e48 networkctl: use uint64_t for link speed throughout be66ce60891d tree-wide: use CMSG_SPACE() (and not CMSG_LEN()) to allocate control buffers 1cb197798a40 man: suffix pam options with "=" where arg is required too a5fe01d3da4c test: Use assert_se() where variables are only checked by assert 6960efd19892 tree-wide: Fix, replace assert() by assert_se() when there is side effect 93c1b0307496 tree-wide: Mark as _unused_ variables that are only used in assert() c7679d7a9f01 tree-wide: Workaround -Wnonnull GCC bug 073b257fd760 man: bring example PAM snippet of pam_systemd and pam_systemd_home back in sync 855291a81ca6 man: highlight relevant lines in pam_systemd_home.so example PAM snippet f89ad7c0fdd9 login: include pam_systemd_home.so in the default PAM snippet we ship for user@.service 9357f9466f80 test: Skip test-boot-timestamps on permission denied cad4ebe14e9e sysusers: be extra careful when locking accounts 551e6f233a52 shared/install: print name of offending file in error c6a2e5123206 systemctl: fix --root support in querying presets 6f1eedbfdda5 systemctl: fix hint when 'systemctl help' is given 925521df7c86 shared/unit-file: fix resolution of absoulute symlinks with --root 756ba362e873 man: mention that ProtectSystem= also takes care of /efi 4f77cf43b5de man: systemd.service: systemd-analyze exit-codes -> exit-status 7c6ea7a0534c man: expand on the star…end/repetition time expressions e06b9407928c calendarspec: be more graceful with two kinds of calendar expressions f3dd0b476d9d calendarspec: minor simplification 3581c16d5681 shutdown: fix spacing in shutdown error message 9556255349ff nspawn: mount custom paths before writing to /etc 37447b7e78ad repart: fix partition maximum size segfault 7f231ba503e7 link: Add units and fix typo in (Rx|Tx)BufferSize= manpage. Clean up the implementation slightly e75d2cdb0b22 main: bump RLIMIT_MEMLOCK by physical RAM size e16b9a1e31bf nspawn: be more careful with creating/chowning directories to overmount 765d184a6976 homectl: say "home area" in more places c11bff4fa72b userdbctl: make --help fit in 80 columns 0e56c2ef3fe3 shell-completion/zsh: update systemd-analyze completions 2bb580f9942d zsh: fix disable/enable completion 607a19a30936 cgroup-util: check for SYSFS_MAGIC when detecting cgroup format ddb3c38efce1 stat-util: no need to open a file to check fs type bd8842304c87 sysusers,tmpfiles: always mention error when failing to replace specifiers bdea9b65d21a sysusers: add accidentally forgotten 'return' 17b059774dd4 man: document binfmt's new --unregister switch 560380d8ec94 binfmt: also unregister binfmt entries from unit 80835d9c51bd binfmt: modernize code a bit a1745741b82f shutdown: unregister all binfmt_misc entries before entering shutdown loop b637445950c8 shared: add common helper for unregistering all binfmt entries 0215625e9927 home: fix strv NUL termination 038988baa14e networkd: don't do lldp rx nor tx on bond devices 9512d576d9f3 sd-bus: Fix typo in sd_bus_message_append_array docs 63cef71dd068 shared: add NULL callback check in one more place 6b91ca22a2e5 core: fix unused variable warning when !HAVE_SECCOMP f7c1c79c576d udev: prepare memory for extra NUL termination for NULSTR 69e0ef0d99ec tree-wide: use recvmsg_safe() at various places cd0a84d4e956 socket-util: add recvmsg_safe() wrapper that handles MSG_CTRUNC 2bb48c704b8d sd-bus: work around ubsan warning c147bba1fb4a shared: Don't try calling NULL callback in bus_wait_for_units_clear f907491463ac run: don't wait for start job to complete when running interactively anyway d3d1550a5d98 man: Fix typo "multiplied with" -> "multiplied by" ae5a9f27c5e5 core: make sure we don't get confused when setting TERM for a tty fd a07d3eaf7657 man: document that VirtualEthernetExtra= has nothing to do with Bridge= 35fe81078eb1 core: add debug log when a job in the activation queue is not runnable a0cd882be891 core: add log_get_max_level check optimization in log_unit_full 2a6ad1093c3c util: return the correct correct wd from inotify helpers 9ec244c5c121 core: minor error code handling fixes a799283c91f6 man: document how to get the boot menu with zero time-out 7263e86c8dd8 resolved: return org.freedesktop.resolve1.DnsError.NXDOMAIN on LLMNR resolution failure 6eab4c2b3ece man: use manpages.ubuntu.com for resolvconf(8) link 75ccec5cde54 man: add a note that resolvconf updates /etc/resolv.conf in specific circumstances 3e3a31743a45 resolvectl: fix indentation of hexdump'ed packets 6576058fab75 journald: add configuration option for enabling/disabling audit during journald startup 52c5909f15ff man/systemd-service: clarify env variable expansion ac08df59c0db resolved: fix typo in an unused function and add comment Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-03sysfsutils: rem leftover settings for libsysfs-devKonrad Weihmann
22af6a2595dbec98ce4a2e3b1324ad8d400390ad removed the PACKAGES setting, but left the FILES-assignments of libsysfs-dev and -staticdev. As these have no use anymore they can be safely removed Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-03gettext: update 0.20.1 -> 0.20.2Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-03util-linux: alternatify rtcwakeMarco Felsch
This tool can be turned on in busybox which lead into a error during do_rootfs. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30util-linux: upgrade 2.35.1 -> 2.35.2Wang Mingyu
0001-hwclock-fix-for-glibc-2.31-settimeofday.patch 0001-kill-include-sys-types.h-before-checking-SYS_pidfd_s.patch 0001-libfdisk-script-accept-sector-size-ignore-unknown-he.patch are removed since they are included in 2.35.2 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30core-image-minimal-initramfs: keep restriction with initramfs-module-installhongxu
Since commit [882ae0dcce core-image-minimal-initramfs: use initramfs-framework for initialization] applied, it should keep the restriction with initramfs-module-install Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27multilib/recipes: Use new RecipePostKeyExpansion eventRichard Purdie
There are issues with multilib due to the ordering of events where some functions see the remapped multilib dependencies and some do not. A significant problem is that the multilib class needs to make some changes before key expansion and some afterwards but by using existing event handlers, some code sees things in a partially translated state, leading to bugs. This patch changes things to use a new event handler from bitbake which makes the ordering of the changes explcit. The challenge in doing this is that it breaks some existing anonymous python and dyanmic assignments. In some cases these used to be translated and no longer are, meaning MLPREFIX has to be added. In some cases these are now translated and the MLPREFIX can be removed. This change does now make it very clear when MLPREFIX is required and when it is not, its just the migration path which is harder. The patch changes the small number of cases where fixes are needed. In particular, where a variable like RDEPENDS is conditionally extended (e.g. with an override), MLPREFIX is now required. This patch also reverts: base: Revert 'base.bbclass: considering multilib when setting LICENSE_EXCLUSION' This reverts 6597130256a1609c3e05ec5891aceaf549c37985 as the changes to multilib datastore handling mean its no longer necessary. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-22musl: Update to tip of masterKhem Raj
Detailed changes [1] [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=040c1d16b468c50c04fc94edff521f1637708328..1b4e84c56df0f8ca30f6bc05962a860f869e71df Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19libxcrypt: Upgrade to 4.4.16Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18glibc: Do not synthesize wordsize.h for arm multilibsKhem Raj
This has been constant source of trouble, because it is fundamental file which sets machine word length and everything else builts on top of that so when it is sythesized like this, where the sythesize template itself needs wordsize.h to determine machine word length, it creates the catch-22 problem, which is seen when building things like bpf, or running clang-tidy etc. where compiler internal defines may not be used this ends up in all sorts of problems. Now that glibc provides exact same header for arm and aarch64, its no longer needed to be multilibbed here Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18glibc: Unify wordsize.h for arm and aarch64Khem Raj
Should help simplify multilib in arm world Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14glib-2.0: Fix stpcpy detection for mingwKhem Raj
Backport an upstream patch to fix it Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14glibc: Update to latest on 2.31 branchKhem Raj
There are few fixes specifically for compiling with gcc10 that are good to have, before hitting them later Backport build fix from master for aarch64 with gcc10 Drop CVE-2020-10029 patch its already applied on latest 2.31 branch latest glibc 2.31 added fix for __getauxval/aarch64 issue Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14libxcrypt2: Remove -fcommonAdrian Bunk
This was fixed in upstream version 4.4.12. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07busybox: disable i2ctransferBartosz Golaszewski
I2C tools are built by default in busybox. OE-core on the other hand disables them all in the busybox defconfig except i2ctransfer. Since this looks like an oversight, this patch proposes to disable this tool as well. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07ovmf: update to 202002Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05glib-networking: update to 2.64.2Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>