diff options
author | Frederic Martinsons <frederic.martinsons@gmail.com> | 2023-03-31 07:45:26 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-04-01 11:36:26 +0100 |
commit | ad460bb6aac01271eb36efed3ad3e8f4c0407e8d (patch) | |
tree | 7be4b727e06a5b6f1be846d61eee29c92a9a6408 /meta/classes/extrausers.bbclass | |
parent | 11180fd52801680ab4ea85865368f3d9e837f2e0 (diff) | |
download | poky-ad460bb6aac01271eb36efed3ad3e8f4c0407e8d.tar.gz |
meta-selftest: provide a recipe for zvariant
This recipe is for showing a "real world" example of
a crate that depends on some git repositories.
Usually, this kind of crate is built within a global
workspace (here it is the zbus project) and so
doesn't need a Cargo.lock on its own.
For the sake of the demonstration, I had to tweak things
a little to be able to compile zvariant in standalone
(no relative path in dependency, no symlink to LICENSE
provide a Cargo.lock)
The use case where the crate had some git repository
in dependency is very common for "private" crate that
are not aimed to be published on crates.io.
When the project grow bigger, it is common to have
a bin and multiple lib developped in parallel, and these
libs are surely on a git repostitory.
A test case have been also added to check for:
- the previous patch about git subpath parameter and devtool
- the correctness of overriding dependencies (first patch of the
series)
(From OE-Core rev: 409e045f96f69877de6f36ed14c5c19a9cb74eaf)
Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/extrausers.bbclass')
0 files changed, 0 insertions, 0 deletions