Skip to contentSkip to conversation

supplier workflow

DISCUSSION Robert Berger 3 participants 3 messages Nov 17, 2018

lore
Share & tools
lore
#0 lore raw

Hi,

I came across a scenario, which does not seem too strange, but I am not sure how this can be handled with OE/YP. (just nasty hacks with SSTATE)

1) Company A provides an SDK to to Company B - no source code provided
2) Company B provides a "binary" back to Company A - no source code povided
3) Company A integrates this "binary" back into some project and bitbakes the image

Ideally Company B does not just provide a "binary" executable/library, but a package e.g. ipk.

Company A could provide an extensible SDK and Company B could create a package of their stuff with it.

Now comes the question: "Is it possible for Company A to add a package (no source code available) back into a project and bitbake this? If yes, how?"

The advantage would be that Company B would be forced to bitbake it (with the additional checks done by OE/YP) and not just compile something somehow with a "classic" SDK and ship it.

Regards,

Robert

#1 lore raw

You can put the ipk file location directly into SRC_URI. Bitbake will unpack it without further tricks. Then just copy the contents in do_install().

Alex

Quoted 33 lines · Robert Berger

Hi,

I came across a scenario, which does not seem too strange, but I am not sure how this can be handled with OE/YP. (just nasty hacks with SSTATE)

1) Company A provides an SDK to to Company B - no source code provided
2) Company B provides a "binary" back to Company A - no source code povided
3) Company A integrates this "binary" back into some project and bitbakes the image

Ideally Company B does not just provide a "binary" executable/library, but a package e.g. ipk.

Company A could provide an extensible SDK and Company B could create a package of their stuff with it.

Now comes the question: "Is it possible for Company A to add a package (no source code available) back into a project and bitbake this? If yes, how?"

The advantage would be that Company B would be forced to bitbake it (with the additional checks done by OE/YP) and not just compile something somehow with a "classic" SDK and ship it.

Regards,

Robert
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
In reply to Robert Berger
Quoted 14 lines · Robert Berger

Hi,

I came across a scenario, which does not seem too strange, but I am not sure how this can be handled with OE/YP. (just nasty hacks with SSTATE)

1) Company A provides an SDK to to Company B - no source code provided
2) Company B provides a "binary" back to Company A - no source code povided
3) Company A integrates this "binary" back into some project and bitbakes the image

Ideally Company B does not just provide a "binary" executable/library, but a package e.g. ipk.

Quoted 7 lines

Company A could provide an extensible SDK and Company B could create a package of their stuff with it.

Now comes the question: "Is it possible for Company A to add a package (no source code available) back into a project and bitbake this? If yes, how?"

there is some help if you inherit bin_package

Quoted 12 lines

The advantage would be that Company B would be forced to bitbake it (with the additional checks done by OE/YP) and not just compile something somehow with a "classic" SDK and ship it.

Regards,

Robert
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto