Commit Graph

186 Commits

Author SHA1 Message Date
Richard Purdie bd6a1bb278 recipes: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.

This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Wang Mingyu 6049aec87c thingsboard-gateway: upgrade 3.5.3.1 -> 3.6.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-14 08:52:07 -08:00
Wang Mingyu 960cbaa3fb thingsboard-gateway: upgrade 3.5.1 -> 3.5.3.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-24 08:23:09 -08:00
Wang Mingyu f7553ec450 nvmetcli: upgrade 0.7 -> 0.8
Changelog:
=============
- fix common misspellings from codespell project
- nvmetcli: set up the target only after the network is configured
- nvmetcli: fixup ana groupid setting for namespaces
- Documentation: fix typo
- nvmetcli: add a tcp example json
- nvmetcli: Correct xrange usage for py3
- nvmetcli: Allow different devices for make test
- nvmetcli: Report save name correctly
- test_nvmet.py: test_invalid_input fails for py3
- nvme.py: Make modprobe work for kmod lib too
- nvme.py: Sync the containing directory
- nvme.py: Explicit close is redundant
- nvmetcli: Improve IOError handling on restore
- README: Update URL for configshell-fb
- nvmetcli: don't remove ANA Group 1 on clear

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-24 08:23:08 -08:00
Hongxu Jia 450798f0fc android-tools: fix warning: library search path "/usr/lib/p7zip" is unsafe for cross-compilation
Refresh local patch to remove '-L/usr/lib/p7zip'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-19 09:41:31 -08:00
Hongxu Jia 751cc692ee Update p7zip to 7zip
Due to commit [Use 7zip 2409 to replace p7zip 16.02] applied,
update affected recipes

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-19 09:41:31 -08:00
Wang Mingyu 31323ac641 nanopb-generator(-runtime): upgrade 0.4.9 -> 0.4.9.1
Changelog:
==========
- Fix memory not released on error return from pb_decode_ex()
- Fix deprecated MakeClass() call in generator
- Fix compiler error with enums and --c-style
- Fix version conflict with bazel build rules

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-19 09:41:24 -08:00
Khem Raj 5d28ad9899 taisei: Use libucontext with musl
Fixes errors like
| koishi| Checking for function "getcontext" : NO (cached)
| koishi| Checking for function "setcontext" : NO
| koishi| Checking for function "makecontext" : NO (cached)
| koishi| Checking for function "swapcontext" : NO (cached)
| koishi| Message: ** Backend `ucontext_sjlj` is not supported
|
| ../git/subprojects/koishi/src/meson.build:43:4: ERROR: Problem encountered: Unsupported platform

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-24 08:54:42 -08:00
Khem Raj c5aa5e0a20 taisei: Fix build with musl
This patch fixed issue on glibc but regressed on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-22 11:02:13 -08:00
Khem Raj ee89518454 taisei: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-22 08:23:52 -08:00
Thomas Perrot 45cd8411d1 taisei: add a recipe for version 1.4.2
Taisei Project is an open source danmaku.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-06 14:53:13 -08:00
J. S. d2f631c763 Drop unnecessary SRC_URI md5sum from the recipes in meta-oe.
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 19:19:22 -08:00
Yi Zhao 2ed0939c88 netplan: upgrade 1.1 -> 1.1.1
ChangeLog:
https://github.com/canonical/netplan/releases/tag/1.1.1

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-21 20:54:47 -07:00
Wang Mingyu 4d64a20ff6 nanopb: upgrade 0.4.8 -> 0.4.9
Changelog:
==========
- Fix problems with enum intsize introduced in 0.4.8
- Fix Python pkg_resources deprecation
- Add option to discard deprecated fields
- Use fallback_type when breaking circular dependencies
- Discard autogenerated map entry types if the field is skipped
- Use pb_byte_t = uint8_t when available
- Add enum_validate option
- Add check_return attribute for IAR compiler
- Add label_override field option
- Add Zephyr module specification
- Add Apple privacy manifest
- Bazel rule improvements, including bzlmod migration
- CMake build rule improvements
- Improve C++ descriptors
- Test case improvements
- Update dependency package versions
- Documentation improvements

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 07:34:23 -07:00
Yi Zhao 0a28a9ef22 netplan: upgrade 1.0.1 -> 1.1
ChangeLog:
https://github.com/canonical/netplan/releases/tag/1.1

