*** BaloneyGeek|work <BaloneyGeek|work!~bg14ina@kde/bgupta> has quit IRC | 00:02 | |
*** kergoth_ <kergoth_!~kergoth@ip68-98-7-222.ph.ph.cox.net> has quit IRC | 00:03 | |
*** yettt <yettt!~yettt@31.145.161.14> has quit IRC | 00:09 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 00:28 | |
-YoctoAutoBuilder- build #1100 of nightly-world is complete: Failure [failed BuildImages] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-world/builds/1100 | 00:35 | |
khem | RP: is there anyway to always delete a file during do_install if found ? | 00:38 |
---|---|---|
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 00:38 | |
khem | RP: on musl charset.alias gets generated quite often due to a gnulib bug but its spurious file | 00:39 |
khem | fixing gnulib and propagating it to all relevant packages will take some time since gnulib is shared in source | 00:39 |
*** yettt <yettt!~yettt@31.145.161.14> has joined #yocto | 00:40 | |
khem | something like a global do_install_append() | 00:40 |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 00:41 | |
*** nighty- <nighty-!~nighty@d246113.ppp.asahi-net.or.jp> has joined #yocto | 00:54 | |
*** nighty- <nighty-!~nighty@d246113.ppp.asahi-net.or.jp> has quit IRC | 00:56 | |
-YoctoAutoBuilder- build #861 of nightly-oe-selftest is complete: Failure [failed Running oe-selftest] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/861 | 00:57 | |
bluelightning | khem: could you do a do_install_append() or a do_install postfunc in tclibc-musl.inc ? | 00:57 |
*** nighty- <nighty-!~nighty@d246113.ppp.asahi-net.or.jp> has joined #yocto | 00:57 | |
khem | bluelightning: yeah, I did something like https://github.com/kraj/openembedded-core/commit/beca51e7c4b595118f813df85470c4746e34a4e9 | 00:58 |
bluelightning | khem: right.. not sure if base or the inc file is the best place to put it, but either will work | 01:00 |
khem | may be limiting it to tclibc-musl is better | 01:00 |
bluelightning | khem: you may need to limit it to class-native as well to avoid affecting native recipes | 01:00 |
bluelightning | er | 01:00 |
bluelightning | class-target, I meant | 01:01 |
bluelightning | for a workaround like this you probably should have a comment in the function explaining it as well | 01:01 |
*** Snert_ <Snert_!~snert_@65.74.8.146> has quit IRC | 01:01 | |
*** Snert_ <Snert_!~snert_@65.74.8.146> has joined #yocto | 01:02 | |
khem | libc-musl override is only effective for target | 01:03 |
khem | https://github.com/kraj/openembedded-core/commit/5a776238a0c85ec13f603c16009b35dc5c80bb20 | 01:03 |
khem | is probably more close to what u suggested | 01:03 |
*** yettt <yettt!~yettt@31.145.161.14> has quit IRC | 01:29 | |
khem | overrides wont work there I believe | 01:30 |
*** bavery_fn <bavery_fn!~bavery@134.134.139.72> has quit IRC | 01:30 | |
*** lolsborn <lolsborn!~lolsborn@c-24-21-23-7.hsd1.or.comcast.net> has joined #yocto | 01:33 | |
*** lolsborn <lolsborn!~lolsborn@c-24-21-23-7.hsd1.or.comcast.net> has quit IRC | 01:34 | |
*** lolsborn <lolsborn!~lolsborn@c-24-21-23-7.hsd1.or.comcast.net> has joined #yocto | 01:35 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 01:37 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 01:39 | |
*** yettt <yettt!~yettt@31.145.161.14> has joined #yocto | 01:52 | |
-YoctoAutoBuilder- build #1100 of nightly-x86-lsb is complete: Success [build successful] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-x86-lsb/builds/1100 | 01:57 | |
khem | bluelightning: this version seems to work https://github.com/kraj/openembedded-core/commit/325f1d574a0a3f7a2f5f8295bf4a81bc809472c4 | 02:09 |
-YoctoAutoBuilder- build #823 of nightly-world-lsb is complete: Failure [failed BuildImages] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-world-lsb/builds/823 | 02:11 | |
bluelightning | khem: looks OK to me, but we ought to have a comment as previously noted (since it's a bit of an odd thing and it's not going to be clear why it's needed without going to the commit history) | 02:12 |
khem | bluelightning:I updates the commit log | 02:19 |
khem | hope thats better check again | 02:19 |
bluelightning | khem: sorry I meant in the function itself (but the commit message is a bit better thanks) | 02:21 |
khem | o i c | 02:22 |
bluelightning | I know we don't have that many comments in our code, but when it's something slightly unusual I think it's good to have them | 02:24 |
khem | added comment in the code too | 02:25 |
*** berndhs <berndhs!~berndhs@cl-89.chi-03.us.sixxs.net> has left #yocto | 02:26 | |
khem | bluelightning: what are quick steps to do recipe version bumps using devtool | 02:27 |
khem | I have figured few flows | 02:27 |
khem | e.g. fixing a build breakages | 02:27 |
khem | that works great | 02:27 |
-YoctoAutoBuilder- build #1076 of nightly-mips-lsb is complete: Failure [failed BuildImages Running Sanity Tests BuildImages_1] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-mips-lsb/builds/1076 | 02:28 | |
*** sjolley <sjolley!sjolley@nat/intel/x-dasrodwkolsprero> has joined #yocto | 02:31 | |
bluelightning | khem: devtool upgrade recipename -V version [-S srcrev for git recipes] | 02:33 |
bluelightning | resolve any patch application conflicts | 02:33 |
bluelightning | then test/fix as appropriate | 02:33 |
bluelightning | once you're happy with it, devtool finish recipename layername | 02:34 |
khem | I wonder how can I make do_install[postfuncs] specific to targrt | 02:39 |
kergoth | absolute worst case you could use ${@bb.utils.contains()} | 02:41 |
kergoth | or unconditionally add the postfunc, but make it empty for the non-target case | 02:41 |
kergoth | either would do | 02:41 |
*** yettt <yettt!~yettt@31.145.161.14> has quit IRC | 02:42 | |
*** SoniaLeon <SoniaLeon!~sleonbau@134.134.139.78> has joined #yocto | 02:53 | |
khem | kergoth: the problem I think is this | 02:53 |
khem | https://github.com/kraj/openembedded-core/commit/aee3b98d82132e9e6b4cd85654d28ffad0ad3434 | 02:54 |
khem | now it will still add a postfunc even if empty | 02:55 |
khem | and that will change signatures :( | 02:55 |
khem | and we cant share the sstate between musl and glibc | 02:55 |
khem | for native pkgs | 02:55 |
*** bavery_fn <bavery_fn!~bavery@134.134.139.83> has joined #yocto | 02:56 | |
*** zeenix <zeenix!~zeenix@38.104.248.251> has quit IRC | 02:57 | |
*** SoniaLeon <SoniaLeon!~sleonbau@134.134.139.78> has quit IRC | 02:57 | |
*** ojdo <ojdo!~ojdo@unaffiliated/ojdo> has quit IRC | 02:59 | |
*** lolsborn <lolsborn!~lolsborn@c-24-21-23-7.hsd1.or.comcast.net> has quit IRC | 03:00 | |
kergoth | khem: i'd try inline python inside the postfuncs. if that doesn't work, could use anonymous python or an event handler to conditionally appendVarFlag | 03:01 |
*** yettt <yettt!~yettt@31.145.161.14> has joined #yocto | 03:01 | |
kergoth | not sure if the actual content of the postfuncs flags end up in the signatures, or only the actual pre/postfuncs | 03:01 |
kergoth | event handler / anonfunc might be better to be safe on that.. | 03:01 |
* kergoth shrugs | 03:01 | |
*** ojdo <ojdo!~ojdo@unaffiliated/ojdo> has joined #yocto | 03:06 | |
khem | kergoth: I was trying to build OE using voidlinux which is a must based distro | 03:23 |
kergoth | nice | 03:24 |
khem | the base system was only taking 54M | 03:24 |
khem | of ram | 03:24 |
khem | but then I ran into this issue | 03:24 |
khem | I wonder if we can just make this check pan libcs | 03:24 |
kergoth | i was thinking about trying a build in alpine :) | 03:24 |
khem | void is more desktopy | 03:25 |
khem | you have XFCE, cinnamon options | 03:25 |
* kergoth nods | 03:25 | |
kergoth | nice | 03:25 |
kergoth | will have to try it | 03:25 |
khem | or you can also build xfce image for musl/OE and use that | 03:25 |
khem | I have been using that with virtualbox | 03:26 |
khem | works good | 03:26 |
*** mhilt <mhilt!~mhilt@pool-74-101-187-7.nycmny.fios.verizon.net> has quit IRC | 03:27 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 03:30 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 03:31 | |
-YoctoAutoBuilder- build #1119 of nightly-x86-64-lsb is complete: Success [build successful] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-x86-64-lsb/builds/1119 | 03:35 | |
*** yettt <yettt!~yettt@31.145.161.14> has quit IRC | 03:46 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 03:46 | |
*** JordonWu_ <JordonWu_!~quassel@221.226.9.57> has quit IRC | 03:55 | |
*** mkelly <mkelly!~martin@67.171.33.217> has joined #yocto | 03:57 | |
-YoctoAutoBuilder- build #450 of nightly-no-x11 is complete: Success [build successful] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-no-x11/builds/450 | 03:59 | |
-YoctoAutoBuilder- build #1064 of nightly-arm-lsb is complete: Failure [failed BuildImages Running Sanity Tests BuildImages_1] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-arm-lsb/builds/1064 | 04:00 | |
-YoctoAutoBuilder- build #1077 of nightly-mips-lsb is complete: Success [build successful] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-mips-lsb/builds/1077 | 04:01 | |
*** vmeson <vmeson!~rmacleod@24-212-231-150.cable.teksavvy.com> has quit IRC | 04:03 | |
*** T0mW <T0mW!~Tom@2601:484:c304:4550:3e97:eff:fe8f:cff9> has quit IRC | 04:03 | |
-YoctoAutoBuilder- build #1099 of nightly-non-gpl3 is complete: Success [build successful] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/builds/1099 | 04:05 | |
*** mkelly <mkelly!~martin@67.171.33.217> has quit IRC | 04:07 | |
*** yettt <yettt!~yettt@31.145.161.14> has joined #yocto | 04:16 | |
-YoctoAutoBuilder- build #493 of nightly-checkuri is complete: Failure [failed BuildImages] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-checkuri/builds/493 | 04:26 | |
zeddii_home | RP: I haven’t carried an external patch to linux-yocto in a long time. so that could be triggering an error. I’ll apply that here and see if I can see the problem. | 04:29 |
-YoctoAutoBuilder- build #428 of nightly-musl is complete: Success [build successful] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-musl/builds/428 | 04:42 | |
*** morphis <morphis!~morphis@p50862D2B.dip0.t-ipconnect.de> has joined #yocto | 04:51 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has joined #yocto | 04:52 | |
*** yettt <yettt!~yettt@31.145.161.14> has quit IRC | 04:54 | |
*** yann <yann!~yann@nan92-1-81-57-214-146.fbx.proxad.net> has quit IRC | 04:58 | |
-YoctoAutoBuilder- build #1101 of nightly-world is complete: Success [build successful] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-world/builds/1101 | 05:01 | |
*** AndersD <AndersD!~anders@194.237.220.218> has joined #yocto | 05:09 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-ftlgghsouuistqik> has quit IRC | 05:10 | |
*** mdnneo <mdnneo!~umaucher@217.89.178.116> has joined #yocto | 05:13 | |
*** AndersD <AndersD!~anders@194.237.220.218> has quit IRC | 05:13 | |
*** AndersD <AndersD!~anders@194-237-220-218.customer.telia.com> has joined #yocto | 05:14 | |
-YoctoAutoBuilder- build #1065 of nightly-arm-lsb is complete: Success [build successful] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-arm-lsb/builds/1065 | 05:18 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 05:18 | |
*** pohly <pohly!~pohly@p5DE8EA96.dip0.t-ipconnect.de> has joined #yocto | 05:19 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 05:19 | |
-YoctoAutoBuilder- build #824 of nightly-world-lsb is complete: Success [build successful] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-world-lsb/builds/824 | 05:21 | |
*** tavish <tavish!~tavish@unaffiliated/tavish> has joined #yocto | 05:23 | |
*** mhilt <mhilt!~mhilt@pool-74-101-187-7.nycmny.fios.verizon.net> has joined #yocto | 05:25 | |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has quit IRC | 05:34 | |
*** JordonWu_ <JordonWu_!~quassel@221.226.9.57> has joined #yocto | 05:45 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has quit IRC | 05:47 | |
*** smferris <smferris!~smferris@192.95.10.156> has quit IRC | 05:52 | |
*** smferris <smferris!~smferris@192.95.10.156> has joined #yocto | 05:53 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has joined #yocto | 06:08 | |
*** groleo <groleo!~dev@gate-zro.freescale.com> has joined #yocto | 06:10 | |
*** JordonWu_ <JordonWu_!~quassel@221.226.9.57> has quit IRC | 06:10 | |
*** agust <agust!~agust@p4FCB4130.dip0.t-ipconnect.de> has joined #yocto | 06:20 | |
*** scottrif <scottrif!~scottrif@71-80-200-241.dhcp.mdfd.or.charter.com> has joined #yocto | 06:22 | |
*** hamis <hamis!~irfan@110.93.212.98> has joined #yocto | 06:25 | |
*** scottrif <scottrif!~scottrif@71-80-200-241.dhcp.mdfd.or.charter.com> has quit IRC | 06:28 | |
*** rob_w <rob_w!~bob@93.104.205.194> has joined #yocto | 06:38 | |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has joined #yocto | 06:38 | |
*** jku <jku!~jku@192.198.151.45> has joined #yocto | 06:42 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 06:52 | |
*** tavish <tavish!~tavish@unaffiliated/tavish> has quit IRC | 06:52 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has quit IRC | 06:58 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has joined #yocto | 07:00 | |
*** fl0v0 <fl0v0!~fvo@pD9F6B52B.dip0.t-ipconnect.de> has joined #yocto | 07:01 | |
*** florian <florian!~fuchs@Maemo/community/contributor/florian> has joined #yocto | 07:02 | |
*** t0mmy <t0mmy!~tprrt@ram31-1-82-234-79-177.fbx.proxad.net> has quit IRC | 07:04 | |
*** tavish <tavish!~tavish@unaffiliated/tavish> has joined #yocto | 07:04 | |
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has quit IRC | 07:08 | |
*** toanju <toanju!~toanju@185.27.182.30> has joined #yocto | 07:08 | |
*** Kakounet <Kakounet!~Thunderbi@che44-1-88-163-87-53.fbx.proxad.net> has joined #yocto | 07:09 | |
*** rajm <rajm!~robertmar@82-70-136-246.dsl.in-addr.zen.co.uk> has joined #yocto | 07:13 | |
*** MWelchUK <MWelchUK!~martyn@host86-161-19-248.range86-161.btcentralplus.com> has joined #yocto | 07:14 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 07:15 | |
*** t0mmy <t0mmy!~tprrt@217.114.201.133> has joined #yocto | 07:16 | |
*** gtristan <gtristan!~tristanva@222.110.195.192> has joined #yocto | 07:21 | |
*** csanchezdll <csanchezdll!~user@galileo.kdpof.com> has joined #yocto | 07:26 | |
*** Nilesh_ <Nilesh_!uid116340@gateway/web/irccloud.com/x-ajsvrqjonmbjvhkd> has quit IRC | 07:30 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC | 07:35 | |
*** toanju <toanju!~toanju@185.27.182.30> has quit IRC | 07:36 | |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has joined #yocto | 07:36 | |
*** lexano <lexano!~lexano@216.151.184.86> has quit IRC | 07:38 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto | 07:39 | |
*** Bunio_FH <Bunio_FH!~bunio@188.146.142.194.nat.umts.dynamic.t-mobile.pl> has joined #yocto | 07:54 | |
*** toscalix <toscalix!~toscalix@80.91.95.116> has joined #yocto | 08:04 | |
*** grma <grma!~gruberm@80.93.38.128> has joined #yocto | 08:06 | |
*** mihai <mihai!~mihai@unaffiliated/mihai> has joined #yocto | 08:16 | |
*** ant_work <ant_work!~ant__@host180-233-dynamic.45-213-r.retail.telecomitalia.it> has joined #yocto | 08:18 | |
*** joshuagl <joshuagl!joshuagl@nat/intel/x-vlkeuwseiufccznn> has joined #yocto | 08:21 | |
*** tavish <tavish!~tavish@unaffiliated/tavish> has quit IRC | 08:37 | |
*** AndersD <AndersD!~anders@194-237-220-218.customer.telia.com> has quit IRC | 08:38 | |
*** AndersD <AndersD!~anders@194-237-220-218.customer.telia.com> has joined #yocto | 08:44 | |
*** JoiF <JoiF!~jofr@193.182.166.3> has joined #yocto | 08:45 | |
*** rburton <rburton!~Adium@home.burtonini.com> has joined #yocto | 08:45 | |
*** imuguruza <imuguruza!533058f1@gateway/web/freenode/ip.83.48.88.241> has joined #yocto | 08:54 | |
*** beeker23_ <beeker23_!~tx@x55b15004.dyn.telefonica.de> has joined #yocto | 08:57 | |
*** beeker23 <beeker23!~tx@x4e349c09.dyn.telefonica.de> has quit IRC | 08:59 | |
*** beeker23_ is now known as beeker23 | 08:59 | |
*** yann <yann!~yann@LFbn-1-12676-32.w90-90.abo.wanadoo.fr> has joined #yocto | 09:02 | |
-YoctoAutoBuilder- build #1082 of nightly-ppc-lsb is complete: Failure [failed BuildImages Running Sanity Tests BuildImages_1] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-ppc-lsb/builds/1082 | 09:02 | |
*** egavinc <egavinc!~egavinc@45.red-212-170-53.staticip.rima-tde.net> has quit IRC | 09:03 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 09:05 | |
*** gtristan <gtristan!~tristanva@222.110.195.192> has quit IRC | 09:05 | |
*** nighty- <nighty-!~nighty@d246113.ppp.asahi-net.or.jp> has quit IRC | 09:06 | |
*** ed2 <ed2!~Adium@26.red-81-34-83.dynamicip.rima-tde.net> has joined #yocto | 09:14 | |
*** egavinc <egavinc!~egavinc@45.red-212-170-53.staticip.rima-tde.net> has joined #yocto | 09:16 | |
*** gtristan <gtristan!~tristanva@114.207.54.40> has joined #yocto | 09:19 | |
*** Bunio_FH <Bunio_FH!~bunio@188.146.142.194.nat.umts.dynamic.t-mobile.pl> has quit IRC | 09:19 | |
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has joined #yocto | 09:20 | |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has quit IRC | 09:24 | |
*** BaloneyGeek|work <BaloneyGeek|work!~bg14ina@kde/bgupta> has joined #yocto | 09:29 | |
*** CTtpollard <CTtpollard!~CTtpollar@82-70-136-246.dsl.in-addr.zen.co.uk> has quit IRC | 09:40 | |
*** CTtpollard <CTtpollard!~CTtpollar@82-70-136-246.dsl.in-addr.zen.co.uk> has joined #yocto | 09:46 | |
*** Ox4 <Ox4!~int@unaffiliated/zloy> has joined #yocto | 09:46 | |
Ox4 | hello guys | 09:46 |
Ox4 | could somebody help me with scons build system in yocto? Here is the output: http://ix.io/ps5 | 09:47 |
*** Biliogadafr <Biliogadafr!~bilio@nat3-minsk-pool-46-53-182-120.telecom.by> has joined #yocto | 09:51 | |
-YoctoAutoBuilder- build #1199 of nightly is complete: Failure [failed BitbakeSelftest] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly/builds/1199 | 09:52 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has quit IRC | 09:56 | |
*** ed2 <ed2!~Adium@26.red-81-34-83.dynamicip.rima-tde.net> has quit IRC | 10:00 | |
*** ed2 <ed2!~Adium@192.198.151.43> has joined #yocto | 10:01 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has joined #yocto | 10:03 | |
*** BaloneyGeek|work <BaloneyGeek|work!~bg14ina@kde/bgupta> has quit IRC | 10:03 | |
Ox4 | and here is the recipe: http://ix.io/ps7 | 10:08 |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has quit IRC | 10:19 | |
*** ftonello <ftonello!~felipe@81.145.202.106> has joined #yocto | 10:27 | |
jku | Ox4: check config.log, maybe it tells you why the check fails | 10:29 |
*** ilkmc2r <ilkmc2r!d4af2303@gateway/web/freenode/ip.212.175.35.3> has joined #yocto | 10:30 | |
gtristan | So, just trying to be sneaky and understand how wic is doing things, I was able to follow this more or less: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/wic/plugins/source/bootimg-pcbios.py and end up with a single image that boots a kernel and drops into a shell | 10:31 |
gtristan | with some simple 5 to 10 lines of shell | 10:31 |
gtristan | but that's not really enough, from what I understand that part of wic is just creating a boot partition with syslinux/kernel/initrd in vfat, while probably mke2fs is used for the rootfs | 10:33 |
gtristan | So my question is, how does wic assemble multiple filesystem images into a single partitioned image ? | 10:33 |
gtristan | iiuc that must be what it's doing | 10:33 |
rburton | ed2: ^ | 10:34 |
ilkmc2r | Hello there, I am trying to build an image on a centos 7 host, but when I try to run source oe-init-build-env it says bitbake requires python3 | 10:35 |
Ox4 | jku: here it the config.log output: http://ix.io/ps8 | 10:35 |
ed2 | gtristan: yes, it does. That's its main purpose I believe. | 10:35 |
*** JaMa <JaMa!~martin@217.30.68.212> has joined #yocto | 10:36 | |
ilkmc2r | When I setup python3 as default python interpreter it says openembedded requires python2 as default | 10:36 |
ed2 | gtristan: it does it by copying partition images into the final image. | 10:37 |
gtristan | ed2, any idea how, is there some tool wic uses to frob multiple filesystem images together without going through the loopback ? | 10:37 |
* gtristan looks into http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/wic/partition.py | 10:37 | |
*** imuguruza <imuguruza!533058f1@gateway/web/freenode/ip.83.48.88.241> has quit IRC | 10:38 | |
ed2 | gtristan: why would it need loopback? It prepares partition images and after they're ready it copies them into final image. | 10:39 |
rburton | ilkmc2r: setting python3 as default makes no sense: 'python' should be python2, 'python3' should be python3. OE uses py3 but some software we build still needs python to be python2 | 10:39 |
ed2 | gtristan: general approach is to prepare filesystems by converting them from rootfs directory. You've mentioned it yourself yesterday. | 10:40 |
gtristan | ed2, yeah, creating the filesys from a rootfs directory (i.e. mkfs.ext4 -d ${root}) I got that part :) | 10:41 |
gtristan | it's the "and after they're ready it copies them into final image." that I dont quite grok | 10:41 |
gtristan | ed2, I presume this does not mean, just append these filesystem images into a whole and hope for the best :) | 10:42 |
ed2 | gtristan: it prepares final image with parted and copies partitions with sparse_copy to preserve sparseness. Previously it did it with dd. | 10:42 |
jku | Ox4: if the error seems correct (so "-m64" is wrong), look in the projects scons build files. Figure out where -m64 comes from... | 10:42 |
ilkmc2r | rburton: now my python is python 2.7.5 python3 is python3.5.1 but still says openembedded requires python to be python v2 >=2.7.3 | 10:44 |
gtristan | ed2, ah ok, I think I have the relevant stuff here: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/wic/plugins/imager/direct.py#n285 | 10:44 |
ed2 | gtristan: assembling happens in PartitionedImage.assemble method. | 10:45 |
*** jwest__ <jwest__!~jwest@c-76-114-177-17.hsd1.md.comcast.net> has joined #yocto | 10:45 | |
ed2 | gtristan: yes, the code is in direct.py | 10:45 |
gtristan | thanks :) | 10:46 |
rburton | ilkmc2r: can you prove that by pastebining python —version; python3 --version | 10:46 |
rburton | ilkmc2r: maybe you've other pythons around and bitbake is using a different one | 10:46 |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 10:49 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 10:50 | |
*** ilkmc2r <ilkmc2r!d4af2303@gateway/web/freenode/ip.212.175.35.3> has quit IRC | 10:51 | |
*** rcw <rcw!~rwoolley@23-91-148-193.cpe.pppoe.ca> has quit IRC | 10:51 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 10:52 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 10:53 | |
*** tmpsantos <tmpsantos!~tmpsantos@104.131.60.39> has left #yocto | 11:04 | |
*** Snert_ <Snert_!~snert_@65.74.8.146> has quit IRC | 11:07 | |
*** Snert_ <Snert_!~snert_@65.74.8.146> has joined #yocto | 11:07 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 11:08 | |
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has joined #yocto | 11:09 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 11:17 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 11:26 | |
*** Hunk <Hunk!ce7a6654@gateway/web/freenode/ip.206.122.102.84> has joined #yocto | 11:28 | |
kanavin | rburton: still a zoo of openssl failures :( | 11:28 |
Hunk | Hello, I have updated my system and I run in a problem with QT 5.6 : I got the error : fatal error: QtGui/QAction: No such file or directory ! Do I have to add some new DEPENDS ? | 11:29 |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 11:33 | |
*** aV_V <aV_V!~aV_V@146.66.253.137> has joined #yocto | 11:36 | |
*** seezer <seezer!quassel@quassel/developer/seezer> has quit IRC | 11:48 | |
*** seezer <seezer!quassel@quassel/developer/seezer> has joined #yocto | 11:49 | |
*** BaloneyGeek|work <BaloneyGeek|work!~bg14ina@kde/bgupta> has joined #yocto | 11:52 | |
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has joined #yocto | 11:52 | |
*** CTtpollard <CTtpollard!~CTtpollar@82-70-136-246.dsl.in-addr.zen.co.uk> has quit IRC | 11:53 | |
*** rajm <rajm!~robertmar@82-70-136-246.dsl.in-addr.zen.co.uk> has quit IRC | 11:53 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 11:53 | |
*** rajm <rajm!~robertmar@82-70-136-246.dsl.in-addr.zen.co.uk> has joined #yocto | 11:53 | |
*** CTtpollard <CTtpollard!~CTtpollar@82-70-136-246.dsl.in-addr.zen.co.uk> has joined #yocto | 11:53 | |
*** berton <berton!~berton@189.114.111.135> has joined #yocto | 11:55 | |
kanavin | alimon: rpm4 notwithstanding, the RRS still hasn't been updated in weeks - e.g. this recipe is long gone http://recipes.yoctoproject.org/rrs/recipedetail/820/ | 11:55 |
kanavin | alimon: can you fix that please, and try to make sure you get notified when things break | 11:55 |
*** morphis <morphis!~morphis@p50862D2B.dip0.t-ipconnect.de> has quit IRC | 12:04 | |
*** Hunk <Hunk!ce7a6654@gateway/web/freenode/ip.206.122.102.84> has quit IRC | 12:05 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has quit IRC | 12:08 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has joined #yocto | 12:09 | |
*** Kakounet <Kakounet!~Thunderbi@che44-1-88-163-87-53.fbx.proxad.net> has quit IRC | 12:15 | |
*** toanju <toanju!~toanju@185.27.182.30> has joined #yocto | 12:17 | |
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has joined #yocto | 12:19 | |
*** Kakounet <Kakounet!~Thunderbi@che44-1-88-163-87-53.fbx.proxad.net> has joined #yocto | 12:19 | |
*** Kakounet <Kakounet!~Thunderbi@che44-1-88-163-87-53.fbx.proxad.net> has quit IRC | 12:23 | |
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has quit IRC | 12:25 | |
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has joined #yocto | 12:25 | |
*** toanju <toanju!~toanju@185.27.182.30> has quit IRC | 12:27 | |
Ox4 | jku: thank you very much I will try to investigate the problem | 12:28 |
mdnneo | is there a way to have in a recipe the setting for externalsrc and some SRC_URI but selecting on accourding to a environment variable ... or something comparable | 12:28 |
*** Kakounet <Kakounet!~Thunderbi@che44-1-88-163-87-53.fbx.proxad.net> has joined #yocto | 12:34 | |
*** blitz00 <blitz00!~stefan@unaffiliated/blitz00> has joined #yocto | 12:36 | |
*** gtristan <gtristan!~tristanva@114.207.54.40> has quit IRC | 12:41 | |
jku | mdnneo: you can have multiple recipe versions (that might share a .inc for most of the recipe) and use PREFERRED_VERSION_<pn> in your configuration to select which you want | 12:41 |
jku | http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-PREFERRED_VERSION | 12:42 |
*** rcw <rcw!~rwoolley@128.224.252.2> has joined #yocto | 12:55 | |
*** rcwoolley_ <rcwoolley_!~rwoolley@128.224.252.2> has joined #yocto | 12:56 | |
mdnneo | jku: ... trying to do more something like pseudo coded here https://pastebin.com/MhFkPL2M | 12:57 |
*** marka <marka!~masselst@135-23-92-83.cpe.pppoe.ca> has joined #yocto | 12:59 | |
*** rcw <rcw!~rwoolley@128.224.252.2> has quit IRC | 13:00 | |
jku | mdnneo: so is there a reason my suggestion does not work? | 13:00 |
*** AndersD <AndersD!~anders@194-237-220-218.customer.telia.com> has quit IRC | 13:00 | |
*** egavinc <egavinc!~egavinc@45.red-212-170-53.staticip.rima-tde.net> has quit IRC | 13:03 | |
mdnneo | jku: ok then I maybe misunderstood PREFERED_VERSION but I want to avoid providing two recipes ... anyway ... need to have a closer look then | 13:04 |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:c8a6:17d:5ad6:1157> has joined #yocto | 13:04 | |
*** mdnneo <mdnneo!~umaucher@217.89.178.116> has quit IRC | 13:04 | |
*** ant_work <ant_work!~ant__@host180-233-dynamic.45-213-r.retail.telecomitalia.it> has quit IRC | 13:09 | |
*** hamis <hamis!~irfan@110.93.212.98> has quit IRC | 13:11 | |
*** csanchezdll <csanchezdll!~user@galileo.kdpof.com> has left #yocto | 13:11 | |
*** ant_work <ant_work!~ant__@host180-233-dynamic.45-213-r.retail.telecomitalia.it> has joined #yocto | 13:12 | |
kanavin | RP: python3/upstream-random-fixes.patch is impossible to understand or rebase :( | 13:16 |
kanavin | RP: I have to update python3 to 3.5.3 in the openssl 1.1 branch (because prior versions don't support openssl 1.1), and I just dropped the patch for now | 13:16 |
rburton | kanavin: did that patch make it into 3.5.3? | 13:17 |
*** madisox <madisox!~madison@216-75-232-11.static.wiline.com> has joined #yocto | 13:18 | |
kanavin | rburton: I couldn't even figure out that | 13:18 |
kanavin | the patch is way too hairy | 13:18 |
rburton | god now you have me cloning python ;) | 13:19 |
kanavin | we should really update to 3.6.0 anyway, but I'm not doing that ;) | 13:20 |
kanavin | or 3.6.1 or what is the latest | 13:20 |
rburton | yeah a 3.6 upgrade can wait | 13:20 |
rburton | https://github.com/python/cpython/commit/035ba5da3e53e45c712b39fe1f6fb743e697c032 is the relevant 3.5 patch | 13:21 |
rburton | don't have a clone yet to see what tags that made it into | 13:22 |
kanavin | rburton: the github page lists them at the top: 3.6.1, but not anything in 3.5 | 13:25 |
kanavin | rburton: the upstream patch is pretty awful too | 13:25 |
kanavin | rburton: no idea why the commit message talks about 3.5 | 13:25 |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:c8a6:17d:5ad6:1157> has quit IRC | 13:26 | |
*** lexano <lexano!~lexano@216.151.180.48> has joined #yocto | 13:27 | |
RP | kanavin: can we at least confirm that we're past the revision mentioned in the commit? | 13:29 |
*** morphis <morphis!~morphis@p50862D2B.dip0.t-ipconnect.de> has joined #yocto | 13:29 | |
RP | kanavin: I think I did something horrible to generate that patch :/ | 13:29 |
kanavin | RP: let me see if I can apply the upstream patch from the 3.5 branch though, might just work? (it arrived just after 3.5.3 and so isn't in any release yet) | 13:30 |
kanavin | gaaah, how do I convince github webpage to give me the raw diff :/ | 13:30 |
rburton | .patch on the url iirc | 13:32 |
kanavin | looks like they removed that feauture? don't really want to clone the repo just to cherry pick one commit | 13:32 |
rburton | i definitely did it last week | 13:32 |
RP | kanavin: yes, that would work | 13:32 |
rburton | yeah https://github.com/python/cpython/commit/035ba5da3e53e45c712b39fe1f6fb743e697c032.patch | 13:32 |
RP | kanavin: at the time I didn't want to have to start upgrading python to fix that issue (was close to release iirc) | 13:33 |
RP | kanavin: we do need that fix if its not in 3.5.3 | 13:33 |
kanavin | RP: yay it worked :) | 13:36 |
kanavin | rburton: ^ | 13:36 |
RP | kanavin: yay! | 13:36 |
rburton | cool | 13:37 |
*** mhilt <mhilt!~mhilt@pool-74-101-187-7.nycmny.fios.verizon.net> has quit IRC | 13:37 | |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:812b:bcb0:80e5:952a> has joined #yocto | 13:38 | |
*** sameo <sameo!~samuel@192.55.54.44> has joined #yocto | 13:38 | |
*** neilshivkar <neilshivkar!~neilshivk@97-64-166-118.client.mchsi.com> has joined #yocto | 13:39 | |
kanavin | RP: not sure if you've seen the comment, but there's still a zoo of failures with openssl 1.1, so I have things to do it seems :) | 13:39 |
kanavin | mips support is broken, arm support is broken, ppc support is broken.... | 13:39 |
RP | kanavin: I didn't but I'm not entirely surprised :( | 13:41 |
kanavin | RP: yeah, I stated my plans in the commit I sent to the oe-core list today, I guess you're ok with it? | 13:42 |
RP | kanavin: yes, fine with it, its in -next testing | 13:42 |
*** ant_work <ant_work!~ant__@host180-233-dynamic.45-213-r.retail.telecomitalia.it> has quit IRC | 13:43 | |
kanavin | RP: I considered doing it the other way (1.0 stays as 'openssl', 1.1 is introduced as 'openssl11'), but I don't want it that way - no one will do anything to port to 1.1, until 1.0 is removed, and then there'll be lots of moaning. | 13:45 |
kanavin | I'd like to gently push people here :) | 13:45 |
kanavin | and it's trivial to remain on 1.0 | 13:46 |
kanavin | if someone needs it | 13:46 |
*** BaloneyGeek|work <BaloneyGeek|work!~bg14ina@kde/bgupta> has quit IRC | 13:50 | |
RP | kanavin: right, I agree fwiw | 13:52 |
*** baldgeek <baldgeek!~dan@cpe-98-30-171-138.columbus.res.rr.com> has joined #yocto | 13:52 | |
*** AndersD <AndersD!~anders@h83-209-191-235.cust.se.alltele.net> has joined #yocto | 13:55 | |
*** jku <jku!~jku@192.198.151.45> has quit IRC | 13:57 | |
*** BaloneyGeek|work <BaloneyGeek|work!~bg14ina@kde/bgupta> has joined #yocto | 13:57 | |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:812b:bcb0:80e5:952a> has quit IRC | 14:02 | |
*** vmeson <vmeson!~rmacleod@24-212-231-150.cable.teksavvy.com> has joined #yocto | 14:10 | |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:812b:bcb0:80e5:952a> has joined #yocto | 14:10 | |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:812b:bcb0:80e5:952a> has quit IRC | 14:16 | |
*** morphis <morphis!~morphis@p50862D2B.dip0.t-ipconnect.de> has quit IRC | 14:25 | |
*** Snert_ <Snert_!~snert_@65.74.8.146> has quit IRC | 14:27 | |
*** Snert_ <Snert_!~snert_@65.74.8.146> has joined #yocto | 14:27 | |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:812b:bcb0:80e5:952a> has joined #yocto | 14:31 | |
*** baldgeek <baldgeek!~dan@cpe-98-30-171-138.columbus.res.rr.com> has quit IRC | 14:34 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC | 14:36 | |
*** lamego <lamego!~jose@134.134.139.72> has joined #yocto | 14:37 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto | 14:38 | |
*** baldgeek <baldgeek!~dan@cpe-98-30-171-138.columbus.res.rr.com> has joined #yocto | 14:38 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 14:41 | |
*** willdye_ <willdye_!~willdye@h210.132.23.98.static.ip.windstream.net> has joined #yocto | 14:45 | |
*** willdye <willdye!~willdye@h152.133.190.173.dynamic.ip.windstream.net> has quit IRC | 14:48 | |
*** mtetreault <mtetreault!~mtetreaul@modemcable182.194-37-24.static.videotron.ca> has joined #yocto | 14:48 | |
mtetreault | Can wic can be used to generate an image that has to be written using mfgtools? (imx6) | 14:50 |
*** groleo <groleo!~dev@gate-zro.freescale.com> has quit IRC | 14:51 | |
*** morphis <morphis!~morphis@p50862D2B.dip0.t-ipconnect.de> has joined #yocto | 14:54 | |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:812b:bcb0:80e5:952a> has quit IRC | 14:56 | |
*** Nilesh_ <Nilesh_!uid116340@gateway/web/irccloud.com/x-rlqjwytfcisrhiae> has joined #yocto | 14:58 | |
*** toscalix <toscalix!~toscalix@80.91.95.116> has quit IRC | 15:00 | |
*** aV_V <aV_V!~aV_V@146.66.253.137> has quit IRC | 15:02 | |
*** aV_V <aV_V!~aV_V@146.66.253.137> has joined #yocto | 15:06 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 15:07 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC | 15:10 | |
*** grma <grma!~gruberm@80.93.38.128> has quit IRC | 15:15 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto | 15:15 | |
*** AndersD <AndersD!~anders@h83-209-191-235.cust.se.alltele.net> has quit IRC | 15:17 | |
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has quit IRC | 15:26 | |
*** t0mmy <t0mmy!~tprrt@217.114.201.133> has quit IRC | 15:26 | |
*** t0mmy <t0mmy!~tprrt@217.114.201.133> has joined #yocto | 15:27 | |
sveinse | What do I have to write in a recipe if I want to use sources from the same repo as the meta layer, and not download a separate source repo? | 15:28 |
*** neilshivkar <neilshivkar!~neilshivk@97-64-166-118.client.mchsi.com> has quit IRC | 15:28 | |
*** humberto1 <humberto1!jhibarra@nat/intel/x-wmrtkuvdcmayfwid> has joined #yocto | 15:29 | |
sveinse | I hope I don't have to list every file with SRC_URI, as there are thousands of files | 15:29 |
*** neilshivkar <neilshivkar!~neilshivk@97-64-166-118.client.mchsi.com> has joined #yocto | 15:29 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC | 15:36 | |
rburton | iirc you can just put the directory in SRC_URI | 15:37 |
*** ed2 <ed2!~Adium@192.198.151.43> has quit IRC | 15:38 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto | 15:41 | |
*** aV_V <aV_V!~aV_V@146.66.253.137> has quit IRC | 15:42 | |
*** Ox4 <Ox4!~int@unaffiliated/zloy> has quit IRC | 15:43 | |
*** zeenix <zeenix!~zeenix@38.104.248.251> has joined #yocto | 15:47 | |
*** joshuagl <joshuagl!joshuagl@nat/intel/x-vlkeuwseiufccznn> has quit IRC | 15:49 | |
sveinse | rburton: it seems it is, but it all ends up in recipe/${PV}-${PR}/. Apparently ${S) does not control the destination dir from the SRC_URI copy. Do you know which? | 15:49 |
*** rajm <rajm!~robertmar@82-70-136-246.dsl.in-addr.zen.co.uk> has quit IRC | 15:51 | |
kergoth | correct, S is used to tell the system where do_configure/do_compile/do_install will run, it doesn't control extraction/unpack at all | 15:51 |
rburton | stuff is copied into WORKDIR/ | 15:51 |
sveinse | hmm, WORKDIR/ gets gets very cluttered | 15:52 |
*** florian <florian!~fuchs@Maemo/community/contributor/florian> has quit IRC | 15:53 | |
rburton | put it in a directory then :) | 15:53 |
rburton | maybe even call it PN-PV | 15:53 |
sveinse | rburton: yeah, how? | 15:53 |
*** bavery_fn <bavery_fn!~bavery@134.134.139.83> has quit IRC | 15:53 | |
rburton | sveinse: https://www.yoctoproject.org/docs/2.2/bitbake-user-manual/bitbake-user-manual.html#bb-the-unpack | 15:53 |
*** behanw <behanw!uid110099@gateway/web/irccloud.com/x-kovkqysngmznnhiz> has quit IRC | 15:54 | |
rburton | argh why is cross-compiling to python so hard | 15:57 |
sveinse | rburton: Thanks. Apparently I need a file://somedir;subdir=src foreach file: entry I use | 15:57 |
rburton | i'd hope that you could just do file://the/base/path;subdir=src? | 15:58 |
sveinse | rburton: yeah, I think I have to | 15:58 |
*** fl0v0 <fl0v0!~fvo@pD9F6B52B.dip0.t-ipconnect.de> has quit IRC | 16:00 | |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:c8a6:17d:5ad6:1157> has joined #yocto | 16:01 | |
sveinse | How do I specify the root of my layer? SRC_URI = "file://../;subdir=src" caused cooker to fry :P -- and it does not feel right | 16:05 |
rburton | if you can put the sources alongside the recipe you're sorted | 16:06 |
rburton | *maybe* LAYERDIR? | 16:07 |
sveinse | I wonder if I can override the unpack step and create symlink instead | 16:09 |
sveinse | Wait, thinking loud, I can probably just modify S to point to the sources. The build process does not clobber the sources anyways | 16:09 |
rburton | that *might* work | 16:10 |
*** JoiF <JoiF!~jofr@193.182.166.3> has quit IRC | 16:10 | |
sveinse | What is the process involved when it tries to determine rebuild for sources', e.g. the taskhash system? Because this would interfer with it wouldn't it? | 16:11 |
*** diego_r <diego_r!~diego@host57-224-static.7-79-b.business.telecomitalia.it> has quit IRC | 16:12 | |
rburton | yes, because it wouldn't know if the files in S changed, as it assumes that they're in SRC_URI | 16:13 |
rburton | i guess you could put the path in SRC_URI then override do_unpack to do nothing | 16:13 |
rburton | or just stop trying to break the system ;) | 16:13 |
*** mihai <mihai!~mihai@unaffiliated/mihai> has quit IRC | 16:13 | |
kergoth | LAYERDIR won't be of much use in that context, it's only set during bblayers/laye.rconf parsing | 16:13 |
sveinse | right | 16:14 |
rburton | right wasn't sure | 16:14 |
kergoth | at mentor, we use https://github.com/MentorEmbedded/meta-mentor/blob/master/meta-mel/classes/layerdirs.bbclass + https://github.com/MentorEmbedded/meta-mentor/blob/master/meta-mel/conf/distro/include/mel.conf#L333-L339 for exactly that | 16:15 |
kergoth | there might be a better way, but gets the job done | 16:15 |
sveinse | What I'm trying to accomplish is that we have a large (hg) repo for a large Qt application (that supports a number of platforms, not just Yocto), and there is a wish to have the recipe together with the codebase. There has already been loss of synchronization between the meta layer and the code repo | 16:18 |
sveinse | So I'm *trying* to avoid breaking the system, but acknowledge that this is not precisely the yocto-way... | 16:19 |
kergoth | i've done builds of that sort before, though not recently | 16:20 |
*** Kakounet <Kakounet!~Thunderbi@che44-1-88-163-87-53.fbx.proxad.net> has quit IRC | 16:20 | |
rburton | kergoth: i like layerdirs | 16:20 |
kergoth | should think about proposing a bitbake patch to save it instead, probably | 16:21 |
kergoth | but it works | 16:21 |
rburton | yeah, would be handy if LAYERDIRS_[name] were available after parse for this | 16:22 |
kergoth | iirc we used it to pull downloads from the layer for the recipe in question, but we ended up just making it pull any download from a downloads dir in any layer, instead, otherwise you can't supply additional downloads with a bbappend in an update layer | 16:22 |
kergoth | still useful to be able to get the layer for the recipe for other reasons, though :) | 16:22 |
sveinse | where in bb can I find the logic for unpack and how the taskhash for the sources are determined? | 16:23 |
kergoth | unpack is easy, lib/bb/fetch2/__init__.py, unpack() method | 16:24 |
rburton | iirc its just whats in SRC_URI | 16:24 |
kergoth | of course that's the default unpack method, the fetch method can customize this, i.e. git.py does a git clone to unpack | 16:24 |
kergoth | so best to examine first the fetch method your'e using, then the base class | 16:25 |
sveinse | for SCM based fetchers, does it rely on the git ID to determine rebuild/taskhash, or does it hashsum all files? | 16:25 |
rburton | the revision ID | 16:25 |
*** willdye_ <willdye_!~willdye@h210.132.23.98.static.ip.windstream.net> has quit IRC | 16:26 | |
sveinse | right. then it's this I need to plug into the recipe somehow | 16:26 |
sveinse | need to read some code I think to understand it | 16:26 |
*** dreyna <dreyna!~dreyna@unknown-6-84.windriver.com> has joined #yocto | 16:28 | |
sveinse | btw, mercurial/hg support is not working properly (we're using krogoth). It does not fetch properly when using sstate cache. So if the rev field is updated in a recipe, bitbake never fetches an update from the upstream source | 16:30 |
rburton | hm, forgotten how to get the SHA of the current checkout from sh | 16:30 |
sveinse | Is this known? Otherwise, I should probably prepare a bugreport for it | 16:31 |
rburton | sounds like its worth a bug for sure | 16:31 |
sveinse | yeah, ok, I will do that | 16:32 |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:c8a6:17d:5ad6:1157> has quit IRC | 16:32 | |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:c8a6:17d:5ad6:1157> has joined #yocto | 16:32 | |
*** neilshivkar <neilshivkar!~neilshivk@97-64-166-118.client.mchsi.com> has quit IRC | 16:36 | |
*** mtetreault <mtetreault!~mtetreaul@modemcable182.194-37-24.static.videotron.ca> has quit IRC | 16:40 | |
*** mtetreault <mtetreault!~mtetreaul@modemcable182.194-37-24.static.videotron.ca> has joined #yocto | 16:40 | |
*** sjolley <sjolley!sjolley@nat/intel/x-dasrodwkolsprero> has quit IRC | 16:40 | |
*** ftonello <ftonello!~felipe@81.145.202.106> has quit IRC | 16:41 | |
*** sjolley <sjolley!sjolley@nat/intel/x-hvwxsusiaejzcwvi> has joined #yocto | 16:42 | |
*** t0mmy <t0mmy!~tprrt@217.114.201.133> has quit IRC | 16:42 | |
khem | someone seeing this error http://sprunge.us/HiAW | 16:44 |
khem | after todays updates | 16:44 |
*** SoniaLeon <SoniaLeon!sleonbau@nat/intel/x-zmnhqrfnhkmevkbo> has joined #yocto | 16:45 | |
*** willdye <willdye!~willdye@h210.132.23.98.static.ip.windstream.net> has joined #yocto | 16:47 | |
*** scottrif <scottrif!~scottrif@71-80-200-241.dhcp.mdfd.or.charter.com> has joined #yocto | 16:50 | |
rburton | khem: you need new bitbake | 16:50 |
rburton | there should have been a version check | 16:50 |
rburton | i wonder if the version check happened after the layer init… | 16:51 |
rburton | one thing poky is good for: keeping oe/bitbake requirements in sync :) | 16:51 |
* rburton -> dinner | 16:51 | |
rburton | good weekend all | 16:51 |
khem | rburton: I have all uptodate | 16:53 |
khem | oe-core and master both | 16:53 |
khem | for bitbake as well | 16:53 |
*** bavery_fn <bavery_fn!~bavery@134.134.139.72> has joined #yocto | 16:53 | |
khem | it should tell me whats wrong then I can fix | 16:54 |
khem | ah automation gone wrong blame repo | 16:56 |
khem | for whatever reason it did not fast forward bitbake | 16:56 |
khem | it thought I have local changes that need manual attention | 16:56 |
khem | I should trash this piece of junk | 16:56 |
kergoth | i hate that behavior of repo. also the automatic rebasing of local commits really makes the shit hit the fan when my 'local commits' is a merge of 1k+ commits from another branch :P | 16:57 |
khem | you say fan for me its hit the windmill | 16:58 |
*** neilshivkar <neilshivkar!~neilshivk@97-64-166-118.client.mchsi.com> has joined #yocto | 16:59 | |
*** BaloneyGeek|work <BaloneyGeek|work!~bg14ina@kde/bgupta> has quit IRC | 17:01 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has quit IRC | 17:03 | |
*** dreyna_ <dreyna_!~dreyna@unknown-216-197.windriver.com> has joined #yocto | 17:05 | |
*** JordonWu <JordonWu!~quassel@221.226.9.57> has joined #yocto | 17:05 | |
*** CTtpollard <CTtpollard!~CTtpollar@82-70-136-246.dsl.in-addr.zen.co.uk> has quit IRC | 17:06 | |
*** dreyna <dreyna!~dreyna@unknown-6-84.windriver.com> has quit IRC | 17:08 | |
*** t0mmy <t0mmy!~tprrt@ram31-1-82-234-79-177.fbx.proxad.net> has joined #yocto | 17:08 | |
*** Nilesh_ <Nilesh_!uid116340@gateway/web/irccloud.com/x-rlqjwytfcisrhiae> has quit IRC | 17:10 | |
*** justanotherboy <justanotherboy!~mlopezva@192.55.55.41> has quit IRC | 17:11 | |
*** ed2 <ed2!Adium@nat/intel/x-diosxmwngtuazcgb> has joined #yocto | 17:18 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC | 17:21 | |
*** Jackie_away <Jackie_away!~quassel@106.120.101.38> has joined #yocto | 17:24 | |
khem | anyone done runit for init system ? | 17:25 |
khem | it seem pretty good fit | 17:25 |
*** Jackie_away is now known as Guest5852 | 17:25 | |
khem | systemd has become a hog for system | 17:25 |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto | 17:25 | |
khem | you cant justify 20M of systems on a 64M rootfs | 17:25 |
*** Jackie_huang <Jackie_huang!~quassel@106.120.101.38> has quit IRC | 17:26 | |
khem | and its BSD licensed cool | 17:26 |
*** justanotherboy <justanotherboy!mlopezva@nat/intel/x-fhhldbhbrhsbsyum> has joined #yocto | 17:27 | |
*** mhilt <mhilt!~mhilt@144.121.64.94> has joined #yocto | 17:31 | |
*** yann <yann!~yann@LFbn-1-12676-32.w90-90.abo.wanadoo.fr> has quit IRC | 17:35 | |
kergoth | god archiver is crap | 17:39 |
kergoth | re-runs do_unpack/do_patch/etc after overriding WORKDIR, but do_unpack also wipes the STAGING_KERNEL_BUILDDIR and STAGING_KERNEL_DIR, neither of which are relative to WORKDIR, so the changes aren't properly isolated to archiver, causing races with the real tasks and other problems for recipes depending on the kernel sources and kernel build files, which were inadvertently wiped | 17:40 |
*** newbol <newbol!~archuser@120.red-83-45-38.dynamicip.rima-tde.net> has joined #yocto | 17:43 | |
newbol | Guys how can I specify a SRC for a local repository? I mean, having the sources in my home directory. | 17:44 |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:c8a6:17d:5ad6:1157> has quit IRC | 17:45 | |
*** justanotherboy <justanotherboy!mlopezva@nat/intel/x-fhhldbhbrhsbsyum> has quit IRC | 17:47 | |
*** justanotherboy <justanotherboy!mlopezva@nat/intel/x-pgqzcvixrtptxmgj> has joined #yocto | 17:47 | |
newbol | Nothing, have found it. Thanks anyways | 17:51 |
kergoth | file:// or externalsrc. the latter is the better option | 17:52 |
kergoth | or git:// + ;protocol=file if it's a local git repo, etc | 17:53 |
newbol | kergoth, is it possible to disable LICENSE checkings? | 17:53 |
kergoth | not directly, no. worst case you could set LICENSE = CLOSED, which hacks past it for closed source proprietary stuff, but it's a temporary hack at best | 17:54 |
newbol | ok perfect thank you very much! | 17:54 |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC | 18:03 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto | 18:08 | |
*** jairglez <jairglez!~jairdeje@134.134.139.82> has joined #yocto | 18:15 | |
*** berndhs <berndhs!~berndhs@xplr-104-249-226-169.xplornet.com> has joined #yocto | 18:15 | |
*** beeker23 <beeker23!~tx@x55b15004.dyn.telefonica.de> has quit IRC | 18:27 | |
*** newbol <newbol!~archuser@120.red-83-45-38.dynamicip.rima-tde.net> has quit IRC | 18:27 | |
*** mhilt <mhilt!~mhilt@144.121.64.94> has quit IRC | 18:29 | |
*** mhilt <mhilt!~mhilt@144.121.64.94> has joined #yocto | 18:31 | |
sveinse | kergoth: we used to use externalsrc for building the code which we talked about an hour ago, but it seems to trigger rebuild every time. I wonder if its possible to inject some scm ID check into the recipe, making taskhash generation correct | 18:31 |
*** berndhs <berndhs!~berndhs@xplr-104-249-226-169.xplornet.com> has quit IRC | 18:37 | |
*** ed2 <ed2!Adium@nat/intel/x-diosxmwngtuazcgb> has quit IRC | 18:40 | |
sveinse | aha, externalsrc only supports git for hashing, no other scm | 18:40 |
*** jamesp <jamesp!~jamesp@157.245.80.14> has joined #yocto | 18:44 | |
*** rperier <rperier!~rperier@2001:41d0:52:100::44a> has quit IRC | 18:50 | |
*** rperier <rperier!~rperier@2001:41d0:52:100::44a> has joined #yocto | 18:50 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC | 18:56 | |
*** yann <yann!~yann@nan92-1-81-57-214-146.fbx.proxad.net> has joined #yocto | 18:57 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto | 18:58 | |
*** heliocastro <heliocastro!heliocastr@kde/heliocastro> has left #yocto | 18:58 | |
khem | sveinse: now there is devtool | 19:05 |
khem | I think externalsrc was a stop-gap for developers | 19:05 |
khem | its better to not use it for system production/release builds | 19:06 |
*** pohly <pohly!~pohly@p5DE8EA96.dip0.t-ipconnect.de> has quit IRC | 19:07 | |
*** mhilt <mhilt!~mhilt@144.121.64.94> has quit IRC | 19:10 | |
sveinse | khem: yes. this is production code thou | 19:10 |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:c8a6:17d:5ad6:1157> has joined #yocto | 19:10 | |
*** Saur1 <Saur1!~pkj@94-137-113-31.customers.ownit.se> has joined #yocto | 19:10 | |
*** humberto1 <humberto1!jhibarra@nat/intel/x-wmrtkuvdcmayfwid> has quit IRC | 19:12 | |
sveinse | The challenge is that this layer is also the main application code. Or, more precise, I want to add the recipe/layer into the main application repository. | 19:12 |
*** stephano <stephano!~stephano@134.134.139.83> has quit IRC | 19:12 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC | 19:13 | |
sveinse | which is not in line with the yocto model with separate metas from sources | 19:14 |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto | 19:15 | |
*** gtristan <gtristan!~tristanva@110.11.226.29> has joined #yocto | 19:35 | |
sveinse | If bitbake -c cleanall does not completely clean the sstatecache, how can I remove a recipe from it? I just ran bitbake -c cleanall e2fsprogs, but rerunning bitbake -v e2fsprogs seems to be using setstate despite the cleanall. What should I do? | 19:39 |
kergoth | cleanall = clean + remove downloads | 19:42 |
kergoth | cleansstate = clean + remove sstate | 19:42 |
kergoth | you want cleansstate, not cleanall | 19:42 |
*** _william_ <_william_!~william@LFbn-1-525-115.w86-245.abo.wanadoo.fr> has joined #yocto | 19:43 | |
sveinse | kergoth: ok, then this email from Paul Eggleton is wrong (or outdated then): "You may be thinking of "bitbake -c | 19:44 |
sveinse | cleanall recipename" which cleans the working directory, sstate packages and | 19:44 |
sveinse | downloaded files for the specified recipe (but not all recipes)." | 19:44 |
sveinse | https://www.mail-archive.com/yocto@yoctoproject.org/msg12962.html | 19:44 |
fray | I thought it was clean -- cleansstate = clean + remove sstate, cleanall = cleansstate + remove download | 19:45 |
paulg | don't do cleanall on gigabyte repos.... | 19:46 |
fray | lol | 19:46 |
kergoth | ah, indeed, i stand corrected: addtask cleanall after do_cleansstate | 19:47 |
*** scottrif <scottrif!~scottrif@71-80-200-241.dhcp.mdfd.or.charter.com> has quit IRC | 19:49 | |
sveinse | and I do too. It does work. My culprit was a overlooked SSTATE_MIRRORS entry which fetched the entry from the central build server. -c cleanall has no dominion there :P | 19:50 |
*** falk0n <falk0n!~falk0n@a95-93-71-36.cpe.netcabo.pt> has joined #yocto | 20:00 | |
kergoth | sveinse: -C fetch is helpful when sstate mirrors are involved. forces it to build it from scratch regardless | 20:02 |
*** dreyna <dreyna!~dreyna@unknown-6-84.windriver.com> has joined #yocto | 20:03 | |
sveinse | kergoth: ah, thaks | 20:03 |
*** dreyna_ <dreyna_!~dreyna@unknown-216-197.windriver.com> has quit IRC | 20:06 | |
sveinse | Setting S="${THISDIR}/.." actually worked for building the top-level Qt application. qmake does not touch the sources and builds separately, so it is safe too. | 20:07 |
sveinse | So the only thing remaining is to find a way to plug the repo/layer scm hash ID into the recipe for the taskhash/sstate cache to be correct and rebuild when it should | 20:08 |
*** SoniaLeon2 <SoniaLeon2!~sleonbau@134.134.139.76> has joined #yocto | 20:25 | |
*** SoniaLeon <SoniaLeon!sleonbau@nat/intel/x-zmnhqrfnhkmevkbo> has quit IRC | 20:25 | |
*** dreyna_ <dreyna_!~dreyna@unknown-216-197.windriver.com> has joined #yocto | 20:36 | |
sveinse | What is the difference from "python some_python_function () {" and "def get_depends(d):" in a recipe? E.g. in externalsrc.bbclass I see both in use | 20:37 |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC | 20:38 | |
*** SoniaLeon2 <SoniaLeon2!~sleonbau@134.134.139.76> has quit IRC | 20:38 | |
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto | 20:39 | |
*** SoniaLeon <SoniaLeon!~sleonbau@134.134.139.76> has joined #yocto | 20:39 | |
*** dreyna <dreyna!~dreyna@unknown-6-84.windriver.com> has quit IRC | 20:39 | |
*** sjolley <sjolley!sjolley@nat/intel/x-hvwxsusiaejzcwvi> has quit IRC | 20:44 | |
*** gtristan <gtristan!~tristanva@110.11.226.29> has quit IRC | 20:49 | |
*** rcwoolley_ <rcwoolley_!~rwoolley@128.224.252.2> has quit IRC | 21:00 | |
*** ash_charles <ash_charles!~acharles@2607:fad8:4:6:c8a6:17d:5ad6:1157> has quit IRC | 21:10 | |
*** scottrif <scottrif!~scottrif@71-80-200-241.dhcp.mdfd.or.charter.com> has joined #yocto | 21:15 | |
*** berton <berton!~berton@189.114.111.135> has quit IRC | 21:18 | |
*** marka <marka!~masselst@135-23-92-83.cpe.pppoe.ca> has quit IRC | 21:20 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 21:24 | |
*** caiortp <caiortp!~inatel@131.221.240.226> has quit IRC | 21:24 | |
*** ant_home <ant_home!~ant__@95.236.249.99> has joined #yocto | 21:25 | |
*** BaloneyGeek|work <BaloneyGeek|work!~bg14ina@kde/bgupta> has joined #yocto | 21:30 | |
*** mhilt <mhilt!~mhilt@144.121.64.94> has joined #yocto | 21:41 | |
*** mtetreault <mtetreault!~mtetreaul@modemcable182.194-37-24.static.videotron.ca> has quit IRC | 21:55 | |
sveinse | If I want to shell out to run a command once (and only once) and return its output into a BB variable, how and where do I do this? | 21:55 |
*** neilshivkar <neilshivkar!~neilshivk@97-64-166-118.client.mchsi.com> has left #yocto | 21:57 | |
*** baldgeek <baldgeek!~dan@cpe-98-30-171-138.columbus.res.rr.com> has quit IRC | 22:04 | |
*** humberto1 <humberto1!~jhibarra@134.134.139.72> has joined #yocto | 22:04 | |
*** alimon <alimon!~alimon@134.134.139.83> has quit IRC | 22:08 | |
*** lamego <lamego!~jose@134.134.139.72> has quit IRC | 22:14 | |
*** jamesp <jamesp!~jamesp@157.245.80.14> has left #yocto | 22:20 | |
*** jamesp <jamesp!~jamesp@157.245.80.14> has joined #yocto | 22:20 | |
*** willdye <willdye!~willdye@h210.132.23.98.static.ip.windstream.net> has quit IRC | 22:23 | |
*** rburton <rburton!~Adium@home.burtonini.com> has quit IRC | 22:23 | |
*** mhilt <mhilt!~mhilt@144.121.64.94> has quit IRC | 22:35 | |
*** SoniaLeon <SoniaLeon!~sleonbau@134.134.139.76> has quit IRC | 22:39 | |
*** SoniaLeon <SoniaLeon!~sleonbau@134.134.139.76> has joined #yocto | 22:40 | |
*** todor <todor!~todor@134.134.137.73> has quit IRC | 22:43 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-iafmzdecutbgrmxh> has joined #yocto | 22:44 | |
*** SoniaLeon2 <SoniaLeon2!~sleonbau@134.134.139.76> has joined #yocto | 22:46 | |
*** SoniaLeon <SoniaLeon!~sleonbau@134.134.139.76> has quit IRC | 22:46 | |
*** agust <agust!~agust@p4FCB4130.dip0.t-ipconnect.de> has quit IRC | 22:50 | |
*** todor <todor!todor@nat/intel/x-vqxltxgaubsbvjgd> has joined #yocto | 22:52 | |
*** justanotherboy <justanotherboy!mlopezva@nat/intel/x-pgqzcvixrtptxmgj> has left #yocto | 22:52 | |
*** seebs <seebs!~seebs@home.seebs.net> has quit IRC | 22:52 | |
*** t0mmy <t0mmy!~tprrt@ram31-1-82-234-79-177.fbx.proxad.net> has quit IRC | 22:57 | |
*** sameo <sameo!~samuel@192.55.54.44> has quit IRC | 23:02 | |
kergoth | sveinse: only once is pretty much impossible. the metadata is re-parsed multiple times. even if you use := to force immediate expansion, it'll still be run every time a task starts | 23:03 |
kergoth | sveinse: but bb.process.run() is likely the easiest | 23:04 |
kergoth | if you're just looking to get a git revision, use git:// and put SRVPV in PV and call it a day | 23:04 |
*** seebs <seebs!~seebs@home.seebs.net> has joined #yocto | 23:06 | |
*** Biliogadafr <Biliogadafr!~bilio@nat3-minsk-pool-46-53-182-120.telecom.by> has quit IRC | 23:09 | |
*** scottrif <scottrif!~scottrif@71-80-200-241.dhcp.mdfd.or.charter.com> has quit IRC | 23:17 | |
*** todor <todor!todor@nat/intel/x-vqxltxgaubsbvjgd> has quit IRC | 23:21 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 23:26 | |
*** bavery_fn <bavery_fn!~bavery@134.134.139.72> has quit IRC | 23:28 | |
*** BaloneyGeek|work <BaloneyGeek|work!~bg14ina@kde/bgupta> has quit IRC | 23:31 | |
*** jamesp <jamesp!~jamesp@157.245.80.14> has left #yocto | 23:33 | |
*** rcw <rcw!~rwoolley@23.91.148.193> has joined #yocto | 23:35 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 23:37 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 23:38 | |
*** SoniaLeon2 <SoniaLeon2!~sleonbau@134.134.139.76> has quit IRC | 23:57 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!