summaryrefslogtreecommitdiffstats
path: root/meta-oe
Commit message (Collapse)AuthorAgeFilesLines
* snapper: Fix build with boost 1.89+master-nextKhem Raj6 hours2-1/+92
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* avro-c++: Fix build with boost 1.89+Khem Raj6 hours2-1/+52
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* include-what-you-use: Upgrade to 0.25 (clang_21)Khem Raj6 hours1-3/+2
| | | | | | For clang-21 this is the right release branch to use Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Fix runtime deps and enable musl buildsKhem Raj6 hours1-2/+1
| | | | | | | Remove systemtap from build time dependencies it seems to be not needed and it does not build on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Upgrade to 0.24.0Khem Raj6 hours6-7/+208
| | | | | | Fix build with clang-21 and libc++ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Upgrade to 0.23.5 releaseKhem Raj17 hours2-58/+1
| | | | | | Drop backported patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* uutils-coreutils: upgrade 0.1.0 -> 0.2.0Etienne Cordonnier17 hours4-509/+482
| | | | | | | | | | | See https://github.com/uutils/coreutils/releases/tag/0.2.0 - re-add stdbuf now that cross-compiling has been fixed ( see https://github.com/uutils/coreutils/commit/b5d4b0ee1d91f33546eeb12962606acdc64640db ) - enable compilation of libstdbuf.so as external library (instead of embedding it into stdbuf and writing it to /tmp during runtime) - remove export of PROJECT_NAME_FOR_VERSION_STRING now that the variable has been removed Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool,bpftool-native: Separate out native recipeKhem Raj39 hours2-2/+39
| | | | | | | | | | | | | | | | | | | | | | | | | build uses prepared sourcedir for kernel and relying on target kernel recipe to prepare this is not the correct thing for native package. Since the kernel will need target dependencies cross-compiler etc. to build/prepare the kernel sourcedir This issue is revealed when bpftool-native is built for riscv64 it ends up in build errors ERROR: bpftool-native-1.0-r0 do_configure: The sstate manifest for task 'linux-libc-headers:populate_sysroot' (multilib variant '') could not be found. The pkgarchs considered were: qemuriscv64, allarch, x86_64_x86_64-nativesdk. But none of these manifests exists: /mnt/b/yoe/master/sources/poky/build/tmp/sstate-control/manifest-qemuriscv64-linux-libc-headers.populate_sysroot /mnt/b/yoe/master/sources/poky/build/tmp/sstate-control/manifest-allarch-linux-libc-headers.populate_sysroot /mnt/b/yoe/master/sources/poky/build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-linux-libc-headers.populate_sysroot ERROR: Logfile of failure stored in: /mnt/b/yoe/master/sources/poky/build/tmp/work/x86_64-linux/bpftool-native/1.0/temp/log.do_configure.2509356 Therefore separate it out into independent recipe and use latest stable kernel to build it. Enable musl builds as well for bpftool, it works now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* audit: upgrade 4.0.5 -> 4.1.2Yi Zhao43 hours2-1/+40
| | | | | | | | | | | | | ChangeLog: https://github.com/linux-audit/audit-userspace/releases/tag/v4.1.0 https://github.com/linux-audit/audit-userspace/releases/tag/v4.1.1 https://github.com/linux-audit/audit-userspace/releases/tag/v4.1.2 Disable some test cases in auparse/test as they can not be built with --disable-static configuration. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* malcontent: update 0.13.0 -> 0.13.1Markus Volk43 hours1-3/+3
| | | | | | | | | Bugs fixed: (or any click on carousel's icons) (Philip Withnall) !244 malcontent-control: Fix callback argument list Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xdg-desktop-portal: update 1.20.0 -> 1.20.3Markus Volk43 hours1-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.20.3: Add a fallback code path for GLib older than 2.76 (#1728) Don't require a .desktop file for Flatpak and Snap apps (#1729) 1.20.2: Fix a crash when loading information from Flatpak apps Fix fd handling to prevent EBADF errors 1.20.1: Enhancements: Code cleanups and improvements to app info tracking Include PID/TID in realtime portal error messages Search for portal backends in $XDG_DATA_DIRS (#603) Prioritize user portal configs over system ones Bug Fixes: Fix race condition in the host registry portal Avoid spurious warnings when dbus.service stops Documentation fixes (#1663) Fix running tests from /tmp Fix installing dynamic launcher (#1674) Improve error reporting in the document portal Fix incorrect state tracking in input capture portal Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* flatpak: update 1.16.0 -> 1.16.1Markus Volk43 hours1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.16.1 Enhancements: When using parental controls, allow a child account to update existing apps by default, to ensure that security and bugfix updates can be installed. This can be overridden by setting polkit policy rules for the new org.freedesktop.Flatpak.override-parental-controls-update action if necessary. (#5552) Make systemd scopes easier to match to Flatpak app instances, by using the instance ID instead of the top-level process ID in the scope name (#6015) Access to --device=dri now includes /dev/udmabuf (#6158) Improve the error message for an invalid parameter to flatpak-spawn --sandbox-a11y-own-name (#6048) Speed up flatpak prune --dry-run by not calculating potential freed space and avoiding operations that would need to hold a lock (#5813, #6121) Speed up flatpak permission-reset by only writing entries that have actually changed (#5772) Documentation improvements (#4859, #6066, #6134) Look for TLS certificates at /etc/containers/certs.d when interacting with OCI registries (#5916) Translation updates: bg (#6120), ka (#6176), pl (#6106), pt_BR (#6076, #6188), ro (#6139), ru (#6145), sl (#6054), sv (#6193), tr (#6109) This is the first bugfix release of the Flatpak 1.16 series! Users and distributions are strongly encouraged to update to this version. Bug fixes: Fix intermittent flatpak-portal crashes by avoiding unnecessary multi-threading (#5605) Don't show a confusing confirmation prompt when flatpak remove --unused removes autoprune-unless extensions that are no longer needed, such as older Nvidia drivers (#5712, #2718) Don't propagate $PYTHONPYCACHEPREFIX from host into sandbox (#6110) Don't propagate $WAYLAND_DISPLAY, $WAYLAND_SOCKET from host into sandbox if access to the Wayland socket has been denied (#3948) When discovering the AT-SPI bus, treat $AT_SPI_BUS_ADDRESS as higher-priority than GetAddress(), more closely matching the behaviour of AT-SPI itself (#6173) Fix a memory leak when installing extra-data (#6069) Don't show fatal transaction errors twice (#3400) Fix the build with -Ddefault_library=static (#6119) Fix incorrect error reporting (#6127, #5170) When using FLATPAK_TTY_PROGRESS, terminate OSC escape sequence with standard ST sequence instead of xterm-specific BEL (#6092) Include all options in shell completion for flatpak search (#6096) Internal changes: Fix an unclear boolean expression (no functional change) (#5013) Avoid a duplicate redirection in the test suite (#6117) CI updates Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tk8: upgrade 8.6.15 -> 8.6.17Yi Zhao3 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ChangeLog: 2024-12-19 (bug) [844c0b] Menu entry underline does not consider activeborderwidth 2025-01-03 (bug) [13ac26] wm iconbitmap does not correctly set the icon pixmap hint on macOS 2025-01-27 (bug) [080a28] Aqua: tk_getOpenFile crash 2025-01-28 (bug) [c99266] console menu zh_cn translations 2025-03-17 (bug) [159aa5] MS-Win: Incorrect system menu entries for transient toplevels 2025-03-17 (bug) [91d0e9] MS-Win: Withdrawn Tk transient windows can reappear in Windows taskbar preview 2025-04-26 (bug) [111f66] Aqua: cannot iconify all windows 2025-05-17 (bug) [7231bf99] Setting ttk state may change the variable passed by value 2025-05-29 (feature) [17b509] Win: support PNG images in icon files. 2025-06-01 (bug) [5d0bc3] block cursor size on a tab is too large 2025-07-03 (bug) [6b0f77] gcc 14 breaks configure test for bigendian leading to broken floating point 2025-07-14 (bug) [d25b72] error popup on ttk::scale with invisible trough 2025-07-16 (bug) [770fa0] loading windows dll's in Cygwin doesn't work with high-entropy-va 2025-07-25 (bug) [3d13f8,e90e8c] Aqua: dark mode improvements 2025-07-25 (bug) [e94c8b] interop with clipboard managers 2025-08-11 (bug) [dc38c9] Aqua: NSHighResolutionCapable should be a Boolean value 2025-08-11 (bug) [4e1e10] Aqua: CGRect/NSRect type mismatch on 32-bit Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poco: upgrade 1.13.3 -> 1.14.2Peter Marko3 days4-120/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes: * https://github.com/pocoproject/poco/releases/tag/poco-1.14.0-release * https://github.com/pocoproject/poco/releases/tag/poco-1.14.1-release * https://github.com/pocoproject/poco/releases/tag/poco-1.14.2-release Handles CVE-2025-6375 (in 1.14.2) and several other security issues without CVE assignment. Changes: * remove patches included in new release * added new dependency utf8proc for Foundation * added libpng dependency to PDF (was bundled previously) * added new component DNSSD (Avahi) * fixed buildpaths issue * removed failing test Test with databases are problematic: * ODBC - does not compile (previously caused QA errors) * https://github.com/pocoproject/poco/issues/5010 * MySQL - broken test - database not connecting (already in old version) * Redis - broken test - database not connecting (already in old version) Should be fixed by someone needing these modules. Example can be taken from my ptest patch for PostgreSQL. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* utf8proc: add new recipe with ptestPeter Marko3 days3-0/+49
| | | | | | | | It is needed for poco 1.14+ Ptest runs for less than a second. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poco: enable postgresql supportPeter Marko3 days2-5/+32
| | | | | | | | This was added in recent poco versions and this recipe seems to have configs for all features. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poco: move MongoDB to group of configs disabled by defaultPeter Marko3 days1-1/+1
| | | | | | | MongoDB recipe is currently unbuildable. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poco: disable redis config by defaultPeter Marko3 days1-2/+2
| | | | | | | | | | | | | | | | | | | | | | Tests for Redis are completely failing. Should be fixed by someone interested in this feature. Each test gives: Couldn't connect to [localhost:6379]. test<TEST>: Not connected, test skipped. And summary shows: !!!FAILURES!!! Runs: 54 Failures: 0 Errors: 1 There was 1 error: 1: CppUnit::TestCaller<RedisTest>.testPool "Poco::AssertionViolationException: Assertion violation: _output in file "../sources/poco-1.13.3/Redis/src/Client.cpp", line 178" in "<unknown>", line -1 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poco: ignore newly failing testPeter Marko3 days1-1/+9
| | | | | | | | | PID file seems to work when testing manually, not sure what's wrong with the test, but it's already failing now and we should get back to situation when ptests are passing to enable them. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poco: enable dns in ptestPeter Marko3 days1-0/+8
| | | | | | | | | | | NetSSL tests connect to secure.appinf.com and thus need to resolve DNS. 1 failure and 23 errors are fixed by this change making NetSSL-testrunner to pass. Such configuration is already used in oe-core oeqa maturin test. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poco: remove obsolete config definePeter Marko3 days1-1/+1
| | | | | | | | | Inspecting log.do_configure shows that this variable is listed in "Manually-specified variables were not used by the project". Also sqlite ptests are passing. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poco: cleanup PACKAGECONFIG for native variantPeter Marko3 days1-0/+2
| | | | | | | Remove options which have dependencies without native variant. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe-image-ptest: fix small typoPeter Marko3 days1-1/+1
| | | | | | | memroy -> memory Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* canopenterm: Upgrade to version 1.0.13Michael Fitzmayer4 days1-4/+4
| | | | | | | | | | | | | | | | Update license checksum: the year in the copyright notice has been updated. - Various improvements and bug fixes - Visualise CAN data using graphical widgets - Migrate from SDL2 to SDL3 - Support for CANopen profile databases (including several common application and device profiles) - Basic autocomplete functionality - Persistent command history Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* webkitgtk3: fix do_configure error on beaglebone-yoctoJiaying Song4 days1-12/+0
| | | | | | | | | | | | | | | | | | | | | | * According to latest comment [1] and the mentioned pull request [2], build an ENABLE(WEBASSEMBLY) && !ENABLE(JIT) configuration is supported, so original issue already fixed in current version, the EXTRA_OECMAKE setting is not needed anymore. * This EXTRA_OECMAKE setting causes following configure error on beaglebone-yocto, remove the setting to let the configure process decide the configuration: CMake Error at Source/cmake/WebKitFeatures.cmake:312 (message): ENABLE_JIT conflicts with ENABLE_C_LOOP. You must disable one or the other. [YOCTO #15254] [1] https://github.com/WebKit/WebKit/pull/17447 [2] https://github.com/WebKit/WebKit/pull/17688 Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl2-ttf: add PACKAGECONFIG opengl conditionallyHongxu Jia4 days1-1/+6
| | | | | | | | | | | | | | | | | | | GL is only used for an example binary, add PACKAGECONFIG opengl to enable/disable it according to 'opengl' in DISTRO_FEATURES or not. Otherwise it fails to build world if 'opengl' doesn't exist in DISTRO_FEATURES. ... |ERROR: Nothing PROVIDES 'virtual/egl' (but meta-openembedded/meta-oe/recipes-graphics/ libsdl/libsdl2-ttf_2.24.0.bb DEPENDS on or otherwise requires it). Close matches: | virtual/kernel | virtual/make | virtual/perf |ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. |Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'libsdl2-ttf', 'virtual/egl'] ... Suggested-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openjpeg: fix for CVE-2025-54874Hitendra Prajapati4 days2-0/+45
| | | | | | | Upstream-Status: Backport https://github.com/uclouvain/openjpeg/commit/f809b80c67717c152a5ad30bf06774f00da4fd2d Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pocketpy: Upgrade to 2.1.1Michael Fitzmayer4 days1-2/+6
| | | | | | | | | Update LICENSE checksum: the year in the copyright notice has been updated. Enable CMake option PK_ENABLE_OS which allows PocketPy to perform file operations. Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* yyjson: upgrade 0.11.1 -> 0.12.0Wang Mingyu4 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* parallel: upgrade 20250722 -> 20250822Wang Mingyu4 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nss: upgrade 3.115 -> 3.115.1Wang Mingyu4 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nano: upgrade 8.5 -> 8.6Wang Mingyu4 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libei: upgrade 1.4.1 -> 1.5.0Wang Mingyu4 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jsoncons: upgrade 1.3.2 -> 1.4.0Wang Mingyu4 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hwloc: upgrade 2.12.1 -> 2.12.2Wang Mingyu4 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* geoclue: upgrade 2.7.2 -> 2.8.0Wang Mingyu4 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* feh: upgrade 3.10.3 -> 3.11.1Wang Mingyu4 days1-2/+2
| | | | | | | | | | | | | | | License-Update: Copyright year updated to 2025 Changelog: ============ * Correctly center images in fullscreen mode. This fixes a regression introduced in v3.11. * New option: --tap-zones enables support for simple prev/next tap zones * Fix --scale-down not scaling down the first image in floating i3 windows and similar setups Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* evtest: upgrade 1.35 -> 1.36Wang Mingyu4 days2-5/+4
| | | | | | | | | | | | | | | | | | | 0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch refreshed for 1.36 Changelog: =============== - Add KEY_ROTATE_LOCK_TOGGLE, KEY_REFRESH_RATE_TOGGLE - Add performance key - Add ifdef - Use bytes instead of bits for size of ioctl input - CI: add workflow rules - evtest 1.36 - Add SW_MACHINE_COVER - add KEY_MACRO 1-30 and other keys Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dool: upgrade 1.3.4 -> 1.3.6Wang Mingyu4 days1-2/+2
| | | | | | | | | | | | Changelog: ========== - Add plugin for LNET (Lustre Network) - Fix readpipe function and update plugins for Python3 - Fix empty row for the first iteration of --top-io - Include plugin path and source code in error tracebacks Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cukinia: upgrade 0.8.0 -> 0.9.0Wang Mingyu4 days1-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ctags: upgrade 6.2.20250810.0 -> 6.2.20250831.0Wang Mingyu4 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cryptsetup: upgrade 2.8.0 -> 2.8.1Wang Mingyu4 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* asyncmqtt: upgrade 10.2.0 -> 10.2.3Wang Mingyu4 days1-1/+1
| | | | | | | | | | | Changelog: ========== * Added missing pingresp timer cancel request hanndling on asio_bind sending. * Fixed pingresp timer management. * Fixed receive_maximum invalid handling issue. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-cst: Replace hard-coded linux64 with linux${SITEINFO_BITS}Marek Vasut5 days1-3/+5
| | | | | | | | | Replace hard-coded linux64 with linux${SITEINFO_BITS}. This way, 32bit machines can also build and use this tool correctly. Signed-off-by: Marek Vasut <marek.vasut@mailbox.org> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* influxdb: Update module cache contentChristian Lindeberg5 days1-3/+3
| | | | | | | | | The Go module cache content URIs has been regenerated by listing dependencies with "${GO_INSTALL}" instead of "${GO_IMPORT}/..." as the package patterns. Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* influxdb: Add spdx parameter to license URIsChristian Lindeberg6 days1-64/+64
| | | | | | | | Add an "spdx" parameter with the identified license name to the URIs in LIC_FILES_CHECKSUM in influxdb-licenses.inc. Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crucible: Update module cache contentChristian Lindeberg6 days1-116/+0
| | | | | | | | | The Go module cache content URIs has been regenerated by listing dependencies with "${GO_INSTALL}" instead of "${GO_IMPORT}/..." as the package patterns. Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crucible: Add spdx parameter to license URIsChristian Lindeberg6 days1-36/+36
| | | | | | | | Add an "spdx" parameter with the identified license name to the URIs in LIC_FILES_CHECKSUM in crucible-licenses.inc. Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* image_types_verity.bbclass: remove breaking unit suffix from ↵Bastian Krause6 days1-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | machine-readable verity parameters Since cryptsetup 2.8.0 [1], "veritysetup format" prints " [bytes]" suffixes for "Data block size" and "Hash block size" parameters: UUID: Hash type: 1 Data blocks: 34655 Data block size: 4096 [bytes] Hash blocks: 275 Hash block size: 4096 [bytes] Hash algorithm: sha256 Salt: 8a8d8d807bd9838a80397a13b3bc13c55780ff1677ee4489366b17dab1b29316 Root hash: bd85312151dc5c69efce943038e0ac4b92e14d8954cce5d3cc90513837f854bf This output is directly converted to a shell sourcable form in "${DEPLOY_DIR_IMAGE}/<IMAGE_LINK_NAME>.verity-params" used to create the desired block device via "dmsetup" during runtime. The unit suffix becomes part of the VERITY_DATA_BLOCK_SIZE and VERITY_HASH_BLOCK_SIZE variables, breaking its consumers: /init: /verity-params: line 4: [bytes]: not found /init: /verity-params: line 6: [bytes]: not found verity root hash: bd85312151dc5c69efce943038e0ac4b92e14d8954cce5d3cc90513837f854bf [ 3.323577] device-mapper: table: 253:0: verity: Invalid data device block size (-EINVAL) [ 3.323595] device-mapper: ioctl: error adding target to table [ 3.345301] /dev/dm-0: Can't lookup blockdev Fix this by removing the unit suffixes from the values. Ideally veritysetup should support machine-readable output, but that did not spark joy on the maintainer's side [2] (at least in veritysetup itself). [1] commit f8788f34 ("Mark all sizes in status and dump output in the correct units.") [2] https://gitlab.com/cryptsetup/cryptsetup/-/issues/638 Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ssd1306: Update to newer versionLeon Anavi6 days1-1/+1
| | | | | | | | | Update to the latest version of the source code in GitHub: - Use snprintf to replace strncpy without null string at last Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>