pub enum BitbakeAction {
CopyIntoRecipe {
recipe_files_dir: PathBuf,
},
InvokeBitbake {
build_dir: PathBuf,
recipe: String,
dry_run: bool,
},
}Expand description
What to do with the assembled dist/ tree.
Variants§
CopyIntoRecipe
Copy dist/ under a recipe’s files/ directory so a SRC_URI picks it up.
InvokeBitbake
Invoke bitbake <recipe> in a Yocto build directory.
Fields
§
dry_run: boolWhen set, resolve and report the bitbake command without running it.
This supports splitting the build across machines: the Consortium
build assembles dist/ on one host, and the actual bitbake runs on
a separate Yocto host that need not have the artifacts locally yet. The
stage succeeds without requiring bitbake on the local PATH.
Trait Implementations§
Source§impl Clone for BitbakeAction
impl Clone for BitbakeAction
Source§fn clone(&self) -> BitbakeAction
fn clone(&self) -> BitbakeAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BitbakeAction
impl RefUnwindSafe for BitbakeAction
impl Send for BitbakeAction
impl Sync for BitbakeAction
impl Unpin for BitbakeAction
impl UnsafeUnpin for BitbakeAction
impl UnwindSafe for BitbakeAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more