* Drop the following patches as the issues have been fixed upstream:
  0001-meson.build-drop-unnecessary-build-dependencies.patch
  0001-networkd.c-define-scope-specific-to-case-statement.patch

* Set build option -Dtesting=false to skip testing.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 07:46:44 -07:00
Dmitry Baryshkov 2a3d4be999 android-tools: create flag flag file for adbd at a proper location
The patches by Raghuvarya changed the location of the file that systemd
uses to check whether to start the adbd or not. However those patches
completely ignored creating those two flag files, as done by the
android-tools recipes.

Make the android-tools create the /etc/usb-debugging-enabled file so
that it's possible to enable the adbd automatically.

Fixes: a29c6386d5 ("android-toold-adbd: Fix inconsistency between selinux configurations")
Fixes: 8106cfe769 ("android-tools-adbd.service: Change /var to /etc in ConditionPathExists")
Cc: Raghuvarya S <quic_raghuvar@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-05 08:20:29 -07:00
quic-raghuvar a29c6386d5 android-toold-adbd: Fix inconsistency between selinux configurations
ConditionPathExists is set to /etc/usb-debugging-enabled as part of meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service file. However, in meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service file ConditionPathExists is set to /var/usb-debugging-enabled

This causes an internal inconsistency between selinux-enabled and -disabled configurations.

Hence, change ConditionPathExists=/var/usb-debugging-enabled to ConditionPathExists=/etc/usb-debugging-enabled

Reported-by: @lumag
2024-08-22 17:19:42 +05:30
Esben Haabendal cb50c93096 netplan: add missing runtime dependencies
The json module is used in several cli commands.

The fcntl module is used in terminal input handling.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-12 08:16:42 -07:00
Yoann Congal 7f2a97f98a openbox-xdgmenu: update UPSTREAM_CHECK_* variables to fix devtool upgrades
Update UPSTREAM_CHECK_* variables to fix UNKNOWN_BROKEN status with devtool
check-upgrade-status.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Alexandre Truong <alexandre.truong@smile.fr>
2024-07-24 08:56:46 -07:00
Yi Zhao c66db88948 netplan: upgrade 1.0 -> 1.0.1
ChangeLog:
https://github.com/canonical/netplan/releases/tag/1.0.1

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-20 07:26:08 -07:00
Dmitry Baryshkov 3391a9b471 android-tools: make PN-adbd as a systemd package
The android-tools package doesn't include the systemd units. Instead
adbd unit is a part of the android-tools-adbd package. Set the
SYSTEMD_PACKAGES variable accordingly.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-15 16:36:16 -07:00
Wang Mingyu a72241d901 thingsboard-gateway: upgrade 3.5 -> 3.5.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-27 09:19:06 -07:00
alperak d1a5739b34 recipes: set S to fix the QA warning
Fix the warning by pointing S to ${WORKDIR}/sources and UNPACKDIR to ${S}. Since recent UNPACKDIR work, default S directory is not created anymore. By setting UNPACKDIR to S, S in indirectly created in do_unpack.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-21 21:45:10 -07:00
Dmitry Baryshkov 5a4e4c532c android-tools-configfs: Fix build-time warning about S in a second instance of recipe
android-tools-configfs doesn't have any checked out source files, which
results in a warning regarding S not existing. Fix the warning by
pointing S to ${WORKDIR}/sources and UNPACKDIR to ${S}.

Fix the warning for the selinux-enabled recipe.

The warning text:

