summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* babeltrace2: Fix ptest execution in minimal images and add debug infoRichard Purdie2023-03-122-2/+13
| | | | | | | | | | | | Tweak the ptest dependencies so they work correctly in minimal images. There appears to be some usage of find or xargs that doesn't work with busybox. Also improve the test runner so the test-suite.log is dumped upon error which makes debugging much easier. (From OE-Core rev: 6f52a0a9f0f26ac0039af3edd3df22e21bd8a4a7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-sax-perl: Fix ptest dependenciesRichard Purdie2023-03-121-1/+1
| | | | | | | | | Add a missing ptest perl module dependency to fix execution in minimal ptest images. (From OE-Core rev: 9c35001345d107ec3869216a214439818099c1de) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libconvert-asn1-perl: Fix ptest dependenciesRichard Purdie2023-03-121-1/+2
| | | | | | | | | Add dependencies for missing perl modules to fix execution in minimal images. (From OE-Core rev: eba3d013b077ec94641118bf925779edf6deb8de) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gawk: Fix ptest dependencyRichard Purdie2023-03-121-1/+1
| | | | | | | | | The gawk ptests need some locale information, add the missing dependency so tests work in minimal images. (From OE-Core rev: 5aafe0dd13eba8303d1a954adffd6f1d8d234952) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* findutils: Fix ptest dependency issueRichard Purdie2023-03-121-1/+2
| | | | | | | | | | The options used with 'od' don't work with our busybox config. Add a dependency on the full utility from coreutils to fix execution in minimal images. (From OE-Core rev: 027f0997bd9ba68a86000e91ad81fcf9ea1a4f89) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bc: Fix ptest test output namingRichard Purdie2023-03-121-2/+2
| | | | | | | | | | The quoting in the script was mangled leading to "0" tests being found by our log parsing code. Fix the quoting to allow the correct test counts to appear. (From OE-Core rev: 5ad2ee63396cb27823dcd022878764bc69e619e9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodule-build-perl: Fix ptest dependenciesRichard Purdie2023-03-121-0/+9
| | | | | | | | | Some of the ptests fail in a minimal image. Add the missing perl module dependencies. (From OE-Core rev: 0c8e91acc8225a51f84b95faa96bfee1e293b093) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* m4: Add missing ptest dependencyRichard Purdie2023-03-121-0/+1
| | | | | | | | | Some of the ptests fail in a minimal image. Add the missing gconv dependency needed to allow those tests to pass. (From OE-Core rev: a40b97f9730064b045399a8ea3e44b8a756195f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl/attr: ptest fixes and improvementsRichard Purdie2023-03-124-0/+15
| | | | | | | | | | Add a missing perl module dependency for the ptest packages and also improve the run-ptest script so that the error log is saved allowing easier debugging if this fails in future. (From OE-Core rev: fbb9c596b8e6a8a1260dd7aefddf138d20bf64df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Add missing procps-ps dependency for ptestsRichard Purdie2023-03-121-1/+1
| | | | | | | | | Some of the ptests fail in a minimal image as they depend on options to ps which busybox doesn't support. Add the full utility. (From OE-Core rev: 7305b96dd5b41050c867ce620109407e8fd8b53a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Add missing utf-32 gconv dependency for ptestsRichard Purdie2023-03-121-1/+1
| | | | | | | | | Some of the ptests fail in a minimal image. Add the missing gconv dependency needed to allow those tests to pass. (From OE-Core rev: c79bd575cfaeec4b87554ccff72b804248c509a7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Add missing ptest dependency on openssl-binRichard Purdie2023-03-121-1/+1
| | | | | | | | | One of the openssl ptests needs the openssl binary so fails on a minimal image without this. Add the missing dependency. (From OE-Core rev: c29276b467ae10027f38cb403a2089b3558fc639) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* m4/opkg/ethtool/attr/libgpg-error: Add missing bash ptest dependencyRichard Purdie2023-03-125-4/+5
| | | | | | (From OE-Core rev: 27b6605c7b95f70a50b4243818a03c5b2412c5a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/resulttool: add test for error propagation in test name filteringAlexis Lothoré2023-03-121-0/+24
| | | | | | | (From OE-Core rev: 17d825c88499c6f7e3ffe22fae099871d0850abc) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/resulttool: fix fake data used for testingAlexis Lothoré2023-03-121-4/+4
| | | | | | | | | | | resulttool searches for "status" field, not "STATUS", in results. This fix is more to avoid confusion than fixing anything, since the updated tests are about regression.can_be_compared, which does not check for "status" (From OE-Core rev: df342c81d02dea3f677966602089d4a972bb09bd) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/resulttool: fix ptest filtering testsAlexis Lothoré2023-03-121-36/+44
| | | | | | | | | | | | | | There are multiple issues with the tests for the ptest fixup mechanism introduced in c45d58f003e8d8b323169ca9d479dc49c43a9974: - the feature does not impact regression.can_be_compared but directly the comparison step in regression.regression_common - the "status" field was wrong ("STATUS"), which prevents tests comparison - there is a typo babeltrace2 ptest result name (From OE-Core rev: 69205e2e2117fc469fcf3ae4b2174482db1d6297) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dhcpcd: Fix install conflict when enable multilib.Wang Mingyu2023-03-112-0/+47
| | | | | | | | | | | | | | | | | | | | | | Error: Transaction test error: file /usr/share/man/man8/dhcpcd.8 conflicts between attempted installs of dhcpcd-doc-9.4.1-r0.cortexa57 and lib32-dhcpcd-doc-9.4.1-r0.armv7ahf_neon The differences between the two files are as follows: @@ -821,7 +821,7 @@ If you always use the same options, put them here. .It Pa /usr/libexec/dhcpcd-run-hooks Bourne shell script that is run to configure or de-configure an interface. -.It Pa /usr/lib64/dhcpcd/dev +.It Pa /usr/lib/dhcpcd/dev Linux .Pa /dev management modules. (From OE-Core rev: 65ca2c4b7349a4f7dcfcc580d926a99c673deb60) 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>
* perf: fix buildpaths QA warningBruce Ashfield2023-03-111-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the 6.2+ kernel, arm64 perf has a buildpaths QA warning as a syscall table is now being dynamically generated. That generated table includes unistd.h by absolute path, which in turn triggers the buildpaths QA warning. This could easily be patched in linux-yocto, but that would leave the QA issue in perf built from other kernel trees. So we instead to the following: - Add the perf tools directory to the include path - Modify the Makefile to have a relative path to unistd.h and pass both the relative and absolute path to the generation script - Modify the generation script to take the relative location of unistd.h as a new parameter, and use that in the generated sycalls.c file At build, the added include path of the perf source allows the relative path file to be included, and no buildpaths warning is generated. (From OE-Core rev: c8845ab59cd7c28874473618f134a5d45906d6ea) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Disable drd/tests/bar_bad ptestRandy MacLeod2023-03-111-0/+1
| | | | | | | | | | | | | This is failing intermettently in the YP autobuilder so disable it until we can fix the root cause. [YOCTO #14311] (From OE-Core rev: 77d06aa41c40f8d78903cc499b3f6906a084699e) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_ext: Handle spaces within user $PATHKenfe-Mickael Laventure2023-03-111-1/+1
| | | | | | | | | | | | | | The script generated by the sdk_ext_postinst function was not quoting the user existing PATH when updating it causing the export command to fail. Add necessary double quotes around $PATH. (From OE-Core rev: 00e96bf250eaaded839caf465dbc0af5b604aed7) Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-scripts: Handle spaces within user $PATHKenfe-Mickael Laventure2023-03-111-1/+1
| | | | | | | | | | | | | The environment-setup script generated by the recipe was not quoting the user existing PATH when updating it causing the export command to fail. Add necessary double quotes around $PATH. (From OE-Core rev: 42177ff2d45ee70ad00917bb6fbabca49dae4f59) Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildtools-tarball: Handle spaces within user $PATHKenfe-Mickael Laventure2023-03-111-1/+1
| | | | | | | | | | | | | The environment-setup script generated by the recipe was not quoting the user existing PATH when updating it causing the export command to fail. Add necessary double quotes around $PATH. (From OE-Core rev: 2d4c032bf3187aaa953a0c33a999074e695f54bb) Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: re-enable version checkAlexander Kanavin2023-03-111-2/+0
| | | | | | | | | | 2.6.0 is out and so we can check for latest version again. (From OE-Core rev: 9851579eeebbdced9e770c4828f521b359e0306f) 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>
* piglit: upgrade to latest revisionAlexander Kanavin2023-03-111-1/+1
| | | | | | | | (From OE-Core rev: 62f0dfda185f6b52dedc86d2f782607d9fc5d182) 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>
* stress-ng: remove obsolete patchAlexander Kanavin2023-03-112-36/+0
| | | | | | | | | | | Upstream has disabled gold support altogether: https://github.com/ColinIanKing/stress-ng/commit/e65f517917fc682784bfa1b3cb53de3f3263b094 (From OE-Core rev: ca7578588ad9bb7a9e6678c1f658da62ffb735f8) 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>
* bind: upgrade 9.18.11 -> 9.18.12Alexander Kanavin2023-03-1110-1/+1
| | | | | | | | (From OE-Core rev: 67734f7574877ca6e0ec06596ff1a48303df0764) 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>
* iproute2: upgrade 6.1.0 -> 6.2.0Alexander Kanavin2023-03-111-2/+2
| | | | | | | | | | License-Update: copyright snippet has been dropped from ip.c (From OE-Core rev: d709e2d4c5d8768b3160d63aec207fe3e2a4066d) 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>
* puzzles: upgrade to latest revisionAlexander Kanavin2023-03-111-1/+1
| | | | | | | | (From OE-Core rev: 6672b556d1bffd72dd73ab4c9eb69c8fe38c3e58) 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>
* libnotify: upgrade 0.8.1 -> 0.8.2Alexander Kanavin2023-03-111-3/+2
| | | | | | | | (From OE-Core rev: 48160a7807fb5547c7c1dfd8af5cbb33ccf46200) 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>
* pango: upgrade 1.50.12 -> 1.50.13Alexander Kanavin2023-03-111-1/+1
| | | | | | | | (From OE-Core rev: 9fcb353216a70b76584a47463d419464489c5a8c) 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>
* vte: upgrade 0.70.2 -> 0.70.3Alexander Kanavin2023-03-111-1/+1
| | | | | | | | (From OE-Core rev: 63cd698547afc69b142ed7ebb9ac8da3d21ea48f) 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>
* make: upgrade 4.4 -> 4.4.1Alexander Kanavin2023-03-113-44/+6
| | | | | | | | (From OE-Core rev: 076815f41740fc480e3fb6b3087840ece1b9e3ce) 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>
* enchant2: upgrade 2.3.3 -> 2.3.4Alexander Kanavin2023-03-111-2/+2
| | | | | | | | (From OE-Core rev: 6b64ba79c7ff1bd77e8601ff5de1df476f8b2d95) 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>
* sqlite3: update 3.40.1 -> 3.41.0Alexander Kanavin2023-03-111-2/+2
| | | | | | | | (From OE-Core rev: 789a5ab8243ab0283d3e268d4b93e02c7128effc) 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>
* font-alias: update 1.0.4 -> 1.0.5Alexander Kanavin2023-03-112-45/+2
| | | | | | | | | | | Drop nocompiler.patch as upstream is now using a macro specifically for data-only items: https://www.spinics.net/lists/xorg/msg60817.html (From OE-Core rev: 14b95747cb1d56c731828e06e60b207cdc94ae5e) 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>
* encodings: update 1.0.6 -> 1.0.7Alexander Kanavin2023-03-112-44/+1
| | | | | | | | | | | Drop nocompiler.patch as upstream is now using a macro specifically for data-only items: https://www.spinics.net/lists/xorg/msg60817.html (From OE-Core rev: 3f1a8baa1033a0cc506b078491ae26f199c81fad) 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>
* util-macros: do not probe into host triplet when checking manpage section namesAlexander Kanavin2023-03-112-0/+30
| | | | | | | | | | | This does not work for allarch recipes in particular (config.sub rejects allarch-poky-linux). (From OE-Core rev: f41be046ff26ecbbab9342ee62dbf39df4596da7) 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>
* iptables: update 1.8.8 -> 1.8.9Alexander Kanavin2023-03-116-46/+53
| | | | | | | | | | | Replace one format string fixing patch with another format string fixing patch. (one problem fixed upstream, another introduced) (From OE-Core rev: 4a7b4d41ddcfaeaf47cf75200f2346639c64b11c) 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>
* ethtool: update 6.1 -> 6.2Alexander Kanavin2023-03-113-64/+4
| | | | | | | | | | Drop patch merged upstream. (From OE-Core rev: ae0e692476b9564aa0a64f65d2abfdc0e55ef23b) 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>
* libdnf: update 0.69.0 -> 0.70.0Alexander Kanavin2023-03-112-39/+1
| | | | | | | | | | Drop the patch as issue addressed upstream. (From OE-Core rev: b5a4c652448284253ab1444d05fdf6bfebfa4273) 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>
* dpkg: update 1.21.20 -> 1.21.21Alexander Kanavin2023-03-111-2/+2
| | | | | | | | (From OE-Core rev: a79382c53aa8fcf143192b3aa275ab9758af8fdf) 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: update 252.5 -> 253.1Alexander Kanavin2023-03-115-3/+88
| | | | | | | | | | | | Add a musl compatibility patch to systemd-boot. Backport a patch to address systemctl fails on 32 bit targets. (From OE-Core rev: d92f0f3597acba6cfc55a8cf2e7249efc6573c6a) 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>
* selftest/overlayfs: enable systemd via INIT_MANAGERAlexander Kanavin2023-03-111-14/+6
| | | | | | | | | | | | Latest systemd version needs the full set of settings enabled by that (if also r/o rootfs is enabled), and refuses to boot otherwise. (From OE-Core rev: 16f7661000a50e58d512a5d47794c5f8be2c49e6) 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>
* procps: update 3.3.17 -> 4.0.3Alexander Kanavin2023-03-116-75/+572
| | | | | | | | | | | | | | Drop patches as upstream refactored the code. Add a compatibility patch to igt-gpu-tools. Add a musl compatibility patch. (From OE-Core rev: 631eba02d64f1a42514e0ae4361bbecc5cce5fa7) 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>
* sudo: update 1.9.12p2 -> 1.9.13p2Alexander Kanavin2023-03-113-12/+13
| | | | | | | | | | License-update: copyright years, formatting. (From OE-Core rev: 1476813725cce6754334b4a6727675640a7a1e44) 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>
* mesa: import patch from upstream to fix tools build on muslDmitry Baryshkov2023-03-112-0/+45
| | | | | | | | | | Fix building the crashdec on the musl systems. (From OE-Core rev: 8bb91d97757f7a84e8ecdbb18457a9d3dcce6417) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: added missing runtime dependencies to run rust on targetSundeep KOKKONDA2023-03-111-0/+2
| | | | | | | | | | | | | | [YOCTO #14975] rust files are not linking on target due to missing dependencies and observed below error. error: linker `x86_64-poky-linux-gcc` not found Added the required dependencies to run rust on target machine. (From OE-Core rev: bb781f452299cfa6ec7fffd215b0af3149178f32) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: Fix build time dependencyZoltan Boszormenyi2023-03-111-1/+1
| | | | | | | | | | Replace explicit opencl-icd-loader with virtual/opencl-icd. (From OE-Core rev: 0ded85c2e4d0888e459bc98d1c8e55429f542dba) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: add/fix web interface packagingTrevor Woerner2023-03-111-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cups includes a web server. Users can surf to port 631 (default) of a machine running cups to (potentially, based on configuration, default off) view jobs, add printers, and perform other forms of administration. The location of the various resources that are used by the built-in web server (e.g. index.html) are installed under ${datadir}/doc/cups. By default these artifacts would be included in the ${PN}-doc package. The comments in this recipe, however, would suggest an attempt was made to have them added to ${PN}; albeit unsuccessfully. These resources add roughly 1.8M to an image. Since cups does include a configuration option to disable the web interface (--enable-webif), add a PACKAGECONFIG (default off) to allow the user to decide whether or not they would like the web interface configured and its pieces added to the image. Enabling this PACKAGECONFIG both enables the web interface to be configured and built into cups, and also adds (by way of a recommendation) the web interface package to the image. Considering that the previous intention was not working, defaulting this option to off preserves the existing behaviour. Previously in order to have the web interface data included in an image, a user would have needed to explicitly add the ${PN}-doc package to their image. (From OE-Core rev: 2c9bd267ec532cd86a4a1be1d4e499e2aae89aba) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: check PACKAGECONFIG for pam featureTrevor Woerner2023-03-111-1/+1
| | | | | | | | | | | | | | The cups' PACKAGECONFIG is populated based on DISTRO_FEATURES, but a user is free to enable or disable PACKAGECONFIGs at will. In theory it is possible that pam is enabled globally in DISTRO_FEATURES but disabled in cups' PACKAGECONFIG. Checking the PACKAGECONFIG to determine whether or not pam is enabled would be a safer check rather than relying on DISTRO_FEATURES. (From OE-Core rev: a053dd177ddc99ced11e68914079be0ffe261262) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>