summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* systemd: update 249.6 -> 249.7Alexander Kanavin2021-11-2527-29/+29
| | | | | | | (From OE-Core rev: 5671ef44cf85df00406b391f7786ffaefd05a701) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: remove unneeded patchAlexander Kanavin2021-11-252-28/+0
| | | | | | | | | Upstream added internal implementation shortly after the patch was added. (From OE-Core rev: f72df428904921cb87223de4e72e784e97208e8f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: submit patch upstreamAlexander Kanavin2021-11-251-1/+1
| | | | | | | (From OE-Core rev: 82288f0b1eb3189d14a006d2fa1844bc9d6303c1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Fix i586/c3 supportRichard Purdie2021-11-241-1/+1
| | | | | | | | | | | CET can't be enabled on i586 or c3 for x86, adjust the configuration accordingly to fix those builds. [YOCTO #14632] (From OE-Core rev: 26e4fed594daefb6923c50171360f925c4822683) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: Do not set SYSTEMD_SERVICEKhem Raj2021-11-231-0/+2
| | | | | | | | | These are glibc specific which comes from glibc packaging class (From OE-Core rev: 9febfe70507035fd75b0aeb108b1bbb6996f9b78) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: ptest: Add running glibc time related test suite (Y2038) with ptestLukasz Majewski2021-11-232-0/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces new recipe - namely 'glibc-tests', which builds and installs time related (to check if Y2038 support works) glibc test suite to OE/Yocto built image. It reuses code from already available 'glibc-testsuite' recipe, which is run with 'bitbake glibc-testsuite -c check' and uses qemu to execute remotely (via SSH) tests on some emulated machine. This recipe installs time related glibc tests on some rootfs image. Afterwards, those tests can be executed on the real hardware, to facilitate validation of it with Y2038 problem compliance. To test time related subset - one needs to call: ptest-runner glibc-tests then change the date after Y2038 threshold for 32 bit systems: date -s "20 JAN 2038 18:00:00" and then run ptest-runner again. To facilitate debugging, source files are provided by default with the unstripped debugging symbols. Such approach would reduce the already complex recipe (as it inherits base glibc one), so there is no need to also install *-dbg and *-src packages. (From OE-Core rev: 0a64888e033694e7a68f12df81ef8edfdca0ba3c) Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* os-release: Add DISTRO_CODENAME as vardeps for do_compileDaniel Gomez2021-11-211-1/+3
| | | | | | | | | | | DISTRO_CODENAME is part of VERSION variable but not used as dependency for do_compile task. Append it to the vardeps list to rebuild in case it changes. (From OE-Core rev: ee0345057459c6d77fb64902a955e836c6c1e8e4) Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patchAlexander Kanavin2021-11-212-115/+0
| | | | | | | | | | | This was added 10 years ago, is almost certainly non-upstreamable and it isn't clear what the issues it aims to fix are: the AB revealed no problems when the patch is removed. (From OE-Core rev: e4831586ee03f189f7cf90aa444f7dc71544d3ec) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: add missing Upstream-Status tagAlexander Kanavin2021-11-211-0/+1
| | | | | | | (From OE-Core rev: 9b79981f3c9a677121a46f4d6d8c899100fee753) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patches: correct whitespace/spelling for Upstream-Status tagsAlexander Kanavin2021-11-214-4/+4
| | | | | | | (From OE-Core rev: c613ca14c35a5d1782c79a25b83875cbfa2b952b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: upgrade 249.5 -> 249.6Alexander Kanavin2021-11-2128-83/+37
| | | | | | | (From OE-Core rev: 4744336d854b56cdd81a19f60f6d1c659bae7147) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: address automake 1.16.5 failuresAlexander Kanavin2021-11-212-0/+30
| | | | | | | (From OE-Core rev: afc39549400adec43ec7da1cf0bc9537d084359d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: submit patch upstreamAlexander Kanavin2021-11-211-1/+1
| | | | | | | (From OE-Core rev: 589eca0d1a4653013e2172818f8bccafdab161e5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Backport fix for CVE-2021-43396Richard Purdie2021-11-162-0/+185
| | | | | | | | | Backport the fix for CVE-2021-43396. It is disputed that this is a security issue however the fix applies easily so we may as well. (From OE-Core rev: e8de9b01c6b305b2498c5f942397a49ae2af0cde) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-buildessential: Mark as TUNE_PKGARCH specificRichard Purdie2021-11-131-0/+3
| | | | | | | | | The libstdc++ dependency is debian renamed so this shouldn't be allarch, mark accordingly. (From OE-Core rev: ac6ec1979caa4032b710eb6f6523bcca29d42cd4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: poll() works, but only on LinuxRoss Burton2021-11-131-4/+1
| | | | | | | | | | | | | | | | ncurses does AC_TRY_RUN() to determine is poll() actually works. As that doesn't work in cross-compiles, we seed it with 'yes'. However, MinGW doesn't have a working poll(), so use a :linux override so that this only applies to Linux builds. The ncurses build now compiles but doesn't link in MinGW, which is a step forwards at least. (From OE-Core rev: f57de22c4a40cd9178f7726d544beca66384d25d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-version.inc: remove branch= from GLIBC_GIT_URIAnuj Mittal2021-11-111-1/+1
| | | | | | | | | | GLIBC_GIT_URI is used along with branch=${SRCBRANCH} so no need to add it here. (From OE-Core rev: 4c9cfe326913d28f82e6a91d1eeae55a6651f0f7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: Revert inappropriate use of ${systemd_system_unitdir}Peter Kjellerstedt2021-11-111-3/+3
| | | | | | | | | | | | This is a partial revert of commit 5ace3ada (systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}') where the string '${systemd_unitdir}/system' matched something other than the intended directory. (From OE-Core rev: c436124eb9a98400cc6872b252971477bb451551) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Revert inappropriate use of ${systemd_system_unitdir}Peter Kjellerstedt2021-11-111-2/+2
| | | | | | | | | | | | This is a partial revert of commit 5ace3ada (systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}') where the string '${systemd_unitdir}/system' matched something other than the intended directory. (From OE-Core rev: b3334c7134e812fe839e47a3d06aa5379b7b8bd8) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>