WARNING: android-tools-conf-configfs-1.0-r0 do_unpack:
android-tools-conf-configfs: the directory ${WORKDIR}/${BP} (<scrubbed>)
pointed to by the S variable doesn't exist - please set S within the
recipe to point to where the source has been unpacked to

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-04 23:49:47 -07:00
Wang Mingyu 99a1d03a2e thingsboard-gateway: upgrade 3.4.6 -> 3.5
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-28 09:34:36 -07:00
Dmitry Baryshkov 6dd9cd977f android-tools: fix UNPACKDIR conversion leftovers
With the intruction of the UNPACKDIR the remount script is placed in the
UNPACKDIR and not in S.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-25 10:55:33 -07:00
Dmitry Baryshkov 88f604fa71 android-tools: fix building with GCC 14
libstdc++ in GCC 14 has dropped several nested includes. Include the
<algorithms> header to fix build error:

system/core/fs_mgr/liblp/utility.cpp: In function 'bool android::fs_mgr::UpdateMetadataForInPlaceSnapshot(LpMetadata*, uint32_t, uint32_t)':
system/core/fs_mgr/liblp/utility.cpp:264:28: error: no matching function for call to 'find(std::vector<LpMetadataPartitionGroup*>::iterator, std::vector<LpMetadataPartitionGroup*>::iterator, __gnu_cxx::__alloc_traits<std::allocator<LpMetadataPartitionGroup>, LpMetadataPartitionGroup>::value_type*)'
  264 |         auto it = std::find(new_group_ptrs.begin(), new_group_ptrs.end(),
      |                   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  265 |                             &metadata->groups[partition.group_index]);
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-25 10:55:33 -07:00
Khem Raj ffc64e9c6f recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
alperak d3a16ad4ae Use PYTHON_SITEPACKAGES_DIR instead of hard-coded site-packages directory path
The following paths have been replaced with PYTHON_SITEPACKAGES_DIR:

- "${libdir}/${PYTHON_DIR}/site-packages"
- "${libdir}/python${PYTHON_BASEVERSION}/site-packages"
- "${libdir}/python*/site-packages"
- "${libdir}/python3.*/site-packages"

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-15 21:01:20 -07:00
Wang Mingyu e0f9a0011c thingsboard-gateway: upgrade 3.4.5 -> 3.4.6
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:55 -07:00
Yi Zhao b44c3de71c netplan: add missing config directory
Create /etc/netplan to store configuration files.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-22 09:05:47 -07:00
Wang Mingyu 9bec1ecc8b thingsboard-gateway: upgrade 3.4.4 -> 3.4.5
Changelog:
 https://thingsboard.io/docs/reference/releases/

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-20 09:28:11 -07:00
Martin Jansa e722be5fac recipes: Drop remaining PR values from recipes
* as oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?id=d4c346e8ab

* when people are have to maintain own PRs for recipes in oe-core, they
  might add them for meta-oe recipes at the same time when upgrading
  to next LTS

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-17 13:10:10 -07:00
Yi Zhao 29a287046e netplan: upgrade 0.106 -> 1.0
Release Notes:
https://github.com/canonical/netplan/releases/tag/1.0

* Switch to meson build
* Add systemd to REQUIRED_DISTRO_FEATURES as systemd dependency can not
  be removed.
* Add a patch to fix build with clang.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:24 -08:00
William A. Kennington III 341c47848d nanopb-runtime: Enable shared library
Some users would like to be able to share library code between multiple
applications without embedding a static copy.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-10 01:48:01 -08:00
William A. Kennington III 30bb83b306 nanopb: Split into 2 packages
This makes it possible to avoid building components which are not used
in the native or runtime tooling. Most users of nanopb just want to
build `nanopb-generator-native` and `nanopb-runtime` and not the other
two combinations as they are building software for their target
leveraging nanopb.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-10 01:48:01 -08:00
William A. Kennington III f0d3a2bc86 nanopb: Update 0.4.7 -> 0.4.8
Uses the new nanopb_PYTHON_INSTDIR_OVERRIDE to drop the previous patch.

Maintains compatability with 0.4.7 and older by adding symlinks to the
old header paths.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-10 01:48:01 -08:00
Martin Jansa 21f956598d recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Yoann Congal 256262d469 packagegroup-meta-oe: remove mongodb
mongodb is skipped pending a port to Python 3.12. But there is no plan
to actually do this port so, in the meantime, remove mongodb from
packagegroup-meta-oe to avoid an unbuildable dependency.

