khem | bluelightning: There is one review on error-report-web waiting for your re-review, can you take a look https://lists.yoctoproject.org/g/yocto/topic/61340472#47225 | 00:03 |
---|---|---|
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has quit IRC | 00:04 | |
*** vineela <vineela!vtummala@nat/intel/x-jxhcycuzxebboafh> has quit IRC | 00:42 | |
*** kovalevsky <kovalevsky!~kovalevsk@fedora/kovalevsky> has quit IRC | 01:04 | |
*** mccc <mccc!~mccc@c-73-239-24-228.hsd1.wa.comcast.net> has joined #yocto | 01:35 | |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has quit IRC | 01:52 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 01:56 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 01:56 | |
*** armpit <armpit!~armpit@45.19.219.178> has quit IRC | 02:02 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 02:07 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 02:08 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 02:19 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 02:19 | |
*** hpsy <hpsy!~hpsy@217.66.60.5> has quit IRC | 02:38 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 02:46 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 02:46 | |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC | 03:27 | |
*** gtristan <gtristan!~tristanva@110.11.227.189> has joined #yocto | 03:38 | |
*** armpit <armpit!~armpit@2601:202:4180:a5c0:35a0:cc10:e86b:4673> has joined #yocto | 04:37 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 05:02 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 05:09 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 05:16 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 05:16 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 05:25 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 05:26 | |
*** robert__ <robert__!~robert@unknown-3-104.windriver.com> has joined #yocto | 05:48 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 05:50 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 05:52 | |
*** robert__ <robert__!~robert@unknown-3-104.windriver.com> has quit IRC | 05:55 | |
*** ibinderwolf <ibinderwolf!~quassel@etrn.topcontrol.it> has joined #yocto | 06:08 | |
*** [Sno] <[Sno]!~sno@p4FE93807.dip0.t-ipconnect.de> has quit IRC | 06:17 | |
*** hyper_dave <hyper_dave!~quassel@196.188.72.247> has quit IRC | 06:22 | |
*** AndersD <AndersD!~AndersD@h-98-128-162-82.NA.cust.bahnhof.se> has joined #yocto | 06:22 | |
*** kroon <kroon!~kroon@213.185.29.22> has joined #yocto | 06:26 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 06:26 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 06:27 | |
*** hamis <hamis!~irfan@110.93.212.98> has joined #yocto | 06:29 | |
*** jobroe <jobroe!~manjaro-u@193.158.0.154> has joined #yocto | 06:30 | |
*** hyper_dave <hyper_dave!~quassel@196.188.72.247> has joined #yocto | 06:38 | |
*** JaMa <JaMa!~martin@109.238.218.228> has joined #yocto | 06:46 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 06:56 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 06:57 | |
*** [Sno] <[Sno]!~sno@195.14.209.36> has joined #yocto | 07:00 | |
*** gtristan <gtristan!~tristanva@110.11.227.189> has quit IRC | 07:10 | |
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has joined #yocto | 07:17 | |
*** kroon <kroon!~kroon@213.185.29.22> has quit IRC | 07:21 | |
*** kroon <kroon!~kroon@213.185.29.22> has joined #yocto | 07:23 | |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has joined #yocto | 07:25 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 07:26 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 07:27 | |
*** m1ster_r0b0t <m1ster_r0b0t!~m1ster_r0@80-110-44-28.static.upcbusiness.at> has quit IRC | 07:38 | |
*** frsc <frsc!~frsc@mue-88-130-73-095.dsl.tropolys.de> has joined #yocto | 07:39 | |
*** florian_kc is now known as florian | 07:40 | |
*** mckoan|away is now known as mckoan | 07:44 | |
*** fl0v0 <fl0v0!~fvo@89.244.124.208> has joined #yocto | 07:51 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 07:56 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 07:56 | |
*** sagner <sagner!~ags@2a02:169:3df5::edf> has quit IRC | 08:00 | |
*** yacar_ <yacar_!~yacar_@static-css-csd-172251.business.bouyguestelecom.com> has joined #yocto | 08:03 | |
*** sagner <sagner!~ags@31-10-206-124.static.upc.ch> has joined #yocto | 08:08 | |
*** submux <submux!~submux@158.36.191.160> has joined #yocto | 08:11 | |
*** leon-anavi <leon-anavi!~Leon@78.130.197.211> has joined #yocto | 08:25 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 08:26 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 08:26 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto | 08:34 | |
*** micka_ <micka_!~micka@reverse-75.fdn.fr> has joined #yocto | 08:35 | |
*** micka <micka!~micka@reverse-75.fdn.fr> has quit IRC | 08:35 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 08:37 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has joined #yocto | 08:37 | |
*** PinkSnake <PinkSnake!51ff1123@81.255.17.35> has joined #yocto | 08:40 | |
*** kaspter <kaspter!~Instantbi@2409:891e:7067:5376:fcfa:da80:d994:d718> has joined #yocto | 08:42 | |
*** yann <yann!~yann@91-170-159-152.subs.proxad.net> has quit IRC | 08:50 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 08:56 | |
PinkSnake | Morning all, I have some issue with openjdk-7_99b00-2.6.5.bb ( from zeus branch) --> Exception during build_dependencies for LLVM_CONFIGURE_ARCH. It's probably because my target arch is aarch64. How can i remove shark from PACKAGCONFIG ? Thx. | 08:56 |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 08:56 | |
*** micka_ is now known as micka | 09:04 | |
*** AndersD <AndersD!~AndersD@h-98-128-162-82.NA.cust.bahnhof.se> has quit IRC | 09:09 | |
*** kuschky <kuschky!c22a5e3e@194.42.94.62> has joined #yocto | 09:17 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 09:26 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 09:26 | |
*** locutus_ <locutus_!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 09:42 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has quit IRC | 09:43 | |
*** hpsy <hpsy!~hpsy@85.203.15.31> has joined #yocto | 09:43 | |
*** locutus__ <locutus__!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 09:46 | |
*** hpsy <hpsy!~hpsy@85.203.15.31> has quit IRC | 09:47 | |
*** locutus_ <locutus_!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has quit IRC | 09:49 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 09:51 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has joined #yocto | 09:51 | |
*** locutus__ <locutus__!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has quit IRC | 09:53 | |
*** yann <yann!~yann@85.118.38.73> has joined #yocto | 09:55 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 09:56 | |
*** kroon <kroon!~kroon@213.185.29.22> has quit IRC | 10:00 | |
*** NiksDev <NiksDev!~NiksDev@192.91.101.31> has quit IRC | 10:02 | |
*** kroon <kroon!~kroon@213.185.29.22> has joined #yocto | 10:02 | |
*** NiksDev <NiksDev!~NiksDev@192.91.75.30> has joined #yocto | 10:02 | |
*** sstiller <sstiller!~sstiller@b2b-94-79-174-114.unitymedia.biz> has joined #yocto | 10:09 | |
mcfrisk | I have some experience with several yocto BSP layers for various SoC families. The best to work with is TI with meta-ti, second best NXP with meta-freescale. Third is meta-intel which has some complications and odd things. Distant fourth is Qualcomm with their non-open meta layers which are really hard to work with. | 10:12 |
LetoThe2nd | public codeshaming! | 10:12 |
* LetoThe2nd gets popcorn and beer | 10:12 | |
mcfrisk | actually I wanted to thank TI for meta-ti. It is great! Also NXP does a really good job though some high level bbappends are not really needed, e.g. systemd, and I had to BBMASK them away. | 10:15 |
LetoThe2nd | ah dang.... | 10:20 |
LetoThe2nd | i hoped for some real good, entertaining falming. | 10:21 |
LetoThe2nd | :-( | 10:21 |
*** locutus_ <locutus_!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 10:22 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 10:23 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 10:23 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has quit IRC | 10:24 | |
*** locutus_ <locutus_!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has quit IRC | 10:30 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 10:30 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has joined #yocto | 10:30 | |
*** kuschky2 <kuschky2!~kuschky@194.42.94.62> has joined #yocto | 10:31 | |
kuschky2 | Hello, I'm using BusyBox v1.24.1 by building Yocto 2.4 for beagleBone black. My problem is that when I change the timezone by exporting TZ the date command while display teh set timezone but not showing the correct local date for the timezone. Is that a missing feature in BusyBox? Or does somebody has an idea what could be the reason? | 10:31 |
*** kuschky <kuschky!c22a5e3e@194.42.94.62> has quit IRC | 10:33 | |
*** hpsy <hpsy!~hpsy@217.66.60.5> has joined #yocto | 10:38 | |
milloni | kuschky2: can you paste us an example? | 10:46 |
*** kaspter <kaspter!~Instantbi@2409:891e:7067:5376:fcfa:da80:d994:d718> has quit IRC | 10:49 | |
*** nacknick <nacknick!b9b8f483@185.184.244.131> has quit IRC | 11:04 | |
milloni | a while ago, someone here said i can have a read-only sstate-cache (through SSTATE_MIRRORS i suppose), and then push the cache from my local build to that cache | 11:08 |
milloni | anyone have any pointers to that? i can't find anything in the documentation | 11:08 |
LetoThe2nd | milloni: hum, what additionally do you need besides building somewhere, putting the sstate into an accessible location and then modifiying the variable in local.conf? there should even be an example included in the template. | 11:10 |
mcfrisk | milloni: https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-SSTATE_MIRRORS | 11:10 |
milloni | that i can do, that's not the point | 11:11 |
milloni | let me explain the motivation so that it's a bit clearer | 11:11 |
LetoThe2nd | milloni: please. | 11:11 |
milloni | i need the artifacts from each "local" builds (they're actually CI builds) to be pushed to a shared cache | 11:12 |
milloni | this is fine, i could point the build to a shared SSTATE_DIR | 11:12 |
milloni | however, i don't trust the local build with access to the shared cache | 11:13 |
milloni | so hence my question, is there a protocol for pushing new artifacts to the cache, without giving the local build full access to the cache | 11:13 |
milloni | someone in this channel suggested there is, but they might have misunderstood my question | 11:13 |
LetoThe2nd | milloni: as far as i know, its just not like "build, then push into a repo with some merge protocol". rather, the repo is just the resulting sstate of some build. | 11:14 |
LetoThe2nd | but of course i might be wrong. | 11:14 |
milloni | that matches my understanding | 11:14 |
milloni | that is, an external sstate mirror is just a dump of SSTATE_DIR | 11:15 |
LetoThe2nd | that is my understanding and experience, correct. | 11:15 |
milloni | i'm not speaking so much of a merge protocol, it's more about the fact that i dont trust my local build to have full read-write access to the remote cache | 11:16 |
milloni | so the protocol would be simple | 11:16 |
mcfrisk | milloni: we do CI releases which publishes sstate cache. This released cache is then used as SSTATE_MIRROR for all CI builds | 11:17 |
milloni | it would accept objects with new cache keys and deny objects with existing cache keys | 11:17 |
LetoThe2nd | milloni: send patches, then. | 11:17 |
yocti | New news from stackoverflow: Create a recipe which install the program using make install command in deployment section <https://stackoverflow.com/questions/60412221/create-a-recipe-which-install-the-program-using-make-install-command-in-deployme> | 11:17 |
LetoThe2nd | milloni: publish a server backend :) | 11:17 |
*** freez <freez!c5f07513@197.240.117.19> has joined #yocto | 11:17 | |
milloni | ^ (with regard to pushing to the cache) | 11:17 |
freez | hello, I have a problem using ssh key | 11:18 |
milloni | LetoThe2nd: so, as of today, no such feature exists? | 11:18 |
freez | I am following these steps in order to make a remote connection between Windows machine and Linux platform | 11:18 |
freez | https://docs.microsoft.com/en-us/cpp/linux/set-up-fips-compliant-secure-remote-linux-development?view=vs-2019#to-create-and-use-an-rsa-key-file | 11:18 |
paulbarker | milloni: I use rsync or rclone (depending on the target) with the command line argument to ignore files which already exist in the destination | 11:18 |
milloni | mcfrisk: right, i'd like to be more flexible than that - for any user branch, i'd like the artifacts of that build become available in the remote cache | 11:19 |
freez | my linux platform is working with Linux image build with Yocto project | 11:19 |
freez | in step 3 , when I cat the ssh pub file , it says he can not find the .ssh/authorized_keys | 11:20 |
freez | folder | 11:20 |
LetoThe2nd | paulbarker: sync merging to remote sstate work? interesting. | 11:20 |
freez | where should I find it ? | 11:20 |
milloni | paulbarker: fair enough, although it doesnt get me the results i need | 11:20 |
paulbarker | freez: Do you need FIPS compliance? If not I'd avoid any guide that talks about FIPS | 11:21 |
freez | yes I need it | 11:21 |
LetoThe2nd | paulbarker: the guide looks like FIPS is just a fancy buzzword for "uses ssh" in this case. | 11:21 |
freez | besides I added ssh-server-openssh to my extra_image_features | 11:21 |
milloni | paulbarker: so just to confirm, your local build has its own SSTATE_DIR and after you're done with the build, you rsync the contents of SSTATE_DIR into your remote cache (which is specified in SSTATE_MIRRORS)? | 11:22 |
paulbarker | freez: You should be talking to security professionals for advice to ensure you stay FIPS compliant then | 11:22 |
mcfrisk | milloni: in our case, sstate mirror for each branch different. You can initially rsync it from the thing where branch was created though. in our case all builds, including new release builds, start by re-using the sstate mirror of the previous release. we wipe sstate chache on build machines between builds and make sure with rsync that sstate mirror is uptodate. | 11:22 |
LetoThe2nd | freez: if the file doesn't exist, mkdir .ssh, and touch it. | 11:22 |
paulbarker | milloni: Yes (see https://gitlab.com/SanCloudLtd/sancloud-arago/-/blob/thud/.gitlab-ci.yml) | 11:23 |
freez | as simple as that ? LetoThe2nd | 11:23 |
LetoThe2nd | freez: seriously, all that FIPSyness in the guide you linked is random buzzwordery. in the end it just talks about setting up a generic, public-key autheticated openssh login. | 11:24 |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has joined #yocto | 11:24 | |
*** berton <berton!~berton@177.194.196.4> has joined #yocto | 11:25 | |
milloni | mcfrisk: isn't that kind of inefficient? between releases every build has to start from the state of the previous release | 11:25 |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 11:26 | |
*** hamis <hamis!~irfan@110.93.212.98> has quit IRC | 11:26 | |
mcfrisk | milloni: yes, it's not perfect, but it keeps sstate mirror size under control and makes sure all changes are compiled at least twice in CI (once in developers topic build, second time in release) which hopefully exposes all possible race conditions too. | 11:26 |
milloni | mcfrisk, interesting, thanks | 11:27 |
mcfrisk | (though I know there are many, many ways to add races to builds and break it for all...) | 11:27 |
milloni | a bit weird for my taste but still interesting | 11:27 |
mcfrisk | simple and stupid, works for +5 years now. | 11:27 |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 11:28 | |
*** berton <berton!~berton@177.194.196.4> has quit IRC | 11:28 | |
mcfrisk | and since yocto 1.4 or so onwards | 11:28 |
mcfrisk | daisy? | 11:28 |
*** hamis <hamis!~irfan@110.93.212.98> has joined #yocto | 11:29 | |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has quit IRC | 11:29 | |
*** berton <berton!~berton@177.194.196.4> has joined #yocto | 11:30 | |
*** locutus_ <locutus_!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 11:31 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has quit IRC | 11:34 | |
*** freez <freez!c5f07513@197.240.117.19> has quit IRC | 11:35 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 11:36 | |
milloni | paulbarker: thanks, that's probably what we'll end up doing; | 11:36 |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 11:36 | |
milloni | one more question - what's in tmp/deploy/sources/mirror ? | 11:37 |
paulbarker | milloni: Download mirror populated via the archiver bbclass | 11:38 |
milloni | can you not just rsync the DL_DIR? | 11:38 |
kuschky2 | example for the busybox date problem: | 11:39 |
kuschky2 | root@beaglebone-mb-board:~# export TZ=Europe/Berlin | 11:39 |
kuschky2 | root@beaglebone-mb-board:~# date | 11:39 |
kuschky2 | Fri Jan 24 17:43:09 Europe 2020 | 11:39 |
kuschky2 | root@beaglebone-mb-board:~# export TZ=America/Aruba | 11:39 |
kuschky2 | root@beaglebone-mb-board:~# date | 11:39 |
kuschky2 | Fri Jan 24 17:43:14 America 2020 | 11:39 |
kuschky2 | You see the displayed timezone changed but the time is not localized | 11:40 |
milloni | kuschky2: hm, strange | 11:40 |
milloni | my guess would be it's a bug in busybox, but it's just a guess | 11:41 |
paulbarker | milloni: See http://lists.openembedded.org/pipermail/openembedded-core/2019-September/287278.html for the logic | 11:42 |
milloni | ah, so it's a fresh new thing | 11:42 |
paulbarker | milloni: Yes, the major advantage for me is that the download mirror still gets populated if a package is rebuilt from sstate | 11:45 |
paulbarker | That doesn't happen if you just grab DL_DIR | 11:45 |
milloni | is that a big advantage? i would expect in typical cases if you rebuild from sstate, the download mirror had already been populated at some point | 11:50 |
*** yacar_ <yacar_!~yacar_@static-css-csd-172251.business.bouyguestelecom.com> has quit IRC | 11:53 | |
paulbarker | milloni: Yes. It basically comes down to having confidence in the GPL compliance | 11:54 |
*** rubdos <rubdos!~rubdos@2a02:578:859d:700:8b44:5716:382d:a7da> has quit IRC | 11:55 | |
paulbarker | It also helps with customers behind corporate or government firewalls as you can create and send a complete source mirror for a single release | 11:55 |
*** rubdos <rubdos!~rubdos@2a02:578:859d:700:8b44:5716:382d:a7da> has joined #yocto | 11:55 | |
paulbarker | And if for some reason the sync to the download mirror fails but the sync to the sstate mirror succeeds - who cares! On the next nightly build the download mirror will be fixed | 11:56 |
paulbarker | We get belt & braces coverage | 11:56 |
milloni | cool | 11:57 |
paulbarker | Plus if you've got proprietary components the sources will likely end up in DL_DIR but you can exclude them from this mirror by setting COPYLEFT_LICENSE_EXCLUDE | 11:58 |
*** kuschky <kuschky!~kuschky@194.42.94.62> has joined #yocto | 11:58 | |
milloni | makes sense | 12:02 |
*** kuschky2 <kuschky2!~kuschky@194.42.94.62> has quit IRC | 12:02 | |
*** Dracos-Carazza_ is now known as Dracos-Carazza | 12:02 | |
milloni | i guess i dont have to worry about this too much because ours is a private location | 12:02 |
*** Zajc <Zajc!~Zajc@user140.c8.vrhnika.kabelnet.net> has quit IRC | 12:03 | |
*** Zajc <Zajc!~Zajc@user140.c8.vrhnika.kabelnet.net> has joined #yocto | 12:05 | |
kuschky | milloni I tried to disable the busybox date and use the normal one but yocto installs always the busybox version. Can you give me a hint how to integrate the standard date command in the image? I dont know which package contains the standard date command. | 12:05 |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 12:06 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 12:07 | |
paulbarker | kuschky: Don't you need to change /etc/localtime? That's how I've always set the timezone. Also make sure your image contains the required tzdata packages | 12:10 |
milloni | paulbarker: interestingly, in kuschky's case, the date command does show the correct timezone after setting TZ | 12:10 |
milloni | it's just the datetime is wrong | 12:11 |
milloni | so looks like a bug in busybox to me | 12:11 |
milloni | i could understand if it just ignored TZ completely | 12:11 |
paulbarker | Weird. Could be a bug then | 12:11 |
milloni | kuschky: i *think* alternative `date` is in coreutils | 12:15 |
*** yacar_ <yacar_!~yacar_@static-css-csd-172251.business.bouyguestelecom.com> has joined #yocto | 12:23 | |
*** lfa <lfa!~lfa@217.19.35.51> has quit IRC | 12:27 | |
*** berton <berton!~berton@177.194.196.4> has quit IRC | 12:27 | |
*** berton <berton!~berton@177.194.196.4> has joined #yocto | 12:27 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@cst-prg-77-140.cust.vodafone.cz> has quit IRC | 12:29 | |
milloni | kuschky: not sure if that will set /bin/date to use the one from coreutils, but i would try that | 12:33 |
milloni | IMAGE_INSTALL += "coreutils" | 12:33 |
milloni | but you might have to remove busybox too | 12:34 |
milloni | i dont know | 12:34 |
milloni | kuschky: so perhaps try this: | 12:38 |
milloni | in your IMAGE_INSTALL, assuming you append packagegroup-core-boot | 12:38 |
milloni | don't append busybox | 12:38 |
milloni | IMAGE_INSTALL += "coreutils" | 12:38 |
milloni | VIRTUAL-RUNTIME_login_manager = "shadow-base" | 12:39 |
milloni | the last line should prevent packagegroup-core-boot from pulling busybox | 12:39 |
kuschky | milloni: I will try this later and let you know if it works. | 12:39 |
*** mckoan <mckoan!~marco@unaffiliated/mckoan> has quit IRC | 12:41 | |
milloni | kuschky: that line line has to be global though, i.e local.conf or distro config or machine config | 12:43 |
*** falstaff <falstaff!~quassel@37.17.234.113> has joined #yocto | 12:44 | |
*** mckoan <mckoan!~marco@unaffiliated/mckoan> has joined #yocto | 12:48 | |
*** nslu2-log <nslu2-log!~nslu2-log@milla.nas-admin.org> has joined #yocto | 12:52 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 12:56 | |
*** micka <micka!~micka@reverse-75.fdn.fr> has quit IRC | 12:57 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 12:57 | |
*** micka <micka!~micka@reverse-75.fdn.fr> has joined #yocto | 12:57 | |
dev1990 | Is it okay to use OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "/usr/bin" like this ? | 13:00 |
*** tgamblin <tgamblin!~tgamblin@128.224.252.2> has joined #yocto | 13:01 | |
LetoThe2nd | dev1990: no idea, whats the actual use case? | 13:01 |
dev1990 | cmake not finding native tools like git | 13:01 |
*** vmeson <vmeson!~rmacleod@24-52-239-53.cable.teksavvy.com> has quit IRC | 13:02 | |
dev1990 | even if DEPENDS += "git-native" i get | -- Could NOT find Git (missing: GIT_EXECUTABLE) | 13:03 |
dev1990 | not sure if this is workaround or acctual proper way | 13:03 |
LetoThe2nd | hum that sounds very very much like cmake reaching into the host instead the hosttools directory. | 13:04 |
dev1990 | or maybe this is cmake project file fault, but I found that kodi and dolphin-emu is affected the same way | 13:05 |
* LetoThe2nd puts his bet onto cmake project file trying to be clever | 13:05 | |
*** kovalevsky <kovalevsky!~kovalevsk@fedora/kovalevsky> has joined #yocto | 13:05 | |
mcfrisk | dev1990: maybe the cmake project file is searching for /usr/bin/git. check what the cmake module does. after git-native in DEPENDS, git is in the build env. | 13:12 |
LetoThe2nd | yeah, hooray for hardcoded pathes. | 13:12 |
*** PinkSnake <PinkSnake!51ff1123@81.255.17.35> has quit IRC | 13:12 | |
*** PinkSnake <PinkSnake!51ff1123@81.255.17.35> has joined #yocto | 13:17 | |
perdmann | ok i tried to read out the Registers but my board always hangs when i try to read thos registers | 13:19 |
perdmann | any suggestions? | 13:19 |
*** locutus__ <locutus__!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 13:19 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has joined #yocto | 13:20 | |
dev1990 | I found that cmake project using GIT_EXECUTABLE variable, but no one setting this (https://pastebin.com/pbRgiRJe) | 13:21 |
*** kuschky <kuschky!~kuschky@194.42.94.62> has quit IRC | 13:21 | |
paulbarker | perdmann: You probably need to give more context there | 13:21 |
dev1990 | this cmake project is pretty complicated anyway (https://github.com/xbmc/xbmc) | 13:21 |
*** kuschky <kuschky!~kuschky@194.42.94.62> has joined #yocto | 13:21 | |
*** locutus_ <locutus_!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has quit IRC | 13:22 | |
dev1990 | https://cmake.org/cmake/help/v3.0/module/FindGit.html should define this and there is no FindGit invoke in xbmc(kodi) cmake, this is strange | 13:26 |
dev1990 | well, I'll create a issue in xbmc tracker, maybe they will explain how it's working | 13:27 |
*** vmeson <vmeson!~rmacleod@128.224.252.2> has joined #yocto | 13:28 | |
*** hamis <hamis!~irfan@110.93.212.98> has quit IRC | 13:36 | |
*** kuschky <kuschky!~kuschky@194.42.94.62> has left #yocto | 13:37 | |
*** locutus_ <locutus_!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 13:37 | |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-pctjuwpcabkvdokm> has joined #yocto | 13:37 | |
*** locutus__ <locutus__!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has quit IRC | 13:40 | |
fl0v0 | Hi is there a possibility to prevent wic from creating a certain mount point in /etc/fstab but still have the partition in the image? | 13:44 |
LetoThe2nd | fl0v0: i don't think wic creates the fstab, but it rather is what you supply | 13:44 |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has quit IRC | 13:44 | |
fl0v0 | LetoThe2nd: ah found it. It adds the entry to fstab if you provide a mountpoint | 13:48 |
fl0v0 | https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#command-part-or-partition | 13:48 |
yocti | New news from stackoverflow: Native step in a non native yocto recipe <https://stackoverflow.com/questions/60415061/native-step-in-a-non-native-yocto-recipe> || SSH : Problem while setting up a remote Linux connection <https://stackoverflow.com/questions/60414898/ssh-problem-while-setting-up-a-remote-linux-connection> | 13:48 |
LetoThe2nd | fl0v0: interesting. thanks. | 13:48 |
*** rburton <rburton!~rburton@134.191.227.37> has joined #yocto | 13:56 | |
*** berton <berton!~berton@177.194.196.4> has quit IRC | 13:59 | |
*** berton <berton!~berton@177.194.196.4> has joined #yocto | 14:00 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has joined #yocto | 14:03 | |
*** perdmann <perdmann!a5e14925@gateway/web/cgi-irc/kiwiirc.com/ip.165.225.73.37> has quit IRC | 14:08 | |
*** gtristan <gtristan!~tristanva@110.11.227.189> has joined #yocto | 14:15 | |
yocti | New news from stackoverflow: Native step in a non native yocto recipe [closed] <https://stackoverflow.com/questions/60415061/native-step-in-a-non-native-yocto-recipe> | 14:18 |
paulbarker | ^^ Perfect example of why I don't answer things on Stack Overflow - that was a valid question and just gets closed as it didn't have "details" | 14:21 |
*** jobroe <jobroe!~manjaro-u@193.158.0.154> has quit IRC | 14:21 | |
* paulbarker adds yocti to my kill file | 14:22 | |
LetoThe2nd | paulbarker: add SO to killfille :) | 14:26 |
rburton | adding a comment just to spite SO | 14:28 |
*** Nathan2231 <Nathan2231!80e0fc02@128.224.252.2> has joined #yocto | 14:29 | |
LetoThe2nd | rburton: hrhrhr | 14:30 |
rburton | damnit you can't put new lines in comments | 14:30 |
LetoThe2nd | rburton: i also kinda like the ssh problem one. | 14:30 |
Nathan2231 | Hey all, I'm trying to create a recipe that in the Makefile requires docker to build. I've added `DEPENDS = 'docker-ce'` but when building I'm still getting: `| time="2020-02-26T14:28:07Z" level=fatal msg="exec: \"docker\": executable file not found in $PATH"` | 14:30 |
LetoThe2nd | rburton: obviously didn't like my answer here a couple of minutes before. | 14:30 |
smurray | RP: so I think I have a fix in hand for the psplash race, slight issue is there are other new changes in psplash.git that it's unclear how we want to handle if we bump SRCREV | 14:31 |
LetoThe2nd | Nathan2231: you probably mean "docker-ce-native | 14:31 |
LetoThe2nd | Nathan2231: and, in reality, i guess you * | 14:31 |
smurray | RP: i.e. one of the generated images' .h files was removed, so will always be regenerated | 14:31 |
LetoThe2nd | *ACTUALLY* mean to get rid of docker, but... its a close second :) | 14:31 |
Nathan2231 | Haha. That's a good point. But there doesn't seem to be a docker-ce-native | 14:32 |
LetoThe2nd | Nathan2231: recipe writing time for you, then. | 14:33 |
LetoThe2nd | Nathan2231: but seriously, such a build process is completely busted. | 14:33 |
smurray | Nathan2231: that's not going to be particularly workable, since docker needs its daemon running to be able to do anything | 14:33 |
LetoThe2nd | Nathan2231: as it would require the build to be effectively root, and not be contained in any form any more. | 14:33 |
LetoThe2nd | Nathan2231: so your best bet is to rather have a build pipeline that, in whichever form, creates binary artifacts, which you package through a recipe in turn then | 14:34 |
smurray | as an example, the docker build typically wants to run inside docker, but meta-virtualization goes to great pains to avoid doing that | 14:35 |
*** bernardoaraujo_ <bernardoaraujo_!uid179602@gateway/web/irccloud.com/x-fjyxazzpduhnxwce> has joined #yocto | 14:35 | |
* LetoThe2nd rephrases: "completely busted" | 14:36 | |
Nathan2231 | Well that's unfortunate... | 14:36 |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has joined #yocto | 14:38 | |
*** perdmann <perdmann!a5e14925@gateway/web/cgi-irc/kiwiirc.com/ip.165.225.73.37> has joined #yocto | 14:39 | |
Nathan2231 | LetoThe2nd: Alright as an alternative to docker-ce I can use go-native to build. But I'm getting `error setting certificate verify locations:` in the go build. Any idea? | 14:42 |
LetoThe2nd | Nathan2231: nope. | 14:43 |
*** dev1990 <dev1990!~dev@dynamic-62-87-214-51.ssp.dialog.net.pl> has quit IRC | 14:44 | |
bernardoaraujo_ | Nathan2231: I've solved runtime CA problems with golang packages in the past by adding ca-certificates to the recipe DEPENDS... not sure about build, maybe ca-certificates-native? | 14:45 |
*** mccc <mccc!~mccc@c-73-239-24-228.hsd1.wa.comcast.net> has quit IRC | 14:45 | |
*** mccc <mccc!~mccc@c-73-239-24-228.hsd1.wa.comcast.net> has joined #yocto | 14:46 | |
LetoThe2nd | my impression is that all those fancy application package managers are the absolutely utmost PITA when it comes to the reproductible-crosscompilation situation. | 14:46 |
yocti | New news from stackoverflow: Why is this ptvsd package failing to compile? <https://stackoverflow.com/questions/60416188/why-is-this-ptvsd-package-failing-to-compile> | 14:48 |
*** locutus_ <locutus_!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has quit IRC | 14:51 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 14:52 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has joined #yocto | 14:52 | |
bernardoaraujo_ | https://www.irccloud.com/pastebin/kz0ZP8xj/ | 14:54 |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has quit IRC | 14:55 | |
*** sstiller <sstiller!~sstiller@b2b-94-79-174-114.unitymedia.biz> has quit IRC | 14:55 | |
Nathan2231 | bernardoaraujo_: Thanks, I'll give it a go and let you know! | 14:56 |
bernardoaraujo_ | welcome! | 14:56 |
bernardoaraujo_ | my turn: | 14:56 |
bernardoaraujo_ | how to make sure the user is able to access man pages? I noticed ${PN}-doc packages (when available) contain the man pages, but I can't figure out how to make sure my image installs ${PN}-doc for all packages that provide that option | 14:56 |
*** dev1990 <dev1990!~dev@dynamic-62-87-214-51.ssp.dialog.net.pl> has joined #yocto | 14:58 | |
paulbarker | bernardoaraujo_: I think you can add doc-pkgs to IMAGE_FEATURES. Check the manuals for the exact syntax | 14:59 |
LetoThe2nd | paulbarker: ++ | 14:59 |
paulbarker | https://www.yoctoproject.org/docs/3.0/mega-manual/mega-manual.html#ref-features-image | 15:00 |
LetoThe2nd | although, users and manuals, thats generally a way more psychological than a technical issue.... | 15:00 |
LetoThe2nd | </SCNR> | 15:00 |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has quit IRC | 15:06 | |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has joined #yocto | 15:07 | |
Nathan2231 | bernardoaraujo_: Unfortunately no dice. On closer look at the logs it appears to be setting the CAfile in a nonexistent directory | 15:08 |
bernardoaraujo_ | LetoThe2nd: exactly! I wanna make sure I can say RTFM, kinda like paul should have told me | 15:08 |
bernardoaraujo_ | paulbarker: thanks, works like a charm! | 15:08 |
LetoThe2nd | bernardoaraujo_: hrhr | 15:08 |
*** jonmason <jonmason!sid36602@gateway/web/irccloud.com/x-rxfaykyynngdoodl> has quit IRC | 15:17 | |
*** jonmason <jonmason!sid36602@gateway/web/irccloud.com/x-oadrcfjysnnwglvj> has joined #yocto | 15:17 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 15:17 | |
yocti | New news from stackoverflow: setxkbmap equivalent in a Yocto Project based Distro <https://stackoverflow.com/questions/60374051/setxkbmap-equivalent-in-a-yocto-project-based-distro> | 15:18 |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has quit IRC | 15:20 | |
*** Sandrita <Sandrita!d0586e2e@gateway/web/cgi-irc/kiwiirc.com/ip.208.88.110.46> has joined #yocto | 15:23 | |
*** PinkSnake <PinkSnake!51ff1123@81.255.17.35> has quit IRC | 15:36 | |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has quit IRC | 15:43 | |
*** rcw <rcw!~rcw@128.224.252.2> has joined #yocto | 15:44 | |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has joined #yocto | 15:44 | |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has joined #yocto | 15:47 | |
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has quit IRC | 15:53 | |
*** falstaff <falstaff!~quassel@37.17.234.113> has quit IRC | 15:57 | |
*** falstaff <falstaff!~quassel@2a02:169:3df5::509> has joined #yocto | 15:59 | |
*** kroon <kroon!~kroon@213.185.29.22> has quit IRC | 16:04 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC | 16:26 | |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has quit IRC | 16:34 | |
*** vineela <vineela!~vtummala@134.134.139.72> has joined #yocto | 16:41 | |
*** comptroller <comptroller!~comptroll@47-213-227-146.paolcmtc01.res.dyn.suddenlink.net> has quit IRC | 16:45 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 16:51 | |
*** yacar_ <yacar_!~yacar_@static-css-csd-172251.business.bouyguestelecom.com> has quit IRC | 16:55 | |
*** comptroller <comptroller!~comptroll@47-213-227-146.paolcmtc01.res.dyn.suddenlink.net> has joined #yocto | 16:56 | |
*** fl0v0 <fl0v0!~fvo@89.244.124.208> has quit IRC | 17:00 | |
*** kovalevsky <kovalevsky!~kovalevsk@fedora/kovalevsky> has quit IRC | 17:07 | |
*** m1ster_r0b0t <m1ster_r0b0t!~m1ster_r0@80-110-44-28.static.upcbusiness.at> has joined #yocto | 17:15 | |
*** sveinse <sveinse!~sveinse@7.92-221-150.customer.lyse.net> has left #yocto | 17:25 | |
khem | RP: I think the utils.bbclass patch on master-next is causing https://errors.yoctoproject.org/Errors/Details/392780/ | 17:29 |
*** yann <yann!~yann@85.118.38.73> has quit IRC | 17:39 | |
*** Nathan2231 <Nathan2231!80e0fc02@128.224.252.2> has quit IRC | 17:42 | |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has joined #yocto | 17:43 | |
*** sagner <sagner!~ags@31-10-206-124.static.upc.ch> has quit IRC | 17:52 | |
*** mckoan is now known as mckoan|away | 18:10 | |
khem | RP: I wonder if https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.13.bb symlinks are issue | 18:13 |
*** locutus_ <locutus_!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 18:16 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has quit IRC | 18:19 | |
*** locutus__ <locutus__!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 18:21 | |
*** gtristan <gtristan!~tristanva@110.11.227.189> has quit IRC | 18:22 | |
*** locutus_ <locutus_!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has quit IRC | 18:24 | |
*** frsc <frsc!~frsc@mue-88-130-73-095.dsl.tropolys.de> has quit IRC | 18:25 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has quit IRC | 18:28 | |
*** robert_yang <robert_yang!~robert@60.247.85.82> has joined #yocto | 18:29 | |
*** [Sno] <[Sno]!~sno@195.14.209.36> has quit IRC | 18:45 | |
*** lfa <lfa!~lfa@217.19.35.51> has joined #yocto | 18:45 | |
*** mauz555 <mauz555!~mauz555@2a01:e0a:56d:9090:4da4:4d81:3f24:e164> has joined #yocto | 18:50 | |
*** kovalevsky <kovalevsky!~kovalevsk@181.168.100.76> has joined #yocto | 18:53 | |
*** kovalevsky <kovalevsky!~kovalevsk@fedora/kovalevsky> has joined #yocto | 18:53 | |
*** muep <muep!~quassel@muep.iki.fi> has quit IRC | 18:58 | |
*** mauz555 <mauz555!~mauz555@2a01:e0a:56d:9090:4da4:4d81:3f24:e164> has quit IRC | 18:59 | |
*** yann <yann!~yann@91-170-159-152.subs.proxad.net> has joined #yocto | 19:19 | |
*** JaMa <JaMa!~martin@109.238.218.228> has quit IRC | 19:26 | |
*** comptroller <comptroller!~comptroll@47-213-227-146.paolcmtc01.res.dyn.suddenlink.net> has quit IRC | 19:28 | |
*** vmeson <vmeson!~rmacleod@128.224.252.2> has quit IRC | 19:42 | |
*** comptroller <comptroller!~comptroll@47-213-227-146.paolcmtc01.res.dyn.suddenlink.net> has joined #yocto | 19:45 | |
stwcx | I've got an odd QA failure I am stuck on. Working on openbmc and we're still using some python2 stuff and we're in the process of moving it over to python3. | 19:47 |
stwcx | There is one recipe that both uses python3 as part of the build (to generate code) and installs a python script into the target. | 19:47 |
stwcx | It DEPENDS on both python3 and python3-native and RDEPENDS on python3-core. | 19:48 |
stwcx | I end up with something like: QA Issue: /usr/bin/sdbus++ contained in package sdbus++ requires .../recipe-sysroot-native/usr/bin/python3-native/python3, but no providers found in RDEPENDS_sdbus++ | 19:49 |
stwcx | When I look at the RPM, it does indeed have a dependency on the *native* python3 even though it is a target package. | 19:49 |
stwcx | rpm -qpR sdbus++-1.0+git0+67c79b0ca6-r1.arm1176jzs.rpm shows .../recipe-sysroot-native/usr/bin/python3-native/python3 | 19:50 |
stwcx | Prior to the python3 conversion it showed '/usr/bin/env'. | 19:50 |
smurray | stwcx: perhaps its build process is grabbing the path to python3 and sticking it into a script's shebang line? | 19:51 |
stwcx | smurray: I don't think so, but let me 100% confirm that is *not* the case. | 19:51 |
stwcx | The original script (in source) has a #!/usr/bin/env python3 | 19:51 |
smurray | I guess try grepping for recipe-sysroot-native in everything in the WORKDIR/package directory, to see if it's getting into something | 19:53 |
stwcx | Oh, wow. When I look at packages-split/sdbus++ it does indeed have a replaced she-bang!! | 19:53 |
*** Sandrita <Sandrita!d0586e2e@gateway/web/cgi-irc/kiwiirc.com/ip.208.88.110.46> has quit IRC | 19:54 | |
smurray | heh, now you just have to figure out how that happened | 19:54 |
stwcx | Yeah. Would 'inherit python3native' be causing it somehow? | 19:54 |
smurray | not that I can think of, it just sets a few variables iirc | 19:55 |
stwcx | Agreed to my recollection too. | 19:55 |
smurray | seems more likely there's logic in the package makefiles, etc. that's trying to be overly clever | 19:56 |
stwcx | It seems to be using some mix of autotools and python-setuptools... I wonder if setuptools is doing it. | 19:57 |
stwcx | There's nothing in the autotools/makefile that would be doing it. | 19:57 |
stwcx | Thanks though. That gives me something to look at at least. | 19:57 |
smurray | stwcx: no worries, good luck | 19:58 |
*** kovalevsky <kovalevsky!~kovalevsk@fedora/kovalevsky> has quit IRC | 19:59 | |
*** gsalazar <gsalazar!~gsalazar@2001:818:e633:c100:83a0:92b7:67ab:e154> has joined #yocto | 20:05 | |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-pctjuwpcabkvdokm> has quit IRC | 20:07 | |
stwcx | Turns out there is a reported issue with pypa/setuptools on this and OE has some workarounds referenced right in the issue. https://github.com/pypa/setuptools/issues/494. | 20:07 |
stwcx | Hopefully I can just do some magic "inherit distutils3" incantation and it'll all be solved. My only trouble is that this is a autotools and distutils3 is meant to be for "standalone" python packages. | 20:07 |
*** falstaff <falstaff!~quassel@2a02:169:3df5::509> has quit IRC | 20:10 | |
*** sno <sno!~sno@p4FE93807.dip0.t-ipconnect.de> has joined #yocto | 20:14 | |
*** sagner <sagner!~ags@2a02:169:3df5::edf> has joined #yocto | 20:15 | |
yocti | New news from stackoverflow: Cannot get matchbox-keyboard to display on kiosk touchscreen <https://stackoverflow.com/questions/60421772/cannot-get-matchbox-keyboard-to-display-on-kiosk-touchscreen> | 20:19 |
*** gsalazar <gsalazar!~gsalazar@2001:818:e633:c100:83a0:92b7:67ab:e154> has quit IRC | 20:26 | |
*** gsalazar <gsalazar!~gsalazar@2001:818:e633:c100:83a0:92b7:67ab:e154> has joined #yocto | 20:27 | |
stwcx | smurray: Thanks again for the help. I just needed another brain to point me in a direction. :) I was able to port the distutils3 workarounds into our autotools+python bbclass. | 20:32 |
smurray | stwcx: cool | 20:32 |
*** vmeson <vmeson!~rmacleod@24-52-239-53.cable.teksavvy.com> has joined #yocto | 20:35 | |
*** kanavin_home <kanavin_home!~ak@2a02:2450:1011:56f:238d:84be:b349:9184> has quit IRC | 20:39 | |
*** kanavin_home <kanavin_home!~ak@2a02:2450:1011:56f:238d:84be:b349:9184> has joined #yocto | 20:42 | |
*** bernardoaraujo_ <bernardoaraujo_!uid179602@gateway/web/irccloud.com/x-fjyxazzpduhnxwce> has quit IRC | 20:47 | |
*** tgamblin <tgamblin!~tgamblin@128.224.252.2> has quit IRC | 20:50 | |
*** mranostay <mranostay!~mranostay@pdpc/supporter/active/mranostay> has quit IRC | 20:55 | |
*** gsalazar <gsalazar!~gsalazar@2001:818:e633:c100:83a0:92b7:67ab:e154> has quit IRC | 21:08 | |
*** BobPungartnik <BobPungartnik!~BobPungar@187.113.143.193> has joined #yocto | 21:09 | |
*** berton <berton!~berton@177.194.196.4> has quit IRC | 21:17 | |
*** anoo1 <anoo1!~anoo1@129.41.86.5> has joined #yocto | 21:19 | |
*** BobPungartnik <BobPungartnik!~BobPungar@187.113.143.193> has quit IRC | 21:26 | |
*** Sandrita <Sandrita!25a71672@gateway/web/cgi-irc/kiwiirc.com/ip.37.167.22.114> has joined #yocto | 21:41 | |
*** rcw <rcw!~rcw@128.224.252.2> has quit IRC | 21:48 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has joined #yocto | 21:50 | |
mischief | what is the main difference between 'BitBake-Style Python Functions' and 'Python Functions' in bitbake? | 21:56 |
adelcast | Piraty: nope, still alive, =) | 21:58 |
kergoth | mischief: are you comparing functions defined with 'def' to those defined in the usual function syntax? | 22:03 |
*** pohly <pohly!~pohly@p5B05600C.dip0.t-ipconnect.de> has quit IRC | 22:03 | |
*** dev1990 <dev1990!~dev@dynamic-62-87-214-51.ssp.dialog.net.pl> has quit IRC | 22:03 | |
mischief | kergoth: yes. what's the difference? | 22:07 |
*** locutus__ <locutus__!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has quit IRC | 22:13 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@mob-31-157-224-163.net.vodafone.it> has joined #yocto | 22:14 | |
*** LocutusOfBorg <LocutusOfBorg!~LocutusOf@ubuntu/member/locutusofborg> has joined #yocto | 22:14 | |
khem | def form can be nested | 22:23 |
khem | and a local function inside function can be used | 22:23 |
*** mranostay <mranostay!~mranostay@pdpc/supporter/active/mranostay> has joined #yocto | 22:32 | |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has joined #yocto | 22:35 | |
*** dev1990 <dev1990!~dev@dynamic-62-87-214-51.ssp.dialog.net.pl> has joined #yocto | 22:50 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 22:56 | |
*** Sandrita <Sandrita!25a71672@gateway/web/cgi-irc/kiwiirc.com/ip.37.167.22.114> has quit IRC | 22:58 | |
mischief | khem: how would i call a python function from a shell task? | 23:01 |
kergoth | you can't directly. that is, you can use ${@} to call a def'd python function from there, but it'll be run at expansion time, not the time the task runs | 23:04 |
mischief | :-( | 23:04 |
kergoth | still does the job more often than not, depends on exactly what you're trying to do | 23:04 |
mischief | well, i am building something :-) | 23:05 |
mischief | i could try to do it as a shell task i suppose | 23:05 |
kergoth | there are a number of options. you could split off a standalone python script and call that, if it doesn't need metadata access, for example | 23:05 |
mischief | kergoth: ah, no. i do need access to some variables, and passing them all as cli args seems mildly painful | 23:09 |
mischief | basically i need to template a large string. my thought was to use python's builtin templating | 23:10 |
mischief | a heredoc might work instead.. | 23:10 |
kergoth | could do that, iv'e used def'd functions that emit metadata variables in a shell syntax or '| while read' syntax before to do that sort of thing | 23:13 |
kergoth | could also emit a subsection of hte metadata as json.. | 23:13 |
kergoth | or just write your main task as python and have it bb.build.exec_func() the shell part and the python part, or write hte whole thing in python, or.. | 23:13 |
kergoth | :) | 23:13 |
mischief | kergoth: one problem is that this is inside an existing task | 23:13 |
kergoth | downside to yocto/oe, flexible, but always so many ways you could do things..and it's not always obvious which is the cleanest | 23:14 |
mischief | specifically an image conversion task :\ | 23:14 |
mischief | i.e. this lives inside CONVERSION_CMD | 23:14 |
kergoth | ah, and that's expanded directly, not run via exec_func.. | 23:14 |
kergoth | mischief: https://gist.github.com/kergoth/09de93347bb62238ad5bede58e41bcd4 hacky, admittedly, but.. needs must | 23:17 |
kergoth | really depends on how many variables are needed, not all approaches would scale well | 23:17 |
yocti | New news from stackoverflow: gconftool-2 missing [Yocto] <https://stackoverflow.com/questions/60423937/gconftool-2-missing-yocto> | 23:20 |
*** vineela <vineela!~vtummala@134.134.139.72> has quit IRC | 23:26 | |
*** rburton <rburton!~rburton@134.191.227.37> has quit IRC | 23:42 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!