alessioigor has quit [Remote host closed the connection]
alessioigor has joined #yocto
xmn has quit [Ping timeout: 265 seconds]
mckoan|away is now known as mckoan
<mckoan>
good morning
leon-anavi has joined #yocto
lorenzoruffati[m has joined #yocto
nemik has quit [Ping timeout: 240 seconds]
nemik has joined #yocto
mvlad has joined #yocto
nemik has quit [Ping timeout: 250 seconds]
nemik has joined #yocto
<lorenzoruffati[m>
Good morning, I'm looking into deploying a python application on a yocto based device. I can get it running properly but I would also like to obtain the cross compiled wheels (for application updates or use in virtual environments). Is there a standard way to achieve this? At least for the packages I'm interested in the wheel is generated in the do_compile and used to install to the build. But it isn't exposed outright and it also has
<lorenzoruffati[m>
incorrect metadata
<lorenzoruffati[m>
* Good morning, I'm looking into deploying a python application on a yocto based device. I can get it running properly but I would also like to obtain the cross compiled wheels (for application updates or use in virtual environments). Is there a standard way to achieve this? At least for the packages I'm interested in the wheel is generated in the do_compile and used to install to the build. But it isn't exposed after that and it also
<lorenzoruffati[m>
has incorrect metadata
<mckoan>
lorenzoruffati[m: probably there are several solutions, however you can allow bitbake to drive you in the build directory using -c devshell
alessioigor has quit [Quit: alessioigor]
prabhakarlad has joined #yocto
alessioigor has joined #yocto
yannd has quit [Remote host closed the connection]
<lorenzoruffati[m>
I have found the build directory and the built wheel file (that's how I was able to determine that the metadata is incorrect) I was wondering if there is any established way of building the package with the correct metadata and placing the wheel in a separate directory. At the moment my best idea is to create my own bbclass to replace setuptools3, but I am new to yocto/bitbake and this feels like a common enough task that I think I
<lorenzoruffati[m>
might be missing a simpler way
<mckoan>
lorenzoruffati[m: probably we don't have enough details to answer, anyone?
arctize[m] has joined #yocto
PobodysNerfect has joined #yocto
ptsneves has joined #yocto
florian__ has joined #yocto
arlort[m] has quit [Remote host closed the connection]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
florian__ has quit [Ping timeout: 250 seconds]
PobodysNerfect has quit [Quit: Gone to sleep. ZZZzzz…]
Net147 has quit [Read error: Connection reset by peer]
rber|res has quit [Ping timeout: 240 seconds]
rber|res has joined #yocto
Net147 has joined #yocto
Net147 has joined #yocto
Net147 has quit [Changing host]
<mason>
He's been dis-rm'd.
xmn has joined #yocto
seninha has quit [Quit: Leaving]
jmk1 has joined #yocto
Thorn has joined #yocto
<Peter[m]123>
Hi again, we are currently looking into setting up a shared internal hash equivalence server. I wondered if you're able to share any deployment details of the Yocto public instance? E.g. IIUC, I think we probably actually need to launch two instances of bitbake-hashserv pointing at the same db file - one for the build jobs and a read-only one for shared use?
<rburton>
halstead: ^^^ if you have a moment
Guest32 has joined #yocto
Guest32 has quit [Client Quit]
PobodysNerfect has quit [Quit: Gone to sleep. ZZZzzz…]
<paulg>
ERROR: When reparsing /home/paul/poky/meta/recipes-core/images/core-image-minimal.bb:do_write_wks_template, the basehash value changed from 7c25319919703fd056e12de03029773848173f277e2a318177a9d253029ed7c6 to 115753bada69bd55f42be354a766f36570f6ad5ef01de4ee476c261d57ec77eb. The metadata is not deterministic and this needs to be fixed.
<paulg>
This isn't my normal area of poking around, so I'm sure I'm doing something wrong.
<rburton>
hm hm that's what I'd have thought would be right
<paulg>
I wonder if it is the context of *where* I'm setting those lines above? meta-security/classes/dm-verity-img.bbclass
<kevinrowland>
Speaking of images, image recipes are giving me some trouble right now. I want to write an image recipe that simply takes the existing WIC image, combines it with some other scripts, and tars / gzips it up. So I wrote a new BBCLASS, added it to IMAGE_CLASSES, and in that class I wrote a `do_image_foo`, with `addtask do_image_foo before
<kevinrowland>
do_image_complete after do_image_wic`. and yet it doesn't run when I ask for an image with `bitbake <image-name>`. Am I missing something? Does IMAGE_CMD have to be involved?
<rburton>
your addtask probably needs to say it runs before build, so make it happen in the default task
<rburton>
image_cmd is used if you want to write little shell fragments to manipulate the image, so you could have an IMAGE_CMD which does your work then you set IMAGE_TYPES to wic.mything
<rburton>
example: gz is a image command, so if you do wic.gz you get a compressed wic image
<paulg>
FWIW, I did check and commented out my d.setVar() lines out, and the error goes away, so it definitely is tied to those three vars changing. Frustrating.
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
goliath has quit [Quit: SIGSEGV]
<rburton>
abelloni: you only saw the gdbm no tests thing once, right?
<kevinrowland>
Thanks rburton I'll give that a try, but to be clear: `addtask do_image_foo before do_image after do_image_wic`? Where `do_image` is the "build" task you're referring to?
<abelloni>
rburton: yes
<rburton>
kevinrowland: no, i literally mean the build task
<rburton>
but convention would be to use an IMAGE_CMD instead of a new task, the wic one is a bit special
florian__ has joined #yocto
seninha has joined #yocto
<kevinrowland>
Oh it's just clicked - `do_build` - thanks again. Doesn't seem to be working but I can do some more debugging and might come back with a more specific question
<rburton>
invoke it explicitly to check it works fine like that
<rburton>
yes, i think i have most of those fixes locally
<rburton>
i'll check
florian__ has quit [Ping timeout: 250 seconds]
leon-anavi has quit [Quit: Leaving]
<kevinrowland>
So I just had to use `after do_image_complete`, because that's what moves `.wic.bz2` into `${DEPLOY_DIR_IMAGE}`, which is where I do my tarring
amitk has quit [Remote host closed the connection]
Thorn has quit [Ping timeout: 250 seconds]
<khem>
rburton: ok, I will look out for patches for meta-oe 🙂
<halstead>
Peter[m]123: I had a few meetings. A simple write up is available at https://wiki.yoctoproject.org/wiki/Hash_Equivalence_Server. Please let me know if you have questions and feel free to edit the page if you spot any mistakes.
Thorn has joined #yocto
kpo has quit [Ping timeout: 256 seconds]
prabhakarlad has joined #yocto
goliath has joined #yocto
<JaMa>
khem: I was able to reproduce the networkmanager issue you mentioned after adding gobject-introspection-data to my DISTRO_FEATURES, will send v2 after figuring out what's going on
<khem>
OK
<vvn>
khem: if I understand correctly, Qualcomm is not usually open minded regarding FOSS, and meta-qcom is a work from Linaro to push the openness regarding their SoC, is that correct?
<khem>
vvn: I am not sure about details, but some of SBCs like dragonboards are supported via that layer, there might be other QCA chipsets which are not and perhaps supported by some proprietary layers I dont know
<vvn>
khem: that's what I'm looking at at the moment, I'm still not certain if the Qualcomm Snapdragon 210 MSM8909 is supported by a Yocto layer or not (sometimes SoC/CPU have alternative names..)
amitk has joined #yocto
Guest68 has joined #yocto
<vvn>
like it looks like it is compatible in a way with 8916 but I'm not sure
Guest68 has quit [Quit: Client closed]
ptsneves has quit [Ping timeout: 240 seconds]
tgamblin has quit [Quit: Leaving]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
alessioigor has quit [Quit: alessioigor]
mvlad has quit [Remote host closed the connection]
PobodysNerfect has quit [Quit: Gone to sleep. ZZZzzz…]