Re: [yocto] Install mozroot-certdata package on a read only root file system
On 20 October 2016 at 07:59, Jussi Kukkonen wrote: > You'll have to extend the recipe to run mono inside a qemu, there are >> plenty of other recipes that demonstrate how to do this (fontcache and >> gio-module-cache classes come to mind, although they also use intercept >> scripts to avoid running qemu more than once). Basically, use the qemu >> class. >> > > Why qemu? There's a mono-native which I would expect to work unless the > certdata is somehow platform specific (?) > > There's also an additional problem that came up on stack overflow: > mozroots.exe is hard coded to output to a specific file so that would have > to be fixed as well. > Erm, yeah. Next time I'll think for a second - of course mono-native should work! Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Install mozroot-certdata package on a read only root file system
On 19 October 2016 at 21:55, Burton, Ross wrote: > > On 18 October 2016 at 23:26, Nick Wareing > wrote: > >> However I'm running into an issue with a recipe in the meta-mono layer: >> mozroot-certdata. I see the culprit is the pkg_postint script ( >> http://git.yoctoproject.org/cgit/cgit.cgi/meta-mono/tree/re >> cipes-mono/mozroot-certdata/mozroot-certdata_1.0.0.bb) which needs to >> modify the root file system on first boot which the build system is >> correctly flagging as impossible with a read only root file system: >> >> > You'll have to extend the recipe to run mono inside a qemu, there are > plenty of other recipes that demonstrate how to do this (fontcache and > gio-module-cache classes come to mind, although they also use intercept > scripts to avoid running qemu more than once). Basically, use the qemu > class. > Why qemu? There's a mono-native which I would expect to work unless the certdata is somehow platform specific (?) There's also an additional problem that came up on stack overflow: mozroots.exe is hard coded to output to a specific file so that would have to be fixed as well. Jussi -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Install mozroot-certdata package on a read only root file system
On 18 October 2016 at 23:26, Nick Wareing wrote: > However I'm running into an issue with a recipe in the meta-mono layer: > mozroot-certdata. I see the culprit is the pkg_postint script ( > http://git.yoctoproject.org/cgit/cgit.cgi/meta-mono/tree/ > recipes-mono/mozroot-certdata/mozroot-certdata_1.0.0.bb) which needs to > modify the root file system on first boot which the build system is > correctly flagging as impossible with a read only root file system: > > You'll have to extend the recipe to run mono inside a qemu, there are plenty of other recipes that demonstrate how to do this (fontcache and gio-module-cache classes come to mind, although they also use intercept scripts to avoid running qemu more than once). Basically, use the qemu class. Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Install mozroot-certdata package on a read only root file system
I have an established yocto build which I'm now trying to switch over to having a root file system (eg. EXTRA_IMAGE_FEATURES += "read-only-rootfs"). However I'm running into an issue with a recipe in the meta-mono layer: mozroot-certdata. I see the culprit is the pkg_postint script (http://git.yoctoproject.org/cgit/cgit.cgi/meta-mono/tree/recipes-mono/mozroot-certdata/mozroot-certdata_1.0.0.bb) which needs to modify the root file system on first boot which the build system is correctly flagging as impossible with a read only root file system: ERROR: The following packages could not be configured offline and rootfs is read-only: ['mozroot-certdata'] My question is: is their a way to get these mozroot certs installed and configured with mono during the build process, such that the root file system does not need to be modified at boot/run time? Cheers, Nick -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto