*** aehs29 <aehs29!~aehs29@149.199.62.254> has quit IRC | 00:01 | |
-YoctoAutoBuilder- build #249 of nightly-musl-x86-64 is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/249 | 00:02 | |
-YoctoAutoBuilder- build #779 of nightly-no-x11 is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly-no-x11/builds/779 | 00:06 | |
*** scottrif <scottrif!~scottrif@47.39.44.219> has joined #yocto | 00:10 | |
*** rovanceo_ <rovanceo_!~rovanceo@80.97.64.55> has joined #yocto | 00:11 | |
-YoctoAutoBuilder- build #793 of nightly-musl is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly-musl/builds/793 | 00:13 | |
-YoctoAutoBuilder- build #765 of nightly-world is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly-world/builds/765 | 00:13 | |
*** rovanceo <rovanceo!~rovanceo@80.97.64.55> has quit IRC | 00:14 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC | 00:15 | |
-YoctoAutoBuilder- build #764 of nightly-world-lsb is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly-world-lsb/builds/764 | 00:16 | |
-YoctoAutoBuilder- build #771 of build-appliance is complete: Failure [failed BuildImages BuildImages_1] Build details are at https://autobuilder.yocto.io/builders/build-appliance/builds/771 | 00:17 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 00:23 | |
RP | armpit: might want to kill, fix and restart that! | 00:26 |
---|---|---|
RP | (ruby checksum issue) | 00:27 |
* RP -> Zzzz | 00:27 | |
armpit | aah | 00:27 |
* armpit dang | 00:27 | |
* armpit fires up rlocal ocko-stable build | 00:38 | |
* armpit forgot to push change to recipe | 00:38 | |
*** neverpan1c <neverpan1c!~clemens@towel.neverpanic.de> has joined #yocto | 00:45 | |
*** neverpanic <neverpanic!~clemens@towel.neverpanic.de> has quit IRC | 00:45 | |
*** neverpan1c is now known as neverpanic | 00:47 | |
*** Willy-- <Willy--!~william@156.34.161.186> has joined #yocto | 00:49 | |
*** sgw <sgw!~swold@134.134.139.82> has quit IRC | 00:52 | |
*** nighty-- <nighty--!~nighty@kyotolabs.asahinet.com> has joined #yocto | 01:02 | |
*** Willy-- <Willy--!~william@156.34.161.186> has quit IRC | 01:04 | |
-YoctoAutoBuilder- build #780 of nightly-no-x11 is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-no-x11/builds/780 | 01:32 | |
-YoctoAutoBuilder- build #756 of nightly-arm64 is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-arm64/builds/756 | 01:35 | |
*** scottrif <scottrif!~scottrif@47.39.44.219> has quit IRC | 01:38 | |
*** martinkelly1 <martinkelly1!~martin@71-35-191-228.tukw.qwest.net> has quit IRC | 01:42 | |
*** stephano <stephano!stephano@nat/intel/x-ycpujzwvcaxhqjsj> has quit IRC | 01:56 | |
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has quit IRC | 02:14 | |
*** tlwoerner <tlwoerner!~Trevor@206.248.190.95> has joined #yocto | 02:26 | |
*** tlwoerner <tlwoerner!~Trevor@unaffiliated/tlwoerner> has joined #yocto | 02:26 | |
-YoctoAutoBuilder- build #250 of nightly-musl-x86-64 is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/250 | 02:35 | |
-YoctoAutoBuilder- build #794 of nightly-musl is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-musl/builds/794 | 02:56 | |
-YoctoAutoBuilder- build #765 of nightly-world-lsb is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-world-lsb/builds/765 | 03:17 | |
-YoctoAutoBuilder- build #766 of nightly-world is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-world/builds/766 | 03:25 | |
-YoctoAutoBuilder- build #772 of build-appliance is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/build-appliance/builds/772 | 03:38 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 03:42 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 03:44 | |
*** sgw <sgw!~swold@c-73-180-42-186.hsd1.or.comcast.net> has joined #yocto | 04:09 | |
*** sgw <sgw!~swold@c-73-180-42-186.hsd1.or.comcast.net> has quit IRC | 04:14 | |
*** sgw <sgw!swold@nat/intel/x-pddbwogsnqigqamj> has joined #yocto | 04:15 | |
-YoctoAutoBuilder- build #773 of nightly-mips is complete: Failure [failed Running ESDK Sanity Tests] Build details are at https://autobuilder.yocto.io/builders/nightly-mips/builds/773 | 04:17 | |
-YoctoAutoBuilder- build #758 of nightly-arm64 is complete: Failure [failed BuildImages Running Sanity Tests Building Toolchain Images Running SDK Sanity Tests Building Toolchain Images_1 BuildImages_1 Running ESDK Sanity Tests] Build details are at https://autobuilder.yocto.io/builders/nightly-arm64/builds/758 | 04:17 | |
-YoctoAutoBuilder- build #830 of nightly-oe-selftest is complete: Failure [failed Running oe-selftest] Build details are at https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/830 | 04:18 | |
*** Marex <Marex!~Marex@195.140.253.167> has quit IRC | 04:29 | |
*** Marex <Marex!~Marex@195.140.253.167> has joined #yocto | 04:29 | |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has joined #yocto | 04:55 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 04:59 | |
-YoctoAutoBuilder- build #774 of nightly-mips is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-mips/builds/774 | 05:30 | |
*** dreyna_ <dreyna_!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has joined #yocto | 05:38 | |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has quit IRC | 05:41 | |
*** clement <clement!~clement@static-css-ccs-204145.business.bouyguestelecom.com> has quit IRC | 05:45 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 05:47 | |
*** clement <clement!~clement@static-css-ccs-204145.business.bouyguestelecom.com> has joined #yocto | 05:47 | |
-YoctoAutoBuilder- build #831 of nightly-oe-selftest is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/831 | 06:04 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-fxryflmgchonjajw> has quit IRC | 06:06 | |
*** hongwei <hongwei!2a3dbe11@gateway/web/freenode/ip.42.61.190.17> has joined #yocto | 06:10 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto | 06:12 | |
*** hongwei <hongwei!2a3dbe11@gateway/web/freenode/ip.42.61.190.17> has quit IRC | 06:13 | |
*** behanw <behanw!uid110099@gateway/web/irccloud.com/x-syqywsvogqhomkic> has quit IRC | 06:26 | |
*** dreyna_ <dreyna_!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has quit IRC | 06:26 | |
yocti | New news from stackoverflow: Yocto - Try to use Realtime Kernel Version <https://stackoverflow.com/questions/47185572/yocto-try-to-use-realtime-kernel-version> | 06:28 |
*** hamis <hamis!~irfan@110.93.212.98> has joined #yocto | 06:29 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 06:34 | |
*** morphis_ <morphis_!~morphis@217.237.98.34> has joined #yocto | 06:58 | |
*** morphis <morphis!~morphis@pD9ED75BE.dip0.t-ipconnect.de> has quit IRC | 07:02 | |
*** pohly <pohly!~pohly@p548497B7.dip0.t-ipconnect.de> has joined #yocto | 07:06 | |
*** open-nandra_ <open-nandra_!~marek@81.89.61.168> has joined #yocto | 07:07 | |
*** behanw <behanw!uid110099@gateway/web/irccloud.com/x-vfghtcbrvkcngrqo> has joined #yocto | 07:08 | |
*** frieder <frieder!~frieder@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has joined #yocto | 07:09 | |
*** Kakounet <Kakounet!~Thunderbi@che44-1-88-163-84-4.fbx.proxad.net> has joined #yocto | 07:25 | |
*** Domin1k <Domin1k!c1669b04@gateway/web/freenode/ip.193.102.155.4> has joined #yocto | 07:25 | |
yocti | New news from stackoverflow: Difference between SRC_URI and FILESEXTRAPATHS_prepend in bitbake <https://stackoverflow.com/questions/46342810/difference-between-src-uri-and-filesextrapaths-prepend-in-bitbake> | 07:28 |
*** t0mmy <t0mmy!~tprrt@217.114.201.133> has joined #yocto | 07:28 | |
*** colrack <colrack!~colrack@94.126.8.166> has joined #yocto | 07:32 | |
Domin1k | Hi Folks, I have a problem with building a system with read-only-rootfs. I'm using Yocto-Dizzy after adding "read-only-rootfs" to "EXTRA_IMAGE_FEATURES" in "conf/local.conf" i faith the problem that some packages could't be configured as read-only-rootfs. | 07:32 |
Domin1k | The first Error is: "ERROR: The following packages could not be configured offline and rootfs is read-only: ['libomxil', 'gdk-pixbuf-loader-jpeg', 'gdk-pixbuf-loader-xpm', 'gdk-pixbuf-loader-gif', 'pango-module-basic-fc', 'gdk-pixbuf-loader-png']" | 07:32 |
Domin1k | How can add the capability for read-only-rootfs-configuration for these Packages? And How do i find out where these Packages belonge to? | 07:34 |
Domin1k | I'm using the old dizzy-release because i need the Layer: "meta-amd" which hasn't got support for rocko. | 07:36 |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has joined #yocto | 07:38 | |
*** nemunaire <nemunaire!~nemunaire@2a01:e35:8bb7:3c60::a> has quit IRC | 07:41 | |
*** gtristan <gtristan!~tristanva@221.147.85.155> has joined #yocto | 07:41 | |
*** dv_ <dv_!~dv@62.178.118.86> has quit IRC | 07:44 | |
*** nemunaire <nemunaire!~nemunaire@2a01:e35:8bb7:3c60::a> has joined #yocto | 07:46 | |
*** ant_work <ant_work!~ant__@95.237.173.214> has joined #yocto | 07:52 | |
*** dv_ <dv_!~dv@62-178-118-86.cable.dynamic.surfer.at> has joined #yocto | 07:58 | |
*** mckoan|away is now known as mckoan | 07:59 | |
*** fl0v0 <fl0v0!~fvo@i59F74E3F.versanet.de> has joined #yocto | 07:59 | |
*** vdehors <vdehors!~vdehors@91.162.62.2> has joined #yocto | 08:07 | |
*** u1106 <u1106!~quassel@163.172.172.46> has joined #yocto | 08:10 | |
*** xtron <xtron!~xtron@110.93.212.98> has joined #yocto | 08:37 | |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-qkqrpdmzywzrqvfn> has joined #yocto | 09:18 | |
*** yann|work <yann|work!~yann@LFbn-1-527-224.w86-245.abo.wanadoo.fr> has quit IRC | 09:20 | |
*** andrey <andrey!~andrey@host-85-237-33-147.dsl.sura.ru> has joined #yocto | 09:32 | |
*** andrey is now known as acrap | 09:32 | |
acrap | Hi folks! Is there an opportunity to disable recipe from oe-core? | 09:33 |
yocti | New news from stackoverflow: Compile rygel for yocto with plugins <https://stackoverflow.com/questions/35704821/compile-rygel-for-yocto-with-plugins> | 09:59 |
*** yann|work <yann|work!~yann@178.208.16.32> has joined #yocto | 10:11 | |
*** fl0v0 <fl0v0!~fvo@i59F74E3F.versanet.de> has quit IRC | 10:14 | |
*** ladidadida <ladidadida!~ladidadid@ipbcc2211a.dynamic.kabel-deutschland.de> has joined #yocto | 10:20 | |
yocti | New news from stackoverflow: Bitbake meta-toolchain-qt5: UnicodeDecodeError <https://stackoverflow.com/questions/48820227/bitbake-meta-toolchain-qt5-unicodedecodeerror> | 10:29 |
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has joined #yocto | 10:36 | |
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has joined #yocto | 10:40 | |
*** grma <grma!~gruberm@80.93.38.128> has quit IRC | 10:40 | |
*** xtron <xtron!~xtron@110.93.212.98> has quit IRC | 10:46 | |
eduardas_m | rburton: hello, I have hit an issue when kernel headers are not included in the SDK I get with populate_sdk, even though my images build fine. How do I even start trying to resolve this issue? | 10:55 |
eduardas_m | so when using the SDK I now get errors like fatal error: linux/errno.h: No such file or directory | 10:56 |
eduardas_m | I am using Rocko | 10:56 |
*** michael_e_brown <michael_e_brown!~michaeleb@143.166.116.80> has quit IRC | 10:58 | |
*** michael_e_brown <michael_e_brown!~michaeleb@143.166.116.80> has joined #yocto | 10:58 | |
*** King_InuYasha <King_InuYasha!~kvirc@fedora/ngompa> has quit IRC | 11:10 | |
*** Kakounet <Kakounet!~Thunderbi@che44-1-88-163-84-4.fbx.proxad.net> has quit IRC | 11:14 | |
*** Kakounet <Kakounet!~Thunderbi@che44-1-88-163-84-4.fbx.proxad.net> has joined #yocto | 11:15 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 11:19 | |
*** sjolley <sjolley!~sjolley@134.134.139.76> has quit IRC | 11:32 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 11:32 | |
*** sjolley <sjolley!~sjolley@134.134.139.76> has joined #yocto | 11:33 | |
maxin | acrap: BBMASK ? | 11:35 |
acrap | maxin: what BBMASK? | 11:37 |
maxin | acrap: http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-BBMASK | 11:38 |
acrap | maxin: wow! Thanks! | 11:39 |
maxin | acrap: or may be PNBLACKLIST: http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-PNBLACKLIST - depending on your requirement | 11:40 |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 11:49 | |
acrap | maxin: it works (BBMASK). But it disable not only what i need. I need to disable only non-native version of my packet. | 11:50 |
acrap | maxin: by the way, thank you :) | 11:53 |
maxin | acrap: in that case, you need PNBLACKLIST.. | 11:54 |
acrap | maxin: i need to specify name of layer. Am i right? | 11:55 |
maxin | acrap: eg: INHERIT += "blacklist" PNBLACKLIST[nativesdk-libidn] = "reason" will just disable nativesdk-libidn | 11:55 |
acrap | maxin: thank you! It helps me. | 11:58 |
*** lfa <lfa!~lfa@217.19.35.51> has quit IRC | 12:02 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 12:02 | |
*** grma <grma!~gruberm@80.93.38.128> has joined #yocto | 12:03 | |
acrap | maxin: oh, i got message that my image requires it (RDEPENDS), but it isn't. I even tried add RDEPENDS_imagename_remove += "packagename" (local.conf). but it doesn't help. I got chain "Missing or unbuildable dependency chain was: ['imagename', 'packagename]" | 12:04 |
maxin | acrap: ah, find the dependency and see if you can remove it.. | 12:06 |
*** nighty-- <nighty--!~nighty@kyotolabs.asahinet.com> has quit IRC | 12:07 | |
acrap | maxin: how can i do that? Why can't i see it in dependency chain? I tried to grep all the layers, but can't see any dependencies :( | 12:07 |
maxin | acrap: try : bitbake -g <recipe> && less task-depends.dot | 12:10 |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-czbrewcqiqgvzwis> has joined #yocto | 12:12 | |
acrap | maxin: that's not help. I see one of my packet dependency in task-depends.dot, but i cant figure out why it is there. It's not mentioned in *.bb or *.inc files. | 12:19 |
*** grma <grma!~gruberm@80.93.38.128> has quit IRC | 12:24 | |
*** prabhakarlad <prabhakarlad!~prabhakar@194.75.40.178> has joined #yocto | 12:36 | |
maxin | acrap: hmm.. I am not so sure about easy ways to find reverse dependencies | 12:37 |
acrap | maxin: you help me enough. Now i know more useful tricks! May be i should stop trying to remove this package. It's not so important. | 12:39 |
*** fl0v0 <fl0v0!~fvo@i59F74E3F.versanet.de> has joined #yocto | 12:39 | |
maxin | acrap: good to hear.all the best .. | 12:40 |
acrap | maxin: thank you :) | 12:40 |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto | 12:44 | |
*** lfa <lfa!~lfa@217.19.35.54> has joined #yocto | 12:47 | |
eduardas_m | In my target sysroot shipped with the SDK I am missing such headers as /usr/include/linux/limits.h or /usr/include/linux/errno.h Does anyone have any idea why that might happen? | 12:58 |
*** dkhouya <dkhouya!b8a03c83@gateway/web/freenode/ip.184.160.60.131> has joined #yocto | 13:28 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 13:35 | |
seppe | Hey, what happened to `devtool update recipe`? It doesn't seem to exist anymore in the devtool of rocko :s | 13:38 |
*** sgw <sgw!swold@nat/intel/x-pddbwogsnqigqamj> has quit IRC | 13:39 | |
*** dkhouya <dkhouya!b8a03c83@gateway/web/freenode/ip.184.160.60.131> has quit IRC | 13:39 | |
mckoan | seppe: devtool update-recipe | 13:42 |
seppe | mckoan: that doesn't seem to do the same as update recipe... | 13:50 |
seppe | I'm trying to follow https://wiki.yoctoproject.org/wiki/TipsAndTricks/Patching_the_source_for_a_recipe | 13:51 |
seppe | I think `devtool finish` might be what I want though | 13:51 |
*** peacememories <peacememories!~textual@e247-162.eduroam.tuwien.ac.at> has joined #yocto | 13:52 | |
seppe | which is creating a patch for the vendored linux sources | 13:52 |
seppe | hhm, nvm, looks like update-recipe is definetly what I want | 13:56 |
seppe | Do I need to commit my changes in my workspace for it to work? | 13:56 |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC | 14:01 | |
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto | 14:01 | |
RP | zeddii, armpit: Think I understand the 4.12 arm64 failure | 14:02 |
zeddii | oh ? that's good, since I just did a boot this morning and was going to start bisecting. | 14:03 |
RP | zeddii: we need http://git.yoctoproject.org/cgit.cgi/linux-yocto/patch/?id=629a359bdb0e0652a8227b4ff3125431995fec6e | 14:03 |
RP | zeddii: literally just confirmed it works with that applied | 14:04 |
zeddii | ahah. I can do a test very quickly here, and get it merged. I can then let PaulG know that he needs it in his queue for his next -stable. | 14:04 |
zeddii | RP: I also just tried that oe-selftest for the mod-scripts, and will look at that if this is fixed. | 14:04 |
zeddii | but the one-liner fix you wondered about didn't seem to change it, so I need to ponder it more. | 14:05 |
*** gtristan <gtristan!~tristanva@221.147.85.155> has quit IRC | 14:07 | |
otavio | RP: rburton: I did the upgrade of mesa including the latest regression fix and sent all patches together in a v2. Total of 6 patches | 14:08 |
zeddii | qemuarm64 login: root | 14:11 |
zeddii | root@qemuarm64:~# uname -a | 14:11 |
zeddii | Linux qemuarm64 4.12.20-yocto-standard #2 SMP PREEMPT Tue Feb 20 09:07:07 EST 2018 aarch64 GNU/Linux | 14:11 |
zeddii | RP: confirmed here as well. will merge that and send the updated revs in the next few mins. | 14:11 |
*** grma <grma!~gruberm@80.93.38.128> has joined #yocto | 14:12 | |
*** gtristan <gtristan!~tristanva@110.11.179.89> has joined #yocto | 14:13 | |
*** ant_work <ant_work!~ant__@95.237.173.214> has quit IRC | 14:15 | |
*** grma <grma!~gruberm@80.93.38.128> has quit IRC | 14:15 | |
*** marka <marka!~masselst@128.224.252.2> has joined #yocto | 14:21 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 14:26 | |
*** grma <grma!~gruberm@80.93.38.128> has joined #yocto | 14:28 | |
*** hamis <hamis!~irfan@110.93.212.98> has quit IRC | 14:30 | |
*** lamego <lamego!lamego@nat/intel/x-xrvnsyfvivqxwnag> has joined #yocto | 14:30 | |
*** grma <grma!~gruberm@80.93.38.128> has quit IRC | 14:31 | |
*** grma <grma!~gruberm@80.93.38.128> has joined #yocto | 14:36 | |
hastake | hello | 14:46 |
RP | zeddii: thanks! | 14:46 |
hastake | i have a small issue with python code in a recipe, if i write SRC_URI = "{@d.getVar('foo').bar()}", should it works? | 14:48 |
hastake | work* | 14:48 |
*** cornel <cornel!~cornel@89.136.2.38> has joined #yocto | 14:48 | |
cornel | hello | 14:49 |
hastake | i have an error saying "The URL: '{@d.getVar...' is invalid and cannot be interpreted" | 14:49 |
cornel | if you have to write a ~1500 lines script for automating yocto builds, what would you use? rust, ruby, python, bash, or something else? i have currently a bash version but is a complete mess and iwant to rewrite it | 14:50 |
hastake | where is the error in what i do? | 14:50 |
LetoThe2nd | hastake: the expansion is "${...}", "{...}" afaik | 14:50 |
LetoThe2nd | erm. | 14:50 |
LetoThe2nd | hastake: the expansion is "${...}", not "{...}" afaik. e.g. you need the '$' | 14:50 |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has quit IRC | 14:50 | |
LetoThe2nd | cornel: reconsider life choces, because a ~1500 line single script is ... meh | 14:51 |
cornel | :) | 14:51 |
cornel | you're right but is part of the job :) | 14:51 |
cornel | however, splitting it in three would be the next generation | 14:52 |
hastake | LetoThe2nd: i am idiot, thanks | 14:52 |
LetoThe2nd | cornel: generally i'd always say: see whats already around and reuse, not reinvent. | 14:52 |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 14:52 | |
cornel | but i was pondering if i should move away from bash | 14:52 |
LetoThe2nd | cornel: e.g. use repo, or kis as infrastructure | 14:52 |
LetoThe2nd | cornel: or rip something out of the yocto autobuilder. | 14:52 |
cornel | kis? | 14:52 |
cornel | i have no idea what kis or autobuilder are | 14:53 |
cornel | searching ... | 14:53 |
LetoThe2nd | the autobuilder is part of the yocto project, so should be easy to find. | 14:53 |
cornel | found autobuilder | 14:54 |
cornel | not found kis | 14:54 |
LetoThe2nd | my bad, its called kas. see: https://github.com/siemens/meta-iot2000 | 14:55 |
LetoThe2nd | that uses it. | 14:55 |
cornel | interesting | 14:56 |
cornel | thank you very much LetoThe2nd | 14:56 |
*** christner <christner!~dchristne@70-91-95-105-washington.dc.hfc.comcastbusiness.net> has joined #yocto | 14:58 | |
RP | cornel: http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder-helper might be interesting depending on what you're doing. Its python based | 15:05 |
cornel | thank you RP | 15:07 |
*** lfa <lfa!~lfa@217.19.35.54> has quit IRC | 15:11 | |
armpit | RP, zeddii thanks | 15:18 |
*** Domin1k <Domin1k!c1669b04@gateway/web/freenode/ip.193.102.155.4> has quit IRC | 15:19 | |
*** aratiu <aratiu!~adi@80.97.64.55> has quit IRC | 15:20 | |
*** aratiu <aratiu!~adi@80.97.64.55> has joined #yocto | 15:20 | |
kergoth | Huh, I just realized meta-external-toolchain probably breaks for armeb | 15:21 |
kergoth | armeb is the only big-endian tune that doesn't pass -meb/-mb/-mbig-endian in TUNE_CCARGS, it assumes the TUNE_ARCH changed the toolchain's default | 15:21 |
kergoth | true for internal, not so much for external | 15:21 |
kergoth | maybe i'll submit a patch to oe-core to pass it explicitly like all the others do | 15:22 |
*** ejoerns <ejoerns!~ejo@2001:67c:670:100:76d4:35ff:fee8:98b3> has joined #yocto | 15:25 | |
*** open-nandra_ <open-nandra_!~marek@81.89.61.168> has quit IRC | 15:25 | |
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has quit IRC | 15:25 | |
RP | kergoth: might be an idea... | 15:26 |
RP | armpit: I triggered 2.4.2 rc2 | 15:26 |
armpit | RP, thanks | 15:26 |
* zeddii goes back to loooking at sametume_samsigs | 15:26 | |
* armpit works on pull request | 15:27 | |
ejoerns | clsulliv, did you resolve your CONFIG_UNWINDER_ORC libelf dependency issue? I just came across the the same when trying to build a module oot and my attempts to fix it do not seem to be fruitful :/ | 15:31 |
*** AndersD <AndersD!~anders@host-90-232-58-153.mobileonline.telia.com> has joined #yocto | 15:31 | |
*** AndersD <AndersD!~anders@host-90-232-58-153.mobileonline.telia.com> has quit IRC | 15:33 | |
zeddii | ejoerns. are you carrying something like this in your kernel recipe ? DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" | 15:37 |
ejoerns | zeddii, jep. and kernel works fine. but compiling out-of-tree modules not | 15:38 |
zeddii | yah. there's a patch for that floating around, IIRC correctly. | 15:38 |
*** acrap <acrap!~andrey@host-85-237-33-147.dsl.sura.ru> has quit IRC | 15:39 | |
zeddii | I've completely torn apart the kernel-devsrc package. so it handles it now, but that's not ready to submit quite yet. | 15:39 |
zeddii | [OE-core] [PATCH] kernel: add objtool to shared workdir | 15:41 |
ejoerns | zeddii, for this I sent [OE-core] [PATCH] module-base: use modules_prepare build target in do_make_scripts() | 15:43 |
zeddii | make_scripts is completely different now. | 15:43 |
zeddii | with the patch under test. | 15:43 |
zeddii | RP: there the oe-self test passed, I'll send a new patch. | 15:44 |
ejoerns | zeddii, mh, mine is 2 weeks older but was ignored... Well, don't you think calling modules_prepare is the more general solution? | 15:46 |
zeddii | nope | 15:46 |
zeddii | the patch to take all the scripts crap out of the kernel bbclass has been ongoing for 6 months | 15:47 |
zeddii | so that pre-dates everything ;) | 15:47 |
zeddii | but we actually do want the scripts in some scenarios, it wasn't being used due to not knowing about modules_prepare. | 15:47 |
*** JaMa <JaMa!~martin@217.30.68.212> has joined #yocto | 15:47 | |
*** lusus <lusus!~lusus@62.91.23.180> has quit IRC | 15:47 | |
*** lusus <lusus!~lusus@62.91.23.180> has joined #yocto | 15:48 | |
ejoerns | my patch actually is for module-base.bbclass not kernel.bbclass | 15:49 |
zeddii | same differece | 15:50 |
* zeddii shrugs | 15:50 | |
zeddii | we are getting it all out of that build process it races and has been junk for a long time. | 15:50 |
*** grma <grma!~gruberm@80.93.38.128> has quit IRC | 15:51 | |
zeddii | that + devsrc are changing once I the sig gens changse are sorted + we can cross build the scripts, etc. | 15:51 |
ejoerns | zeddii, mh, ok. But I'm still unsure how to fix my issue now :D maybe I'll give the crude objtool workaround a try ;) | 15:56 |
RP | zeddii: thanks, what was it out of interest? | 15:57 |
zeddii | RP: it was the line you suggested for the fix, or did you mean 'what was the error I saw initially' ? | 15:58 |
lukma | Just to ask | 15:58 |
lukma | I do need to override linux-yocto-4.12 to linux-yocto-dev | 15:58 |
zeddii | my error was due to dangling bbappends ;) so I cleanedup my layers. | 15:58 |
RP | zeddii: I just saw the email, I was wondering what the fix was. Glad I was able to guess :) | 15:59 |
lukma | I'm using MACHINE=qemuarm | 15:59 |
lukma | the only way to override PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev" | 15:59 |
zeddii | RP: yah. I'm pretty dense when it comes to that stuff, so I ran with your suggesetion. | 15:59 |
zeddii | lukma, yep. | 15:59 |
lukma | is to put it into build_dir/conf/local.conf | 15:59 |
lukma | Can it be done in other way? | 16:00 |
zeddii | it can be in any conf file, i.e. a layer you are including, etc | 16:00 |
lukma | Like override some parts of quemu.inc ? | 16:00 |
lukma | zeddii: I rather thought about adding meta-XXX/conf/machine/qemuarm.conf | 16:01 |
lukma | and override it there - which is a more portable solution IMHO | 16:01 |
lukma | But it seems like it doesn't overwrite stuff in poky/meta/conf/machine | 16:02 |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 16:02 | |
RP | zeddii: those kind of bugs are a pain to debug which is why we have those tests to spot them! | 16:02 |
zeddii | indeed. doing a final build test now, and will send v3 shortly. then back to kernel-devsrc and integrating it with the scripts-cross build test. | 16:03 |
zeddii | task swap death | 16:03 |
* zeddii notes RP knows task swap death better than me ;) | 16:03 | |
RP | zeddii: I know the feeling, believe me! :) | 16:04 |
* RP ponders toolchains, bugs, stable releases or misc next | 16:04 | |
lukma | Ok, so there is no "easy" way to adjust PREFERRED_PROVIDER_virtual/kernel for MACHINE=qemuarm ? | 16:07 |
lukma | By easy - I mean portable | 16:09 |
lukma | to avoid copying local.conf to the deployment directory/setup? | 16:09 |
*** sjolley <sjolley!~sjolley@134.134.139.76> has quit IRC | 16:09 | |
LetoThe2nd | lukma: the portable way is to define your own machine that sets up things the way you want them. | 16:09 |
kergoth | local.conf, site.conf, or add a custom machine that's based on or includes qemuarm | 16:10 |
LetoThe2nd | for reasons unknown people always try to avoid own images, own machines, own distros and prefer beating things into shape. | 16:10 |
lukma | LetoThe2nd: :) | 16:11 |
lukma | People are lazy | 16:11 |
kergoth | i think people think it's harder or more imposing than it is | 16:11 |
LetoThe2nd | kergoth: yeah | 16:11 |
kergoth | i suspect it seems intimidating to new users, even though it's trivial | 16:12 |
lukma | If I do have qemuarm machine written by OE|yocto core team | 16:12 |
lukma | then why should I re-invent the wheel? | 16:12 |
RP | kergoth: ironic given the problem we had with oe-classic... | 16:12 |
kergoth | FYI, you can create a new machine that includes/requires the existing qemuarm machine, if you don't want to bother copying it for some reason.. | 16:12 |
LetoThe2nd | lukma: then what is complicated about having a myquemarm.conf that just pulls in the prewritten stuff and just overriding it? | 16:13 |
kergoth | just need to tweak MACHINEOVERRIDES to include both | 16:13 |
kergoth | RP: heh, indeed | 16:13 |
lukma | good point | 16:13 |
ejoerns | zeddii, :( build server says no and my recipe still cries for libelf-dev... | 16:13 |
lukma | kergoth: I will do that this way | 16:14 |
zeddii | I'll have to test the use case against my re-worked packages. I'm back to them now that qemuarm64 is booting. I was getting that error, but haven't seen it for a while now. | 16:16 |
ejoerns | zeddii, also seems to be polluted by the host env as it works on my local machine but not on my CI server | 16:19 |
-YoctoAutoBuilder- build #760 of nightly-arm64 is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-arm64/builds/760 | 16:26 | |
*** lfa <lfa!~lfa@217.19.35.51> has joined #yocto | 16:26 | |
*** sgw <sgw!~swold@134.134.139.72> has joined #yocto | 16:28 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 16:31 | |
*** ntl <ntl!~nathanl@65-36-80-8.dyn.grandenetworks.net> has joined #yocto | 16:33 | |
*** sjolley <sjolley!~sjolley@134.134.139.75> has joined #yocto | 16:34 | |
*** rcw <rcw!~rwoolley@128.224.252.2> has joined #yocto | 16:34 | |
*** scottrif <scottrif!~scottrif@47.39.44.219> has joined #yocto | 16:34 | |
*** stephano <stephano!~stephano@134.134.139.75> has joined #yocto | 16:37 | |
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has quit IRC | 16:40 | |
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has joined #yocto | 16:41 | |
*** mwe <mwe!~mwe@209-163-150-140.static.twtelecom.net> has quit IRC | 16:43 | |
*** mwe <mwe!~mwe@209-163-150-140.static.twtelecom.net> has joined #yocto | 16:45 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC | 16:49 | |
*** peacememories <peacememories!~textual@e247-162.eduroam.tuwien.ac.at> has quit IRC | 16:54 | |
*** peacememories <peacememories!~textual@e247-162.eduroam.tuwien.ac.at> has joined #yocto | 16:55 | |
*** frieder <frieder!~frieder@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has quit IRC | 16:58 | |
yocti | New news from stackoverflow: Skip printk calls <https://stackoverflow.com/questions/48890102/skip-printk-calls> | 17:00 |
*** Kakounet <Kakounet!~Thunderbi@che44-1-88-163-84-4.fbx.proxad.net> has quit IRC | 17:04 | |
*** sashko <sashko!~sashko@2a04:ae08:1403:ff00:80ad:a8be:d6c:2b2c> has joined #yocto | 17:06 | |
zeddii | RP: my gmail copy of oe-core is messing with me. If you don't see both of my patches in the make-mod-scripts (v3), can you shout/yell at me ? | 17:08 |
zeddii | I only see 2/2, but I think it has threaded 1/2 away, and it may have appeared on the list. | 17:08 |
*** sashko <sashko!~sashko@2a04:ae08:1403:ff00:80ad:a8be:d6c:2b2c> has quit IRC | 17:13 | |
*** armpit <armpit!~armpit@2601:202:4000:1184:445:eea1:c858:82d4> has quit IRC | 17:13 | |
rburton | zeddii: yeah 1/2 was there, it's in mut now at least | 17:26 |
zeddii | ok. I *detest* the threading that gmail does with patches. | 17:27 |
zeddii | but yet, I need the list somewhere that I can check from home without VPN :D | 17:27 |
rburton | zeddii: you reminded me to ask twitter for mailer suggestions for exactly that reason | 17:28 |
*** Snert_ <Snert_!~snert_@65.74.8.146> has quit IRC | 17:29 | |
*** mckoan is now known as mckoan|away | 17:29 | |
-YoctoAutoBuilder- build #862 of nightly is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly/builds/862 | 17:31 | |
*** fl0v0 <fl0v0!~fvo@i59F74E3F.versanet.de> has quit IRC | 17:37 | |
*** vdehors <vdehors!~vdehors@91.162.62.2> has quit IRC | 17:43 | |
*** dreyna <dreyna!~dreyna@2601:646:4201:b1a0:31d6:2e01:6b8b:74dc> has joined #yocto | 17:49 | |
ejoerns | zeddii, fyi I guess the fuckup is mainly caused by the kernel Makefile using $(HOSTCC) for the libelf-test during module builds. Thus (in contrast to kernel builds) for modules it uses the build machine's toolchain for checking (in kernel class we do set HOSTCC to ${BUILDCC} explicitly) | 17:52 |
*** kpo__ <kpo__!~bob@user-94-254-255-37.play-internet.pl> has joined #yocto | 17:52 | |
*** zarzar <zarzar!~zarzar@184.75.233.58> has joined #yocto | 17:56 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-czbrewcqiqgvzwis> has quit IRC | 18:02 | |
*** alex___ <alex___!a2d58520@gateway/web/freenode/ip.162.213.133.32> has joined #yocto | 18:18 | |
alex___ | anyone around? have a bit of a dilemma | 18:20 |
JPEWhacker | alex___: I'm here FWIW | 18:43 |
*** alex___ <alex___!a2d58520@gateway/web/freenode/ip.162.213.133.32> has quit IRC | 18:50 | |
*** colrack <colrack!~colrack@94.126.8.166> has quit IRC | 18:53 | |
*** alex___ <alex___!a2d58520@gateway/web/freenode/ip.162.213.133.32> has joined #yocto | 18:57 | |
alex___ | so I have a recipe named activist.bb that I want to rename to activist-acceptance.bb, activist-staging.bb, and activist-production.bb, depending on environment. the challenge is, I want the resulting debian package to install into a directory named activist regardless of environment specified, but it's getting that value from the PN variable which is set by the recipe name which includes the environment | 18:57 |
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto | 19:01 | |
*** t0mmy <t0mmy!~tprrt@217.114.201.133> has quit IRC | 19:02 | |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has joined #yocto | 19:05 | |
JPEWhacker | You don't have any control of ${PN} getting passed as part of the installation directory? | 19:06 |
alex___ | Within the recipe it says: | 19:06 |
alex___ | pkg_postinst_${PN}() { | 19:07 |
alex___ | If I change PN would it update appropriately? | 19:07 |
alex___ | meaning if I set it to pkg_postinst_activist would the install folder be named activist? | 19:08 |
alex___ | or does that just specify which application the pkg_postinst applies to? | 19:08 |
*** armpit <armpit!~armpit@50-233-148-156-static.hfc.comcastbusiness.net> has joined #yocto | 19:09 | |
JPEWhacker | I don't think that pkg_postinst affect the installation directory | 19:09 |
JPEWhacker | usually.... | 19:09 |
*** martinkelly1 <martinkelly1!~martin@71-35-191-228.tukw.qwest.net> has joined #yocto | 19:09 | |
JPEWhacker | But you might want to clarify "installation directory" | 19:11 |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 19:12 | |
*** peacememories <peacememories!~textual@e247-162.eduroam.tuwien.ac.at> has joined #yocto | 19:12 | |
alex___ | the directory where the application is installed | 19:15 |
alex___ | it's always /usr/pkgs/PN regardless of application | 19:15 |
JPEWhacker | Usually thats set by do_install() | 19:15 |
alex___ | ooh yeah! | 19:16 |
alex___ | so I have this block in a class file that's inherited by each individual sub-recipe | 19:16 |
alex___ | `bundler_do_install() { install -d ${D}${prefix}/pkgs/ install -d ${D}${prefix}/pkgs/${PN} rsync -rtv ${S}/ ${D}${prefix}/pkgs/${PN} }` | 19:16 |
alex___ | so it's precisely there where ${PN} needs to be ${PN} minus the environment, right? | 19:17 |
JPEWhacker | Right | 19:17 |
alex___ | so maybe I could declare a variable such PN_NEW that grabs PN then removes the environment tag from the end of it | 19:17 |
alex___ | then update the install block to use PN_NEW instead of PN | 19:18 |
alex___ | does that make sense? | 19:18 |
*** cornel <cornel!~cornel@89.136.2.38> has quit IRC | 19:18 | |
alex___ | thank you so much JPE! Our systems guy left and I inherited this code base. I'm a junior devops guy with only 1 year of experience so still have so much to learn. | 19:19 |
*** yann|work <yann|work!~yann@178.208.16.32> has quit IRC | 19:20 | |
JPEWhacker | Ya, I think thing might work: PN_INSTALL_DIR = "${@d.getVar('PN').split('-')[0]}" | 19:21 |
JPEWhacker | np | 19:21 |
alex___ | That's just beautiful thank you sir! I miss Python. It's all Ruby here. | 19:21 |
*** peacememories <peacememories!~textual@e247-162.eduroam.tuwien.ac.at> has quit IRC | 19:22 | |
JPEWhacker | ... Did you reverse that? bitbake uses python | 19:23 |
alex___ | By "here" I meant my company heh | 19:23 |
*** peacememories <peacememories!~textual@2001:629:3200:547:7dd9:e96:c60:62b6> has joined #yocto | 19:23 | |
alex___ | I started in Python, fell in love with it, then was forced to switch to Ruby; now I'm starting to get Stockholm Syndrome | 19:23 |
JPEWhacker | Oh, right. Got it ;) | 19:24 |
alex___ | I barely even remember my real parents anymore | 19:24 |
*** peacemem_ <peacemem_!~textual@e247-162.eduroam.tuwien.ac.at> has joined #yocto | 19:31 | |
*** peacememories <peacememories!~textual@2001:629:3200:547:7dd9:e96:c60:62b6> has quit IRC | 19:32 | |
*** peacemem_ <peacemem_!~textual@e247-162.eduroam.tuwien.ac.at> has quit IRC | 19:35 | |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-qkqrpdmzywzrqvfn> has quit IRC | 19:39 | |
*** zeddii_home <zeddii_home!~zeddii_ho@CPEe8de27b71faa-CM64777d5e8820.cpe.net.cable.rogers.com> has quit IRC | 19:45 | |
*** andremcurvello <andremcurvello!bb48b841@gateway/web/freenode/ip.187.72.184.65> has joined #yocto | 19:47 | |
*** kpo__ <kpo__!~bob@user-94-254-255-37.play-internet.pl> has quit IRC | 19:53 | |
*** TomW <TomW!~tom@2601:484:c301:83c2::4454> has joined #yocto | 19:57 | |
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has joined #yocto | 19:58 | |
*** nathani_ <nathani_!~nathani@mail.validmanufacturing.com> has joined #yocto | 19:59 | |
*** TomW <TomW!~tom@2601:484:c301:83c2::4454> has quit IRC | 19:59 | |
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has quit IRC | 20:02 | |
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has joined #yocto | 20:03 | |
*** didil <didil!90026dc7@gateway/web/freenode/ip.144.2.109.199> has joined #yocto | 20:05 | |
didil | hi | 20:05 |
didil | glib doesn't compile in poky "rocko" | 20:07 |
didil | https://paste.ofcode.org/MBqSyKZ8mirQSBvbFRPXvc | 20:07 |
*** comptroller <comptroller!~comptroll@47-213-225-245.paolcmtc01.res.dyn.suddenlink.net> has quit IRC | 20:07 | |
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has quit IRC | 20:10 | |
*** kpo_ <kpo_!~bob@user-94-254-255-37.play-internet.pl> has joined #yocto | 20:12 | |
*** alex___ <alex___!a2d58520@gateway/web/freenode/ip.162.213.133.32> has quit IRC | 20:13 | |
*** comptroller <comptroller!~comptroll@47-213-225-245.paolcmtc01.res.dyn.suddenlink.net> has joined #yocto | 20:17 | |
*** marka <marka!~masselst@128.224.252.2> has quit IRC | 20:53 | |
*** aehs29 <aehs29!~aehs29@149.199.62.254> has joined #yocto | 20:57 | |
didil | glibc* | 21:06 |
didil | this branch is broken | 21:06 |
*** ladidadida <ladidadida!~ladidadid@ipbcc2211a.dynamic.kabel-deutschland.de> has quit IRC | 21:10 | |
*** hnje <hnje!~hnje@193.106.123.182> has quit IRC | 21:25 | |
*** alex____ <alex____!a2d58520@gateway/web/freenode/ip.162.213.133.32> has joined #yocto | 21:27 | |
alex____ | JPEWhacker so sometimes the application names include the - character | 21:27 |
alex____ | so I think I need to write it like this: | 21:28 |
alex____ | INSTALL_FOLDER = '-'.join(PN.split('-')[0:-1]) | 21:28 |
alex____ | Is there a more technically correct way to do that? Getting a little bit of a code smell vibe. | 21:28 |
fray | you can replace the '-' with say '_' or another character if this makes more sense.. | 21:32 |
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has quit IRC | 21:36 | |
*** zeddii_home <zeddii_home!~zeddii_ho@CPEe8de27b71faa-CM64777d5e8820.cpe.net.cable.rogers.com> has joined #yocto | 21:39 | |
*** rcw <rcw!~rwoolley@128.224.252.2> has quit IRC | 21:43 | |
alex____ | Can I reference PN freely in a class file or do I need to do something like bb.data.getVar('PN',d,1)? | 21:46 |
*** ladidadida <ladidadida!~ladidadid@ipbcc2211a.dynamic.kabel-deutschland.de> has joined #yocto | 21:47 | |
JPEWhacker | Not sure I understand the question | 21:49 |
JPEWhacker | Is bundler_do_install() in a class file? | 21:49 |
alex____ | yes | 21:49 |
JPEWhacker | Ya, you can reference PN in a class file. You would use bb.data.getVar('PN') in Python code, and ${PN} elsewhere | 21:50 |
JPEWhacker | Are you willing to change the bbclass file? | 21:50 |
alex____ | Definitely | 21:50 |
alex____ | INSTALL_FOLDER = '-'.join(bb.data.getVar('PN').split('-')[0:-1]) | 21:51 |
JPEWhacker | You might consider doing it a little "dumber" then. In the bbclass do something like: INSTALL_FOLDER ?= "${PN}", then override it in each recipe | 21:51 |
JPEWhacker | e.g. INSTALL_FOLDER = "activist" | 21:52 |
alex____ | I get a parse error from the above line | 21:52 |
JPEWhacker | Ya, you need the "this is python code" delimiters, ${@ } | 21:52 |
alex____ | Ah gotchya I'm such a newb heh | 21:52 |
alex____ | so I was planning to add a regex if clause | 21:52 |
JPEWhacker | e.g. INSTALL_FOLDER = "${@'-'.join(bb.data.getVar('PN').split('-')[0:-1])}" | 21:53 |
JPEWhacker | That works. You still might want to define that weakly so it can be overriden easily on per-recipe basis, e.g. INSTALL_FOLDER ?= "...." | 21:54 |
*** marka <marka!~masselst@184.175.21.48> has joined #yocto | 21:54 | |
alex____ | that's a good idea thank you | 21:54 |
*** armpit <armpit!~armpit@50-233-148-156-static.hfc.comcastbusiness.net> has quit IRC | 21:56 | |
*** ladidadida <ladidadida!~ladidadid@ipbcc2211a.dynamic.kabel-deutschland.de> has quit IRC | 21:58 | |
alex____ | so when i construct the whole if clause that should be encapsulated in ${@ } as well, right?? | 22:05 |
alex____ | hmm i'll try to set it up as a python function | 22:11 |
JPEWhacker | Ya, I would write a function | 22:12 |
alex____ | will the function be automatically invoked or do I need to invoke it? | 22:18 |
alex____ | or do i do something like "python do_install_prepend" | 22:18 |
*** yann|work <yann|work!~yann@LFbn-1-527-224.w86-245.abo.wanadoo.fr> has joined #yocto | 22:19 | |
alex____ | python do_install_prepend () { PN = bb.data.getVar('PN') environments = ['acceptance', 'staging', 'production'] if any(n in PN for n in environments): INSTALL_FOLDER = '-'.join(bb.data.getVar('PN').split('-')[0:-1]) else: INSTALL_FOLDER = PN } | 22:23 |
*** Guma <Guma!~Guma@c-67-184-64-21.hsd1.il.comcast.net> has joined #yocto | 22:23 | |
alex____ | I'm just going to make it "dumb" and put it in the recipes | 22:25 |
alex____ | oh hm that's not going to work because the do_install is in the class not the recipes... | 22:26 |
*** rburton_ <rburton_!~textual@35.106.2.81.in-addr.arpa> has joined #yocto | 22:33 | |
JPEWhacker | alex___: I think some time reading the manual would be in order, but you can start with this: https://paste.ofcode.org/FRi5kSW2HySxtKCeRiQbua | 22:35 |
*** JaMa <JaMa!~martin@217.30.68.212> has quit IRC | 22:37 | |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has quit IRC | 22:39 | |
*** rburton_ is now known as rburton | 22:41 | |
alex____ | amen thanks JPE | 22:43 |
*** andycooper <andycooper!uid246432@gateway/web/irccloud.com/x-tpkcxcayyfbqjdje> has quit IRC | 22:49 | |
*** lazyape <lazyape!~lazyape@athedsl-244581.home.otenet.gr> has quit IRC | 22:52 | |
*** lazyape <lazyape!~lazyape@athedsl-244581.home.otenet.gr> has joined #yocto | 22:52 | |
alex____ | holy crapoly | 22:54 |
alex____ | i think it worked... | 22:54 |
alex____ | nope jumped the gun : ) | 22:57 |
alex____ | woot fixed the issue -- just had to make a small adjustment in the actual recipe file! | 23:00 |
alex____ | JPEWhacker: here's the code in case you're curious: https://paste.ofcode.org/qvG5kRtsbwCwMf7XXBNdm9 | 23:00 |
*** gtristan <gtristan!~tristanva@110.11.179.89> has quit IRC | 23:00 | |
alex____ | I owe you a beer man | 23:00 |
*** Willy-- <Willy--!~william@156.34.161.186> has joined #yocto | 23:01 | |
JPEWhacker | Lol, no problem. It looks really good, I would only make one change: the "d" argument to the function is the bb data store, so instead of bb.data.getVar('PN', d, 1), you can simply do d.getVar('PN') | 23:02 |
*** dreyna <dreyna!~dreyna@2601:646:4201:b1a0:31d6:2e01:6b8b:74dc> has quit IRC | 23:04 | |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has joined #yocto | 23:04 | |
rburton | didil: glibc in rocko branch builds fine here | 23:04 |
didil | rburton: not on my computer | 23:06 |
didil | Ubuntu 17.10 | 23:06 |
rburton | didil: that's interesting, but it works on the entire autobuilder. so you've an interesting quirk. have you tried with a different MACHINE? do you have anything apart from just oe-core? | 23:07 |
*** lamego <lamego!lamego@nat/intel/x-xrvnsyfvivqxwnag> has quit IRC | 23:07 | |
didil | not yet :/, I use meta-freescale and meta-openembedded and meta-qt5 | 23:08 |
didil | added to poky | 23:08 |
rburton | didil: i'd rip those layers out, set machine=qemuarm, and try building glibc | 23:10 |
rburton | if it works then you know its not oe-core at fault | 23:10 |
rburton | if it doesn't then file a bug | 23:10 |
didil | i'm compiling the pyro branch | 23:11 |
didil | it passes the glibc compilation task | 23:11 |
didil | ok i'll do it | 23:11 |
didil | thanks :) | 23:13 |
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has quit IRC | 23:29 | |
*** tlwoerner <tlwoerner!~Trevor@unaffiliated/tlwoerner> has quit IRC | 23:42 | |
*** Guma <Guma!~Guma@c-67-184-64-21.hsd1.il.comcast.net> has quit IRC | 23:47 | |
*** tlwoerner <tlwoerner!~Trevor@206.248.190.95> has joined #yocto | 23:48 | |
*** tlwoerner <tlwoerner!~Trevor@unaffiliated/tlwoerner> has joined #yocto | 23:48 | |
hastake | i need to instantiate the images that i build (eg add some unique id and certificates inside). any idea the simpler way to do that? any alternative? | 23:48 |
hastake | (i tried to find documentation about that, but unfortunalty no luck. any ptr?) | 23:49 |
*** agust <agust!~agust@p4FCB54C8.dip0.t-ipconnect.de> has quit IRC | 23:53 | |
*** alex____ <alex____!a2d58520@gateway/web/freenode/ip.162.213.133.32> has quit IRC | 23:54 | |
*** scottrif <scottrif!~scottrif@47.39.44.219> has quit IRC | 23:56 | |
*** nathani_ <nathani_!~nathani@mail.validmanufacturing.com> has quit IRC | 23:59 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!