summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* build-appliance: Correct branch to gatesgarthRichard Purdie2020-12-071-1/+1
| | | | | | (From OE-Core rev: feb77e322fa13495550b98e3924d24df1560156d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to gatesgarth head revisionRichard Purdie2020-12-071-1/+1
| | | | | | (From OE-Core rev: e525592e83062ed9a9b2d3cb37c8dbbcfe8759a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eudev: remove bashism to be compatible with dashFedor Ross2020-12-031-1/+1
| | | | | | | | | | | | | | | | Remove 'echo -e' and replace it with 'printf'. In bash the builtin 'echo' has an option for interpreting backslash escapes. In a shell like dash the builtin 'echo' interprets backslash escapes by default. Therefor the 'echo' in dash doesn't have the '-e' option. When using 'printf' instead it is safe to use it either with bash or dash. (From OE-Core rev: af5a68b545fda9013bbe8f07a2175a04e950d768) Signed-off-by: Fedor Ross <fedor.ross@ifm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c747acca33f84879a1ebd0ef972c07f4d5dff8b7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: remove bashism to be compatible with dashFedor Ross2020-12-031-1/+1
| | | | | | | | | | | | | Replace the equality operator '==' with '=' inside of '[]' to be compatible with bash and dash. (From OE-Core rev: f3dbd50d3af6ff6ef6d2d5a64691c0861a19a733) Signed-off-by: Fedor Ross <fedor.ross@ifm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b7f0ec6eafb35117eaf4eeef281162080f0ca79a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: RDEPEND on dbusmock only when GI_DATA_ENABLED is TrueAnuj Mittal2020-12-031-1/+1
| | | | | | | | | | | | | python3-dbusmock depends on pygobject unconditionally and it's not going to work if g-i is disabled. (From OE-Core rev: 881986b4032d893464dbcbd7e7e114b454af0a1b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b70627e2818ded74be862ad8650e19bf1fe9bd43) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-core/busybox: fixup licensing informationYann E. MORIN2020-11-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 7d32417b4d (busybox: Correct the name of the bzip2 license) changes the licesne from 'bzip2' to 'bzip2-1.0.6' on the rationale that the 'bzip2 license was renamed from "bzip2" to "bzip2-1.0.6" [...] to match the official SPDX identifier.' Though the above is true for the bzip2 and pbzip2 packages, the bzip2 code bundled in busybox is a copy from the bzip2 1.0.4 version, not the 1.0.6 version. As such, using bzip2-1.0.6 is wrong. Unfortunately, there is no official SPDX license identifier for this bzip2 1.0.4 version, so we just mimick the existing ones (bzip2-1.0.5 and bzip2-1.0.6) by using bzip2-1.0.4. Also, there is a license file attached to that, so we add it to the list. (From OE-Core rev: 6238ee3ecd385cbadd8e75eb8b22a96d9cb13639) (From OE-Core rev: fb590d12a0979e0db69e9d7b0cb605467f678000) Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Alexandre BELLONI <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0776bf6600c42cec2961d3f6d33c8c9c09cbb1ce) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* netbase: Add whitespace to purge bogus hash equivalence from autobuilderRichard Purdie2020-10-301-0/+1
| | | | | | (From OE-Core rev: 57173fd5a02a01654c4eb8f36d363002cdedc60d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* netbase: update SRC_URI to reflect new file nameSteve Sakoman2020-10-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The netbase_6.1.tar.xz file was removed and replaced with netbase_6.1_bpo10+1.tar.xz. File contents are identical except for the changelog: $ diff -rup netbase-6.1 netbase-6.1~bpo10+1/ diff -rup netbase-6.1/debian/changelog netbase-6.1~bpo10+1/debian/changelog --- netbase-6.1/debian/changelog 2020-02-16 13:22:04.000000000 -1000 +++ netbase-6.1~bpo10+1/debian/changelog 2020-08-26 23:10:59.000000000 -1000 @@ -1,3 +1,9 @@ +netbase (6.1~bpo10+1) buster-backports; urgency=medium + + * Rebuild for buster-backports. (Closes: #969058) + + -- Arturo Borrero Gonzalez <arturo@debian.org> Thu, 27 Aug 2020 11:10:59 +0200 + netbase (6.1) unstable; urgency=medium * services: added isakmp (500/udp) which was removed by mistake in [YOCTO #14084] (From OE-Core rev: d8a09c2fcf2f8c91b7e3fea16f5c484e56187bbf) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-ifupdown: Merge all interface files for differnet qemusKhem Raj2020-10-3012-79/+0
| | | | | | | | | | | | | all these were exact copies, therefore just use qemuall to house this file as it will be same across all qemu machines Additionally, it can support out of tree qemu definitions better eg. qemuppc64 (From OE-Core rev: 7822880443ba474431a6a2c43c52406be995d9d4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-ifupdown: Define interfaces file for riscv emulatorsKhem Raj2020-10-302-0/+16
| | | | | | | (From OE-Core rev: 24d7c6224533b64c6c1f1a7d4c523dfb61a3c23b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionyocto-3.2gatesgarth-24.0.0Richard Purdie2020-10-261-1/+1
| | | | | | (From OE-Core rev: d3114ca369792201a5316c1ede29eb72f0868d35) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-profile: Remove lttng-tools and perf for rv32/glibcKhem Raj2020-10-261-1/+2
| | | | | | | | | They still lack riscv32 ports (From OE-Core rev: 8fdc92e023d6f8bf98d81f2bcc495fc9efe826de) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix parsing of slim encoded tzdataRoss Burton2020-10-262-0/+459
| | | | | | | | | | | | | As of tzcode 2020b the timezone data is encoded using the 'slim' format instead of the previous 'fat'. This exposes a number of bugs in GLib, so backport the fixes to improve the parser. [ YOCTO #14106 ] (From OE-Core rev: 09aec7ea87ffc28d1b22d904b20dc23ea55225c9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2020-10-201-1/+1
| | | | | | (From OE-Core rev: ea8ba9a15bcec7f5fbce1f40170298f87a808249) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-debug: Disable for rv32/glibc as wellKhem Raj2020-10-201-1/+1
| | | | | | | | | strace for rv32 is not yet ported (From OE-Core rev: bec777887e7eed9a12b08231a612aaf19b622614) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: only include upstream releases in version checkAlexander Kanavin2020-10-201-1/+1
| | | | | | | (From OE-Core rev: 7381ec1e55ebe0f79a6e93076c0f146b988f9f13) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: add rev and pgrepakuster2020-10-173-0/+4
| | | | | | | (From OE-Core rev: a288c0f440b0e3f63213798ec977a3b44339764b) Signed-off-by: akuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to masterKhem Raj2020-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following changes, supports linux 5.8 syscalls [1] * a5aff197 avoid set*id/setrlimit misbehavior and hang in vforked/cloned child * 55fb9a17 use new SYS_faccessat2 syscall to implement faccessat with flags * f035c7b1 netinet/if_ether.h: add ETH_P_MRP from linux v5.8 * 6b1741aa elf.h: add .note.gnu.property related definitions * 9b7ed970 bits/syscall.h: add __NR_faccessat2 from linux v5.8 * 616a8bf6 netinet/tcp.h: update to linux v5.7 * a6c302be sys/mman.h: add MREMAP_DONTUNMAP from linux v5.7 * 8adf42f7 sys/fanotify.h: update to linux v5.7 * 94ab68c2 aarch64: add new HWCAP2_ macros from linux v5.6 * 0296baff aarch64: add HWCAP2_ macros from linux v5.3 * 43b640c2 sched.h: add CLONE_NEWTIME from linux v5.6 * 3da18e69 sys/random.h: add GRND_INSECURE from linux v5.6 * 8f4aa78a sys/prctl.h: add PR_{SET,GET}_IO_FLUSHER from linux v5.6 * 1ab341e8 netinet/udp.h: add TCP_ENCAP_ESPINTCP from linux v5.6 * c6321616 netinet/tcp.h: update for linux v5.6 * 8fca0ea4 netinet/in.h: add IPPROTO_ macros from linux v5.6 * d9900903 add pidfd_getfd and openat2 syscall numbers from linux v5.6 * d4f29814 netinet/tcp.h: update tcp_info for linux v5.5 [1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=ffac0c229986725c0d0f3c806bafa7e3ca409f3b..a5aff1972c9e3981566414b09a28e331ccd2be5d (From OE-Core rev: e104d235cb14f0d58bfefe48e3888430503ba619) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: do_stash_locale must not delete files from ${D}Richard Purdie2020-10-061-1/+0
| | | | | | | | | | | do_stash_locale doesn't run in fakeroot context, do_install does. We therefore shouldn't delete files that do_install has added or it leaves potentially problemtic entries in the fakeroot database. Leaving the files around doesn't change or break anything else. (From OE-Core rev: f18817f5340d06f7b4bb846a83b48731a1b9c4bc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Use ROOTPREFIX without suffixed slash in systemd.pc.inKhem Raj2020-10-062-0/+38
| | | | | | | (From OE-Core rev: 797faa735887bb5687eeca7af5d320d530e5238e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: improve coreutils-ptest RDEPENDSRoss Burton2020-10-061-1/+1
| | | | | | | | | | | | | | | | | | Add perl-modules to the RDEPENDS to avoid having to list all perl modules that are required, as this package isn't going to be installed outside of testing builds. Remove libmodule-build-perl from RDEPENDS, it appears that this isn't needed anymore. With and without this package the test results on my image are the same: 619 tests, 462 pass, 154 skip, 3 fail. This *drastically* reduces the build impact of enabling ptest as packagegroup-core-build-essential (thus target gcc) is in the dependency chain. (From OE-Core rev: 7937da462b588403400755d264db0edde74aa4dc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Drop 0023-Fix-field-efi_loader_entry_one_shot_stat-has-incompl.patchKhem Raj2020-09-303-45/+7
| | | | | | | | | | | | | This patch is no longer needed as upstream has added including part of this include list, perhaps thats all is what was needed to make it portable Refresh 0001-Handle-missing-gshadow.patch (From OE-Core rev: 0f5d9d8cc5d05a7a485e4cb89b37d06ea0d05d23) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Space-comma CleanupsJon Mason2020-09-301-1/+1
| | | | | | | | | | | | | Multiple files have " ," instead of ", " in expressions. This changes them to conform to the way the rest of them are done. Found and corrected via: git ls-files | xargs sed --follow-symlinks -i 's/ ,d/, d/g' (From OE-Core rev: 36c3afd2dd8bded02ea8f255e89a09ebd75c795b) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: make nscd optionalRoss Burton2020-09-301-1/+3
| | | | | | | | | | | | | | NSCD itself is already packaged into its own package, but if it is never going to be needed then it can be disabled and it won't be called from glibc at all. Add a PACKAGECONFIG for NSCD that is enabled by default. As a side effect if NSCD is disable, glibc with and without systemd is binary identical, which helps sstate reuse. (From OE-Core rev: 6ba3e164d7afb69bddd546957331d0de7cb0a10b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade v246.2 -> v246.6Andrew Geissler2020-09-243-83/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-Use-PREFIX-ROOTPREFIX-correctly.patch was fixed fix the following: https://github.com/systemd/systemd/pull/17009 2ee1c57c4f (tag: v246.6) kernel-install/90-loaderentry: fix when /boot is not mountpoint a2a8802abe homed: make clean that --storage=directory --image-path=/dev/some-block-device is not supported e1df274a76 homed: make sure our worker processes finish before we exit f2763ff6cd nspawn: fix fd leak on failure path 6f9c8af500 nspawn: check return of setsid() 31875b3cb0 dissect: is_loop_device() returns negative on error, don't mistake that is true 418cf0e78c dissect: always invalidate secondary arch partitions if we found primary arch 1d17c00260 util: wireguard is merged into upstream kernel 48a308b76a repart: don't mark image files generated with --empty=create executable 9353607ef3 man: substitute path to rc.local in the man page f2b9345cd2 meson: RC_LOCAL_SCRIPT_PATH_START to RC_LOCAL_PATH b0fff9012a socket-proxy: allow localhost addresses 5e8bf33de1 sd-bus: allow localhost addresses ad77a988f2 fstab-generator: add 'nofail' when NFS 'bg' option is used d08f6fddc0 busctl: add missing shortopt -l 64d58480ac socket-util: reset length argument for second getsockopt call in fd_[gs]et_rcvbuf 0046c58334 test: use pclose() for popen() 689d2e061b core: propagate unit start limit hit state to triggering path unit 2f53d690ea core: propagate triggered unit in more load states a06cf9a5ba bootctl: handle if LoaderSystemToken is invalid for some reason e2c0023dd2 test-fileio: test test strings with shell, too 251b96c9b5 test-env-file: add test that tests our env file read + writer + shell against each other 4d1922d8bb env-file: bring our decoding of double-quoted strings in env files in line with shell 281581cd74 test-fileio: use test strings that are actually valid in shell 366d38d8ed man: document that RemainAfterElapse=no means that also the triggered unit needs to deactivate d0f0f048ec (tag: v246.5) sd-path: use ROOTPREFIX without suffixed slash e662cf6d51 hashmap: make sure to initialize shared hash key atomically da310c6b45 socket: downgrade log warnings about inability to set socket buffer sizes ab6fcd9135 core: fix securebits setting 4f6925484d capability-util: add new function for raising setpcap 771436884d network: do not add prefix to RA if radv is not configured fb2afc5f30 man: document the random delay of persistent timers b2006ddc8f test-network: add test for ENOBUFS issue #17012 8758580ef5 backlight: do not claim that ID_BACKLIGHT_CLAMP= property is not set 57fc184a6c fs-util,tmpfiles: fix error handling of fchmod_opath() db0f031e70 bootctl: don't accidentally propagate errors in "bootctl status" 3e2c806681 ethtool-util: don't pass error value that isn't used to log_syntax b671730edb network: don't fail on various config parse errors 0ad86030c5 man: document that sd_bus_message_close_container() may only be called at end of container f3da018017 cryptsetup: Fix null pointer dereference (#16987) 6f65eaf9c2 core: fix set keep caps for ambient capabilities 08338a234e core: fix comments on ambient capabilities f0e6d9876d network: make log_link_error() or friends return void 35766dc61b core: make log_unit_error() or friends return void 3ed10b2ee8 core/slice: explicitly specify return value 2f6406914b udev: do not discard const qualifier 07671aa4cc sd-device: make log_device_error() or friends return void d4bea73972 udev: explicitly specify return value 7db399be1e udev: return negative errno for invalid EVDEV_ABS_XXX= property 8c8d188e85 udev: make log_rule_error() or friends return void 4921375fd3 socket: fix copy/paste error 0f7fd97749 udev: warn if failed to set buffer size for device monitor fc763d38d8 network: increase receive buffer size for device monitor 3bf7797f1f network: do not start device monitor if /sys is read-only ebc0729c6a network: honor the buffer size specified in networkd.socket ef3d2e178b core/socket: use fd_set_{rcv,snd}buf() 5dd4cc4b10 sd-device-monitor: use fd_set_rcvbuf() fe9b92e566 util: introduce fd_set_{snd,rcv}buf() 4dcae66688 util: try to set with SO_{RCV,SND}BUFFORCE when requested size is larger than the kernel limit 4b6b523946 util: refuse to set too large value for socket buffer size b4be8edb45 network: ignore error on increasing netlink receive buffer size 5ce47fb491 tree-wide: if get_block_device() returns zero devno, check for it in all cases 8ea6ec18e7 btrfs: if BTRFS_IOC_DEV_INFO returns /dev/root generate a friendly error message e1ff4947d2 basic/log: make log_{info,warning,...} return void 8019995e9a tree-wide: correct cases where return log_{error,warning} is used without value 932f4c3e8b test-execute/exec-dynamicuser-statedir.service: fix quoting 16b9426f70 man: fix quickhelp listing in sysusers.d(5) bde903d9e9 network: fix NDisc handling for the case when multiple routers exist c965063b64 network: expose route_{hash,compare}_func() 6d24a40669 network: expose address_{hash,compare}_func() 054838a2e0 util: expose in6_addr_{hash,compare}_func() 58bd4a70de network: fixes gateway assignment through DHCPv4 8ad5382fe3 bash-completion: resolvectl: support 'log-level' command a98bd75072 resolvectl: add 'log-level' to help message 78262fe807 core/socket: we may get ENOTCONN from socket_instantiate_service() fecb3f00c4 homed: remember the secret even when the for_state is FIXATING_FOR_ACQUIRE dc2e82af33 (tag: v246.4) core: create per-user inaccessible node from the service manager 0b3c497347 nspawn,pid1: pass "inaccessible" nodes from cntr mgr to pid1 payload via /run/host 2239965c29 coredump: don't convert s → µs twice 61d29b7f8c firstboot: fill empty color if ansi_color unavailable from os-release 9678a3daf6 varlink: do not parse invalid messages twice 4e516dcbc1 userdbctl: add forgotten --output mode in help aee20dfbd8 shared/{user,group}-record-nss: adjust filtering of "valid" passwords 5933d77afe doc: cross link sd_listen_fd() docs a bit 97fdde3239 Rework how we cache mtime to figure out if units changed 0500968241 core: always try to reload not-found unit 8ae22f0d64 pid1: use the cache mtime not clock to "mark" load attempts 715507c277 core: rename manager_unit_file_maybe_loadable_from_cache() 20ad76d0a7 man: document fd ownership for sd-bus fd marshalling 38ae73fafd resolved: make sure we initialize t->answer_errno before completing the transaction a1ba0fbef6 homed: fix log message to honor real homework path d6b1e659b3 src/shared/dissect-image.c: fix build without blkdid (#16901) e42f9add21 analyze: fix error handling in one case 4804ce1488 units: add missing usb-gadget.target 5ad4e68c37 man: extend on the usec/sec discrepancy 2fb612371d login/logind: Include sys/stat.h for struct stat usage 5e884e7ee0 partition/makefs: Include missing sys/file.h header 7bbc3807da network: dhcp6: logs only new address 2056429e0f Don't run test-repart when loop devices are not available dcbea51c5a man: clarify that several networkctl commands takes device names 16e4cfcc82 networkctl: label command does not take any argument 2352921244 missing: Add new Linux capability 8b29c4a4f9 tty-ask-pw-agent: properly propagate error f7ce2e9839 tty-ask-pw-agent: the message string might not be set 29cba5c9ef tty-ask-pw-agent: make sure "--list" works correctly e1ce367d73 add "list" verb to autocompleted commands 1f4cb5da1e shell-completion/zsh: add missing verbs for networkctl a4236a2764 path: Improve $PATH search directory case b7cef386bd (tag: v246.3) path: Skip directories when finalising $PATH search 122945f315 rules: don't install 80-drivers.rules when kmod is disabled 42fab2d454 zsh: correct journalctl command completion parsing ed3f97f962 basic/missing_syscall: fix syscall numbers for arm64 :( ba6e7f7c46 shared/install: fix preset operations for non-service instantiated units d39f139348 nss-resolve: treat BUS_ERROR_NO_SUCH_UNIT the same as SD_BUS_ERROR_SERVICE_UNKNOWN too 9bb3e64d71 various: treat BUS_ERROR_NO_SUCH_UNIT the same as SD_BUS_ERROR_SERVICE_UNKNOWN 6d802dd596 man: drop reference to long gone .busname unit type a29656804b man: fix a fix of a typo in systemd.service example 21ce0f5b33 network: can: Fix CAN initialization cab5cde8c9 man: update autogenerated dbus api lists 0d8000522b man: fix invalid tag place ea94f218be man: add conditionals to more man pages ef91325349 meson: add ENABLE_ANALYZE conditional 83f7c0a7ec core: add missing conditions/asserts to unit file parsing 716718155d analyze: rework condition testing 5c4c7581bc sd-bus: fix error handling on readv() 6cd058f305 user-runtime-dir: deal gracefully with missing logind properties 6a2d73638d shared/seccomp: do not use ifdef guards around textual syscall names 7355ac9689 machine-id-setup: don't use KVM or container manager supplied uuid if in chroot env 496a71f444 man: Fix typo in systemd-tmpfiles 6c5d216ad8 homework: downgrade chattr failure log message 1708f06a00 homework: explicitly close cryptsetup context, to not keep loopback device busy a21eaa2a3a homework: correct error passed into log message 3a2d169f36 homework: sync everything to disk before we rename LUKS loopback file into place 84e1ab74d2 homed: downgrade quota message in containers 8b62cadf36 analyze-security: do not assign badness to filtered-out syscalls 29854a5437 NEWS: clarify two points 4cb4fb82f7 meson: add min version for libfdisk 76331f86f6 load-fragment: fix grammar in error messages 1e53c2d70f Fix function description in logind man page 669066564d network: do not fail if UseMTU=yes on DHCP lease lost a2a3f16cdc missing_syscall: do not use function name that may conflict with glibc 4091dcd469 missing_syscall: fix pidfd_{send_signal,open} numbers for alpha 7875daf52b network: wait for previous address removal before configuring static addresses 120064b4a1 network: only process non-error message f44ec1de15 test: accept that char device 0/0 can now be created witout privileges (From OE-Core rev: b6923b3805ebdfdcfa1312bf5b0f368fe800029c) Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Fix ptest failureKhem Raj2020-09-242-0/+24
| | | | | | | | | | | | msgmerge-29 is a script without execute permissions but executed as ./msgmerge-29 which results in this test failing. It is only one test which fails on gettext/qemux86-64 (From OE-Core rev: 96f001218d7b2b550160bee568ab451d59e3a577) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup: rrecommend perf also for musl on ARMChristian Eggers2020-09-241-0/+1
| | | | | | | | | | The perf recipe builds fine for musl on ARM. Fixes: d758a4445a ("packagegroup: Disable packages not available on musl") (From OE-Core rev: 7a905f66d3a6d9018b18c1a8021c1cb8bf7d12ac) Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revision3.2_M3Richard Purdie2020-09-231-1/+1
| | | | | | (From OE-Core rev: e68df923e1bf9e82662ee2619ac9e2f239e8f7be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: Fix conflicts with oe-selftest and other toolingRichard Purdie2020-09-231-0/+3
| | | | | | | | | | | | OECORE_NATIVE_SYSROOT is used by tools like oe-run-native and hence we were seeing selftest failures when newer buildtools-tarballs that use this were run on the autobuilder. Unset the variable after use to avoid these issues. (From OE-Core rev: ea5128fde10eb9be7fefbbb87ae6181edd2bcdff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: add/fix invalid Upstream-Status tagsRoss Burton2020-09-231-1/+1
| | | | | | | (From OE-Core rev: 630ce8130598e2bca7231ac28a7cc18b5b942544) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: disable xdg-autostart generator by defaultKai Kang2020-09-231-0/+1
| | | | | | | | | | | | | | | xdg-autostart generator is an opt-in feature which is imported by commit: 470c58ba45 systemd: Upgrade v245.6 -> v246 The generator outputs unexpect log info on terminal when log in a image which includes an X desktop such as Xfce. So add an package config and disable it by default. (From OE-Core rev: 5195d5cde3467357cbda4d09e43da12963025142) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: no need to depend on bison-nativeRoss Burton2020-09-231-5/+2
| | | | | | | | | | This was needed because of a backported patch, this patch was dropped in oe-core c9f8b48 but the removal of the dependency was missed. (From OE-Core rev: b20e7523359d5967fd72ac87f10f3091e15161b8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroups: remove strace and lttng-tools for rv32/muslKhem Raj2020-09-212-1/+5
| | | | | | | | | These tools are not yet ported to rv32/musl (From OE-Core rev: cf963ef65d524256c2d00e0588cd3b8b7ef56ff4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Create alternative symlinks for st and st-256colorKhem Raj2020-09-211-0/+5
| | | | | | | | | Adjust for other st implementations (From OE-Core rev: 151e7306cbd0cc004ee29aab3267e3295710a739) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: Add python3-jinja2Richard Purdie2020-09-211-0/+1
| | | | | | | | | | | | This is used by various pieces of the result handling code, particularly the performance testing and we're seeing autobuilder failures that are easiest resolved using this. Acked-by: Tim Orling <ticotimo@gmail.com> (From OE-Core rev: e86a07e7105fd1cc4fd3e5aa22ff07aca6e960d7) Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear/openssh: Lower priority of key generationRichard Purdie2020-09-201-0/+1
| | | | | | | | | | | | | | | Where we have images with PAM+systemd, serial login can be extremely slow. The load generated by key generation does slow down the rest of the boot process. Lower the priority level of these systemd services, since we'd prefer to have the rest of the system boot more effectively. This doesn't "solve" the slow systemd boot issues but does help. (From OE-Core rev: 087700665284c08ba846e52b6b86276629f5f1cd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2020-09-171-1/+1
| | | | | | (From OE-Core rev: 4e7506882cabf3936f0269c2a98f61c7d595d613) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: avoid failing if no udev rules providedPeter Bergin2020-09-171-1/+3
| | | | | | | | | | | | | | | | | In the case when no udev rules are provided by the recipe the do_install step of systemd is failing with: install: cannot stat '<WORKDIR>/*.rules': No such file or directory By default the systemd recipe provides touchscreen.rules but in the case this is unwanted on target the install step fails. This solution is dynamic and search for *.rules files in $WORKDIR. If found they are installed. (From OE-Core rev: c65eb4c38b61509ad38da19b986e0f06923f0cea) Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* *-initramfs: don't use .rootfs IMAGE_NAME_SUFFIXMartin Jansa2020-09-172-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes the issue when image-live.bbclass expects the image ending with just INITRAMFS_FSTYPES: image-live.bbclass:INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.${INITRAMFS_FSTYPES}" while by default it now was with .rootfs suffix: -rw-r--r-- 2 bitbake bitbake 1.5K Oct 25 16:12 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs.env -rw-r--r-- 4 bitbake bitbake 11M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.cpio.gz -rw-r--r-- 4 bitbake bitbake 1.2K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.manifest -rw-r--r-- 4 bitbake bitbake 1.3K Oct 25 16:12 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.qemuboot.conf -rw-r--r-- 4 bitbake bitbake 196K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.testdata.json -rw-r--r-- 4 bitbake bitbake 118M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.wic -rw-r--r-- 4 bitbake bitbake 3.1K Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64-1.0-r0-20191025154349.wic.bmap -rw-r--r-- 4 bitbake bitbake 1.3K Oct 25 16:12 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.qemuboot.conf -rw-r--r-- 4 bitbake bitbake 11M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.cpio.gz -rw-r--r-- 4 bitbake bitbake 1.2K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.manifest -rw-r--r-- 4 bitbake bitbake 118M Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.wic -rw-r--r-- 4 bitbake bitbake 3.1K Oct 25 16:13 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.rootfs.wic.bmap -rw-r--r-- 4 bitbake bitbake 196K Oct 25 16:11 /OE/build/oe-core/tmp/deploy/images/genericx86-64/core-image-minimal-initramfs-genericx86-64.testdata.json initramfs images aren't normally used for rootfs, so just set the suffix to empty, people using different artifact names might still need to set INITRD_LIVE (e.g. when their images don't end with "-${MACHINE}" as well) (From OE-Core rev: 431a7dfc6c1c86ead3e636d42e2bf1f1f906588c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: remove unused variableChris Laplante2020-09-151-1/+0
| | | | | | | (From OE-Core rev: 790f8a5bfbd1851226fa5fc5b09e79f6396e747d) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: move -journal checking into do_fetchChris Laplante2020-09-151-6/+8
| | | | | | | | | | | It was always questionable to do this in an anonymous function, but now with multiconfig it is a critical mistake and leads to more strange "Exception: sqlite3.OperationalError: disk I/O error" errors. (From OE-Core rev: fcbc9d0e8421a3a559db05005ba042337cd5d864) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: be less magical about checking whether the cve-check ↵Chris Laplante2020-09-151-2/+1
| | | | | | | | | class is enabled (From OE-Core rev: cbc717350b21fb417fa6f83621022ac633a26124) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: Remove ${B} assignmentMichael Gloff2020-09-141-1/+0
| | | | | | | | | | | | | | | | | | | | | The VERSION variable is not set unless the top level Makefile is used as the version is derived from the Changelog. If VERSION is not set, none of the binaries built in the sysvinit recipe will have a valid version output. Before: INIT: version booting After: INIT: version 2.96 booting Using the top level Makefile does not cause any additional builds to occur. (From OE-Core rev: 10992ad4f343d0f92d9d6246cc2e58effd3f3eeb) Signed-off-by: Michael Gloff <mgloff@emacinc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-serialgetty: Replace sed quoting using ' with " to allow var expansionGeoff Parker2020-09-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | A recent commit added single quotes around the sed regex's. This prevented the expansion of $default_baudrate in do_install(), and ended up with systemd's' serial-getty@.service file having a literal $default_baudrate. This broke the serial console getty service. serial-getty@.service was getting a line which looked like this: ExecStart=-/sbin/agetty -8 -L %I $default_baudrate $TERM Rather than: ExecStart=-/sbin/agetty -8 -L %I 115200 $TERM Fixed by repacing the single quotes with double quotes in the sed expressions. (From OE-Core rev: 80b721bfa4fe300a2f52f233f44fa2835426d304) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-framework: support kernel cmdline with double quotesChristophe GUIBOUT2020-09-121-0/+13
| | | | | | | | | | | It avoids init to crash when kernel cmdline contains a string with spaces inside, like that: dyndbg="file drivers/usb/core/hub.c +pltf" (From OE-Core rev: 88b8b94bd2d052bca29d27bd5cd00eddb0f5999d) Signed-off-by: Christophe Guibout <christophe.guibout@st.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: use fetch taskRoss Burton2020-09-121-4/+5
| | | | | | | | | | Instead of inventing a new task to fetch the CVE data, use the existing fetch task. (From OE-Core rev: f5f97d33a1703d75b9fd9760f2c7767081538e00) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: add more logging when fetchingRoss Burton2020-09-121-1/+5
| | | | | | | | | Add some debug logging when fetching the CVE data. (From OE-Core rev: 9b230584664873af2ab453b8153b1ad276d3b0af) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: remove unused importRoss Burton2020-09-121-1/+1
| | | | | | | | | This import isn't used anymore, so remove it. (From OE-Core rev: d4f0e43bdf1de972e95869f033dd45f8d420c400) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: remove config.cacheRoss Burton2020-09-123-7/+3
| | | | | | | | | | | | Instead of having a config.cache that overrides the system site files, simply set the values in CACHED_CONFIGUREVARS. We can also drop the mkstemp check as the configure.ac assumes it works, leaving just nanosleep. (From OE-Core rev: c30c90e3adfa91407c37838c971e251f8482e2b8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libucontext: Recognise riscv32 architectureKhem Raj2020-09-121-0/+1
| | | | | | | (From OE-Core rev: 67ec87e37d66fc287158e500d7f8465a0dd5d8c6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>