Commit Graph

9 Commits

Author SHA1 Message Date
Martin Jansa
c2e8199d87 netavark, xen: *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now:

Patches in Pending state: 15 (11%)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-06-22 14:41:45 -04:00
Peter Kjellerstedt
8c599baea9 netavark: Rewrite the recipe
The previous version of the recipe was generated by cargo-bitbake, which
expects that future updates to the recipe will also be done by
cargo-bitbake and therefore formats it to accomodate this.

Since we have now switched to the more commonly used (and supported)
cargo-update-recipe-crates bbclass for updating the crate URIs, the
recipe can be rewritten to better conform to common recipe standards.
This also folds netavark.inc into it as there is no longer any need
to keep it separate.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-05-08 18:42:14 -04:00
Peter Kjellerstedt
d903219b9e netavark: Add checksums for the crate URIs
Use the cargo-update-recipe-crates bbclass to update the crate URIs
including adding checksums for them, as they are now required by the
crate fetcher.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-05-08 18:42:14 -04:00
Peter Kjellerstedt
498a53037e netavark: Move the crate URIs to a separate .inc file
As a preparation for switching to using the cargo-update-recipe-crates
bbclass to update the crate URIs, move the existing crate URIs to the
netavark-crates.inc file that it expects.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-05-08 18:42:14 -04:00
Martin Jansa
fff79433b6 aardvark-dns, netavark: add seccomp to REQUIRED_DISTRO_FEATURES
* because of runtime dependency on slirp4netns

* fixes:
ERROR: Nothing RPROVIDES 'slirp4netns' (but meta-virtualization/recipes-containers/aardvark-dns/aardvark-dns_1.2.0.bb RDEPENDS on or otherwise requires it)
slirp4netns was skipped: missing required distro feature 'seccomp' (not in DISTRO_FEATURES)
NOTE: Runtime target 'slirp4netns' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['slirp4netns']
NOTE: Runtime target 'aardvark-dns' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['aardvark-dns', 'slirp4netns']
NOTE: Runtime target 'netavark-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['netavark-dev', 'aardvark-dns', 'slirp4netns']
NOTE: Runtime target 'netavark' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['netavark', 'aardvark-dns', 'slirp4netns']
NOTE: Runtime target 'aardvark-dns-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['aardvark-dns-dev', 'slirp4netns']

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-04-12 13:10:11 -04:00
Vasileios Anagnostopoulos
e14985f0e3 netavark: Add ptest support
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-03-08 17:08:01 -05:00
Vasileios Anagnostopoulos
3e4863e579 aardvark-dns: add the recipe
The aardvark-dns is an optional runtime dependency of the netavark.
This recipe introduces the aardvark-dns, so it can be integrated
to netavark.

Signed-off-by: Vasileios Anagnostopoulos <vasileios.anagnostopoulos@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-03-08 17:08:01 -05:00
Vasileios Anagnostopoulos
a04a42da99 netavark: update the netavark version
Signed-off-by: Vasileios Anagnostopoulos <vasileios.anagnostopoulos@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-03-08 17:08:01 -05:00
Pascal Bach
311b1e218b netavark: add the netavark recipe
The recipe is generated via cargo-bitbake. Modifications are done
in netavark.inc to allow re-genrating the recipe for future updates.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Vasileios Anagnostopoulos <vasileios.anagnostopoulos@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-03-08 17:08:01 -05:00