summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* ncurses.inc: Remove a no longer relevant commentPeter Kjellerstedt2021-11-111-1/+0
| | | | | | | (From OE-Core rev: 62f4a0a2291aa39a00b98358a539cc2177744e64) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: submit patch upstreamAlexander Kanavin2021-11-111-1/+1
| | | | | | | (From OE-Core rev: df1ff8a0419039f03e390d96b5d615cad92b8879) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: use ln -rs instead of lnrRoss Burton2021-11-106-8/+8
| | | | | | | | | | | | | | | | | lnr is a script in oe-core that creates relative symlinks, with the same behaviour as `ln --relative --symlink`. It was added back in 2014[1] as not all of the supported host distributions at the time shipped coreutils 8.16, the first release with --relative. However the oldest coreutils release in the supported distributions is now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln. [1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d (From OE-Core rev: 1ca455a98de4c713f58df0a537d4c982d256cd68) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.44 -> 0.45wangmy2021-11-101-1/+1
| | | | | | | | | Fix issue with ICMPv6 and handling re-entrantly callbacks. (From OE-Core rev: 2968b9f18e35c2b9393dab666f229ab2419778b3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-packagegroup-sdk-host.bb: Update host tools for waylandTom Hochstein2021-11-081-1/+1
| | | | | | | | | | | | | The wayland-scanner host tool required to build weston is moved to the wayland-tools package, so update the SDK host tools list accordingly. Also, the weston build requires wayland-scanner.pc to find wayland-scanner, so add wayland-dev. (From OE-Core rev: 31ed91bdbb0ec05730fb98d7cc523bb46aca50e3) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: mark patch as non-upstreamableAlexander Kanavin2021-11-071-1/+5
| | | | | | | (From OE-Core rev: be5be9e36dc76215f8563d87f5a6b09c1ac7190b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade 2.70.0 -> 2.70.1wangmy2021-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix network changes not being signalled from NetworkManager (work by Julian Andres Klode) (#2505) Fix build when building with --fatal-meson-warnings (work by Eli Schwartz) (!2304) Bugs fixed: 2245 gdesktopappinfo: Do not call xterm when it does not exist, inform the caller the launch failed 2253 Backport 2251 "GString: Bump minimum size" to glib-2-70 2256 Backport 2254 "Small optimization for g_object_set" to glib-2-70 2259 Backport 2257 "Fix documentation for g_dbus_object_manager_get_object()." to glib-2-70 2262 Backport 2244 "gutils: Avoid segfault in g_get_user_database_entry" to glib-2-70 2271 Backport 2266 "fix uninitial variable" to glib-2-70 2276 Backport 2274 "Do not try to access errno after calling getpwnam_r." to glib-2-70 2300 Backport 2285 "fix issues found by svace static code analyzer" to glib-2-70 2301 Backport 2293 "glib-private: Fix MSVC build with AddressSanitizer" to glib-2-70 2302 Backport 2291 "gnetworkmonitornm: Stop using removed PropertiesChanged signal" to glib-2-70 2304 meson: fix warnings for extract_all_objects function (From OE-Core rev: 0924cdc5b266f18840ebe30bdaa84df56e3f8c76) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: upgrade to latest revisionAlexander Kanavin2021-11-031-2/+1
| | | | | | | (From OE-Core rev: 2275251cdcb2f1002e846f7796aac3661370dbd9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: submit patch upstreamAlexander Kanavin2021-11-031-1/+1
| | | | | | | | (From OE-Core rev: 62d0992ae831caa4b6bda5a300db5e8068480a7b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update github.com urls to use httpsRichard Purdie2021-11-037-7/+7
| | | | | | | | | | | | | | Github has announced there will be no more git:// fetching from their servers: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git and they're about to start having brownout periods to encourage people to update. This runs the conversion script over OE-Core to update our urls to use https instead of git. (From OE-Core rev: b37b61e9a1e448a34957db9ae39285d21352552e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: Ignore the empty-dirs QA error due to files in /var/volatilePeter Kjellerstedt2021-11-011-0/+2
| | | | | | | (From OE-Core rev: f33f3f1d3800fe4a1fe47f2ae1056d1ac2b0c2a5) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Do not install anything in /var/volatilePeter Kjellerstedt2021-11-011-6/+9
| | | | | | | | | | | /var/log is typically a symbolic link to inside /var/volatile, which is expected to be empty. Check ${VOLATILE_LOG_DIR} to see if it is ok to install /var/log. (From OE-Core rev: 73356f6d9d3881cf8ebde91a84758b25c63432cf) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to tip of trunkKhem Raj2021-11-011-1/+1
| | | | | | | | | | | | | | | This brings following fixes * b76f37fd add qsort_r and make qsort a wrapper around it * 7be59733 add SPE FPU support to powerpc-sf * e3e7189c fix undefined behavior in getdelim via null pointer arithmetic and memcpy * b713b8b2 fix excessively slow TLS performance on some mips models * 3eed6a6f fix error checking in pthread_getname_np (From OE-Core rev: 81e754f35847d6dc7b346706cd428fdcbc9d7796) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-3012-12/+12
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: update 6.2 -> 6.3Alexander Kanavin2021-10-283-19/+18
| | | | | | | | (From OE-Core rev: db7666551ee1f0e0cf63a36ea24babe986e36713) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: upgrade to latest revisionAlexander Kanavin2021-10-281-1/+1
| | | | | | | | (From OE-Core rev: 735579852f995a5620d5e960897b2608d26a5c07) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: disable seccomp on mips32Alexander Kanavin2021-10-231-0/+3
| | | | | | | | (From OE-Core rev: abf13cf886a50429b15d46e414112646cd935c2e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add missing include for muslYureka2021-10-231-2/+14
| | | | | | | | | | | Fixes "error: ‘FTW_ACTIONRETVAL’ undeclared (first use in this function)" in src/shared/mount-setup.c. (From OE-Core rev: 7707d08bb10db5eb782a2476be58ebe4b8bba154) Signed-off-by: Yureka <yuka@yuka.dev> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: upgrade 2.99 -> 3.00Alexander Kanavin2021-10-231-1/+1
| | | | | | | | (From OE-Core rev: f80ba18ffbe4a8db45a1f15ab2a2aa72f6f2d65b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcrypt: upgrade 4.4.25 -> 4.4.26Alexander Kanavin2021-10-233-2/+2
| | | | | | | | | License-Update: additional copyright holders (From OE-Core rev: a124dc48780013abed70de4acb68cc8eeb719eaf) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update 249.4 -> 249.5Alexander Kanavin2021-10-2328-42/+89
| | | | | | | | (From OE-Core rev: d5d3704acf4d2e70ee41eb5e6fe852a4c1bc3595) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: update 202105 -> 202108Alexander Kanavin2021-10-231-2/+2
| | | | | | | | (From OE-Core rev: 9e5d15aba7515952614f69e06d3d9b9316a77204) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Extract common code to build tests to glibc-tests.incLukasz Majewski2021-10-182-33/+36
| | | | | | | | | | | | | The common code to build tests has been extracted from glibc-testsuite recipe to glibc-tests.inc This code will be reused in the recipe necessary for providing glibc tests executed with ptest framework. (From OE-Core rev: 4ee26ef672c75e73b10412e87cee23797105d9bc) Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* reproducible: Drop BUILD_REPRODUCIBLE_BINARIES variableRichard Purdie2021-10-161-6/+4
| | | | | | | | | | We want things to be reproduicble and the variable doesn't really change much any more. Drop the remaining uses and make those code paths always active. (From OE-Core rev: d15fb02c7ee7da50e322d74bc6a545234e20c7f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: update 8.32 -> 9.0Alexander Kanavin2021-10-146-325/+100
| | | | | | | | | | License-Update: copyright years (From OE-Core rev: 07c303cd906e4e1d0c4d3ebb500b3baac06ca56e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-networking: update 2.68.2 -> 2.70.0Alexander Kanavin2021-10-141-1/+1
| | | | | | | | (From OE-Core rev: adcbaadd9117e2bac68288c7e08547b39aa1ff8b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: update 2.68.4 -> 2.70.0Alexander Kanavin2021-10-145-62/+20
| | | | | | | | | | Internal copy of pcre is no longer provided. (From OE-Core rev: e359ee75e67b72eeb73eddbc1bc46549e00dded5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: Use python3targetconfig to fix reproducibility issueRichard Purdie2021-10-131-1/+1
| | | | | | | | | | We're seeing pthread being linked sometimes and not others leading to non-reproducible target binaries. The reason is mixing the native python config with the target one. We should use the target one. (From OE-Core rev: 1bc5378db760963e2ad46542f2907dd6a592eb66) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: 1.34.0 -> 1.34.1Andrej Valek2021-10-112-1/+1
| | | | | | | | | | - update to next stable version 1.34.1 (From OE-Core rev: 84c9bb0796aa4382cc08075ec2908aea81892f64) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.43 -> 0.44wangmy2021-10-111-1/+1
| | | | | | | | | | | | | ver 0.44: Fix issue with allowing zero byte input for AEAD cipher. Fix issue with filling in DNS info in DHCP lease objects. Add support neighbor discovery utility helpers. (From OE-Core rev: 1190b241d7b7ba815b34d63fabc0f5fc862d8837) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mount-copybind: add rootcontext mountoption for overlayfsMaximilian Blenk2021-10-111-1/+13
| | | | | | | | | | | | | | | | If selinux is enabled, the context of the mountpoint for overlayfs needs to be specified manually via the rootcontext option. To this end, the required context is determined using matchpathcon(1) and passed via the rootcontext mount option. Additionally, if the mount source directory is created by mount-copybind it also needs to take care that the context of the directory is correct (From OE-Core rev: 57f51e8c73ab9f55f20815a9459c3afad2b281e6) Signed-off-by: Tobias Kaufmann <Tobias.KA.Kaufmann@bmw.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mount-copybind: add SELinux supportTobias Kaufmann2021-10-111-0/+12
| | | | | | | | | | | | | | bind mounts don't use the SELinux label of the target, but the SELinux label of the source. This patch restores the SELinux context of the bind mount recursively using restorecon. (From OE-Core rev: 6f3e231dc9bc11772573bf9683de9804460362d1) Signed-off-by: Tobias Kaufmann <Tobias.KA.Kaufmann@bmw.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update 249.3 -> 249.4Alexander Kanavin2021-10-1127-33/+34
| | | | | | | (From OE-Core rev: 14c6e5a4b72d0e4665279158a0740dd1dc21f72f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to honister head revisionyocto-3.4honister-3.4Richard Purdie2021-10-111-1/+1
| | | | | | (From OE-Core rev: bb1dea6806f084364b6017db2567f438e805aef0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to honister head revisionRichard Purdie2021-10-111-2/+2
| | | | | | (From OE-Core rev: b3c387547c8b73ef134e6665e18bd4724d943133) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Drop libcidn packageFred Liu2021-10-091-2/+1
| | | | | | | | | libcidn has been dropped since glibc 2.28 (From OE-Core rev: cf83790728ad569af01300f793754c0108c78b4e) Signed-off-by: Fred Liu <yclw3d2y@live.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Fix reproducibilityRichard Purdie2021-10-021-2/+3
| | | | | | | | Sort the list of files to ensure the pkgdata output is deterministic. (From OE-Core rev: 82e683f8f9ae630dea46ec6be6e636e498579835) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: add TPM PACKAGECONFIG and enable if tpm is in MACHINE_FEATURESKristian Klausen2021-10-011-2/+5
| | | | | | | | | | By enabling TPM support the boot will be measured into the TPM's Platform Configuration Registers (PCRs). (From OE-Core rev: e71280883c217d86b4636da6e549334183f1aff7) Signed-off-by: Kristian Klausen <kristian@klausen.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-profile: Exclude systemtap from riscv32 as wellRichard Purdie2021-09-261-0/+1
| | | | | | | | The recipe can't be built for riscv32 so exclude it alongside riscv64. (From OE-Core rev: 61feb650ac450db0a30675fc40bb65fab773159a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball/uninative-tarball/meta-ide-support: Drop useless meta classRichard Purdie2021-09-234-4/+1
| | | | | | | | | | | | The class adds an emtpy PACKAGES setting but most code now uses the nopackages class which is much clearer. It also adds recursive do_build dependencies which don't really serve any useful purpose any more. Simplify the code and drop the class use. (From OE-Core rev: 030d56e2e8ece93472adc51fe467221d846c9ac0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo/autotools: Ensure task checksums reflect site filesRichard Purdie2021-09-232-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, if you change the site files, nothing rebuilds since they are not accounted for in task checksums. They could/should be through the file-checksums task flag. We need to cache all the files looked for, whether the exist or not so that if they do exist and didn't, the checksum also changes. This gets complicated by the need to clean out hardcoded build paths from the variable and that other layers can have site files. This patch adds this functionality. A new variable, SITEINFO_PATHVARS is added which controls which substitutions to make on the file-checksum values to remove the hardcoded paths. Layers adding site files will need to set this to a variable that has the layer path in it and is excluded from task hashes (COREBASE is the one the core layer uses). This patch will cause yocto-check-layer to fail for some layers where site files are added yet the layer isn't a machine specific layer. This is arguable correct since these additional site files apply to all recipes and things from a layer like core could be changed by such changes so it is right they should rebuild. There is a determinism issue potentially there if not. meta-openembedded does have some such references but looking at them they should move to core or likely just be removed as most look obsolete anyway. [YOCTO #13729] (From OE-Core rev: 29daffc2410f06f36b779d5bf1fd1ef6e900ca8f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update mailing list addressJon Mason2021-09-171-1/+1
| | | | | | | (From OE-Core rev: 83169c33f7585da25560784f79eaad2c6f029f3c) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: pull from github releasesKonrad Weihmann2021-09-171-1/+5
| | | | | | | | | | | | | | | | sometimes we can find release tarballs from sourceforge are not fully distributed along all download mirrors leading to fetching faiilures, depending on what download mirror will be chosen by sourceforge servers. As the project moved to github anyway, it's better to pull the tarballs directly from github releases - serving the very same static artifacts. Add an override UPSTREAM_CHECK_URI to enable devtool upgrade checks (From OE-Core rev: 9b5b797b0e9e6f2cb3e29be92c4f9b763c4a41e9) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add tpm2 PACKAGECONFIGKristian Klausen2021-09-161-0/+1
| | | | | | | | | | The TPM2 support is used, among other things, for unlocking encrypted volumes. (From OE-Core rev: 7b7dfbfaedde775add3be7a3cb44b115d8ec5036) Signed-off-by: Kristian Klausen <kristian@klausen.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: disable rawMarkus Volk2021-09-161-1/+1
| | | | | | | | | | | | raw.h has been dropped in linux-libc-headers-5.14 leading to: configure: error: raw selected, but required raw.h header file not available WARNING: exit code 1 from a shell command. (From OE-Core rev: 7f577c10913104860121f682b9b3754870c4db23) Signed-off-by: MarkusVolk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add packageconfig for wheel-groupPeter Bergin2021-09-111-0/+2
| | | | | | | | | | | | | | | | If the distro does not include the group 'wheel' systemd will complain when trying to parse ACL rules for tmpfiles.d. systemd-tmpfiles[273]: Failed to parse ACL "d:group:adm:r-x,d:group:wheel:r-x": Invalid argument. Ignoring Systemd has a configuration parameter to avoid using 'wheel' group in the standard config files for tmpfiles. Add this as a PACKAGECONFIG and enable it by default to keep default. (From OE-Core rev: 1b5648e6aeb9837cb807ce086c26fbfaa16f6f8b) Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-ptest-all: bump RAM requirement to 4GAlexander Kanavin2021-09-101-2/+2
| | | | | | | | | | /tmp is half that, and lttng-ptest writes just under 1G there (and just over 1G on aarch64), so let's have a safe margin. (From OE-Core rev: ef39039cac5819b2e1d65838367ff2be69eab4c2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: add pkgconfig for selinuxMingli Yu2021-09-101-0/+1
| | | | | | | | | Add pkgconfig setting for selinux. (From OE-Core rev: ee48a2dbfb9e79225774c69a08a92a88dc9ac1d9) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'Robert P. J. Day2021-09-079-72/+72
| | | | | | | | | | | Repo-wide replacement to use newer variable to represent systemd system unitdir directory. (From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add homed PACKAGECONFIGKristian Klausen2021-09-062-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | If systemd is built with fdisk support[1] and the openssl and cryptsetup PACKAGECONFIG are enabled, systemd-homed[1] is automatically enabled. The org.freedesktop.home1.conf file was forgotten, so this commit adds the file and make enabling homed a explicit choice. systemd-homed.service and systemd-homed-activate.service have a Also= on each other, so "systemctl" has been fixed to handle the circular dependency. userdb isn't strictly speaking needed for homed but "systemctl" can't handle the missing unit file and upstream recommend enabling both[3]. [1] Automatically enabled if the fdisk dependency is installed which it is as util-linux is pulled in by systemd [2] https://www.freedesktop.org/software/systemd/man/systemd-homed.service.html [3] https://github.com/systemd/systemd/commit/871dc8d644eef7542a5330f84c25b1db2617317c (From OE-Core rev: fff339b5bd7789db5d0c024fc84490ac17fa4fe9) Signed-off-by: Kristian Klausen <kristian@klausen.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>