This patch may be reverted once mongodb has been ported to Python 3.12.

[0]: https://lists.openembedded.org/g/openembedded-devel/message/108300

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-19 09:51:06 -08:00
Wang Mingyu e38540eaeb thingsboard-gateway: upgrade 3.4.3.1 -> 3.4.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-02 00:35:53 -08:00
Alexander Kanavin 864a639148 rwmem: fix python modules packaging
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31 08:27:50 -08:00
Alexander Kanavin ef1b5de04c mongodb: skip until python 3.12 fixes are available.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31 08:27:49 -08:00
Alexander Kanavin 599dfcfd66 mozjs-102: remove the recipe
mozjs-102 was retained for the purpose of supporting polkit;
with the backport of mozjs-115 patch for polkit there are no
further consumers, and it's not compatible with python 3.12.

I didn't look into what specifically breaks with 3.12, as getting
mozjs-115 to work with it was tricky enough, so I'd rather drop
mozjs-102, than attempt to make it work.

mozjs-115 is esr (long term support) release like mozjs-102,
but it is also newer and therefore will remain in support longer.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-27 00:15:53 -08:00
Dmitry Baryshkov 90976455c1 android-tools: remove two Debianisms
If the build happens on a Debian system, android-tools build will hang
forever, filling the log files (and the disk) with the following
messages:

make: dpkg-architecture: No such file or directory
make: dpkg-architecture: No such file or directory
make: dpkg-architecture: No such file or directory
make: dpkg-architecture: No such file or directory
/usr/share/dpkg/architecture.mk:9: pipe: Too many open files
/usr/share/dpkg/architecture.mk:9: pipe: Too many open files
/usr/share/dpkg/architecture.mk:9: pipe: Too many open files
/usr/share/dpkg/architecture.mk:9: pipe: Too many open files
/usr/share/dpkg/architecture.mk:9: pipe: Too many open files

Fix two places which include dpkg makefile fragments from the host
system.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-12 08:56:54 -08:00
Wang Mingyu 5a77dd140c thingsboard-gateway: upgrade 3.4.2 -> 3.4.3.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-28 08:55:43 -08:00
LI Qingwu 96430a138e kmsxx: Add recipe
add recipe for kmsxx which is a C++ library for kernel mode setting.

Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-09 20:47:44 -08:00
Khem Raj cc7748fc72 thingsboard-gateway: upgrade 3.4.1 -> 3.4.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:27:14 -08:00
Wang Mingyu 35bfc2bce3 thingsboard-gateway: upgrade 3.3 -> 3.4.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-23 17:00:49 -07:00
Tim Orling 405264645c debsums: remove old recipe
The debsums recipe has not been substantially touched since 2020
when it was moved to dynamic-layers.

In meta-openembedded ecosystem, it is the only known recipe that
depends on po4a, which is being removed in a separate commit.

According to the layerindex, no known recipes depend on debsums:
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=depends%3Adebsums

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-18 20:24:12 -07:00
Martin Jansa aa851eb8e1 meta-oe/dynamic-layers: add one more missing Upstream-Status and fix one malformed
* even openembedded-core/scripts/yocto-check-layer didn't spot missing Upstream-Status in:
  /OE/layers/meta-openembedded/meta-oe/dynamic-layers/gnome-layer/recipes-graphics/openbox/openbox-xdgmenu/7_6.diff

  nor

  Malformed Upstream-Status 'Malformed Upstream-Status in patch
  /OE/layers/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Unbolt-ubuntu-hack.patch
  Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
  Upstream-Status: Inappropriates [ Cross-compile specific ]' (/OE/layers/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Unbolt-ubuntu-hack.patch)
  Unknown Upstream-Status value 'inappropriates' (/OE/layers/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/0001-Unbolt-ubuntu-hack.patch)

  those were caught by patchreview.py again, but executed on dynamic-layers/* as:
  openembedded-core# for l in /OE/layers/meta-openembedded/meta-oe/dynamic-layers/*; do ./scripts/contrib/patchreview.py -v $l > $l.qa-patches; done

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-29 09:50:43 -07:00