Friday, 2014-01-31

*** sjolley <sjolley!sjolley@nat/intel/x-pkbqnzdqzhgeifmb> has joined #yocto00:30
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC00:35
*** behanw <behanw!~behanw@> has quit IRC00:36
*** smartin_ <smartin_!> has quit IRC00:43
*** stryx` <stryx`!~stryx@> has quit IRC00:53
*** stryx` <stryx`!~stryx@> has joined #yocto00:53
*** nitink <nitink!nitink@nat/intel/x-krbzynydjmoglsjd> has quit IRC01:04
*** nitink <nitink!~nitink@> has joined #yocto01:06
-YoctoAutoBuilder- build #6 of nightly-qa-extras is complete: Failure [failed BuildImages Running Sanity Tests] Build details are at
*** sjolley <sjolley!sjolley@nat/intel/x-pkbqnzdqzhgeifmb> has quit IRC01:12
*** sameo <sameo!~samuel@> has quit IRC01:16
*** mr_science <mr_science!~sarnold@gentoo/developer/nerdboy> has quit IRC01:25
*** thirtythreeforty <thirtythreeforty!~thirtythr@unaffiliated/gh403> has joined #yocto01:29
thirtythreefortyI have a build issue.  I'm trying to write a Bitbake recipe for jsoncpp, which uses SConstruct.  My .bb is at
thirtythreefortyWhen I run the script, Bitbake complains that:01:31
thirtythreeforty| DEBUG: Executing shell function do_compile01:31
thirtythreeforty| Traceback (most recent call last):01:31
thirtythreeforty|   File "/home/ecocar/msu-community-bsp/build_mx6/tmp/sysroots/x86_64-linux/usr/bin/scons", line 187, in <module>01:31
thirtythreeforty|     import SCons.Script01:31
thirtythreeforty| ImportError: No module named SCons.Script01:31
thirtythreeforty(Apologies for pastebomb.)  What gives?01:31
*** nitink1 <nitink1!nitink@nat/intel/x-eeuorhpgolykwhoq> has joined #yocto01:44
*** nitink <nitink!~nitink@> has quit IRC01:46
-YoctoAutoBuilder- build #6 of nightly-intel-gpl is complete: Success [build successful] Build details are at
lpappthirtythreeforty: you have not shown the recipe.01:47
*** nitink1 <nitink1!nitink@nat/intel/x-eeuorhpgolykwhoq> has quit IRC01:50
*** daiane <daiane!> has quit IRC02:24
*** daiane <daiane!> has joined #yocto02:24
*** dany <dany!> has quit IRC02:28
*** joseppc <joseppc!> has quit IRC02:29
*** maxin <maxin!> has quit IRC02:30
*** dany <dany!> has joined #yocto02:32
*** joseppc <joseppc!> has joined #yocto02:32
*** maxin <maxin!> has joined #yocto02:33
*** newell <newell!> has quit IRC02:38
*** roxell <roxell!~roxell@linaro/roxell> has quit IRC02:38
thirtythreefortylpapp, yes I did.  It is at
*** silviof4 <silviof4!> has joined #yocto03:01
*** silviof3 <silviof3!> has quit IRC03:04
*** GusBricker <GusBricker!> has quit IRC03:16
*** GusBricker <GusBricker!> has joined #yocto03:17
-YoctoAutoBuilder- build #7 of nightly-x86-lsb is complete: Failure [failed BuildImages] Build details are at
*** sjolley <sjolley!~sjolley@> has joined #yocto03:40
*** fusman <fusman!~fahad@> has joined #yocto03:40
*** sjolley <sjolley!~sjolley@> has quit IRC03:41
*** sjolley1 <sjolley1!~sjolley@> has joined #yocto03:41
*** behanw <behanw!~behanw@> has joined #yocto03:43
*** behanw <behanw!~behanw@> has quit IRC03:47
*** behanw <behanw!> has joined #yocto04:03
-YoctoAutoBuilder- build #6 of nightly-fsl-ppc is complete: Success [build successful] Build details are at
*** flynn378 <flynn378!80db310e@gateway/web/freenode/ip.> has quit IRC04:39
*** valic <valic!c1ca1642@gateway/web/freenode/ip.> has quit IRC04:39
*** behanw <behanw!> has quit IRC04:41
*** paul___ <paul___!cbceaa06@gateway/web/freenode/ip.> has joined #yocto05:02
*** Jefro <Jefro!> has joined #yocto05:02
paul___Hi. I have a question for any yocto gurus out there. We want to override a default installed configuration file with one of our own in our own layer for a standard package. To be more precise, we have setup our own layer and we have added lighttpd into our RDEPENDS for our layer. But now we want to use our config file and not the one that comes by default with the lighttpd package. Thoughts, pointers?05:05
paul___I tried adding a bbappend receipe into our layer for the lighttpd package, but haven't had any luck getting it to work.05:06
paul___We actually want to do this for a few standard packages, lighttpd is just an example05:13
*** paul___ <paul___!cbceaa06@gateway/web/freenode/ip.> has quit IRC05:26
*** Jefro <Jefro!> has quit IRC05:29
*** sjolley1 <sjolley1!~sjolley@> has quit IRC05:40
*** Jefro <Jefro!> has joined #yocto05:40
*** sgw_ <sgw_!> has joined #yocto05:43
*** sjolley <sjolley!~sjolley@> has joined #yocto05:46
*** behanw <behanw!> has joined #yocto05:51
*** sjolley <sjolley!~sjolley@> has quit IRC05:58
lpappthirtythreeforty: yeah, right, I did not notice it. Perhaps, I should not use irc after waking up.06:00
thirtythreefortyany ideas, lpapp?06:01
-YoctoAutoBuilder- build #7 of nightly-mips is complete: Success [build successful] Build details are at
-YoctoAutoBuilder- build #7 of nightly-x86 is complete: Success [build successful] Build details are at
*** sjolley <sjolley!sjolley@nat/intel/x-ajijoneahzfzumiw> has joined #yocto06:10
*** nitink <nitink!~nitink@> has joined #yocto06:21
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has left #yocto06:22
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #yocto06:22
*** GusBricker <GusBricker!> has quit IRC06:26
*** sjolley <sjolley!sjolley@nat/intel/x-ajijoneahzfzumiw> has quit IRC06:26
*** GusBricker <GusBricker!> has joined #yocto06:27
*** SorenHolm <SorenHolm!> has joined #yocto06:30
*** GusBricker <GusBricker!> has quit IRC06:31
*** Jefro <Jefro!> has quit IRC06:35
*** kbart <kbart!~KBart@> has joined #yocto06:41
*** SorenHolm <SorenHolm!> has quit IRC06:42
-YoctoAutoBuilder- build #7 of nightly-arm is complete: Failure [failed Running Sanity Tests] Build details are at
*** mebrown <mebrown!> has quit IRC06:58
*** mebrown <mebrown!> has joined #yocto06:58
*** mebrown <mebrown!> has quit IRC07:00
*** behanw <behanw!> has quit IRC07:00
*** zecke <zecke!> has quit IRC07:07
-YoctoAutoBuilder- build #7 of nightly-ppc is complete: Failure [failed Running Sanity Tests] Build details are at
*** mihai <mihai!~mihai@> has quit IRC07:17
lpapprburton: ping07:23
*** sgw_ <sgw_!> has quit IRC07:30
*** agust <agust!> has joined #yocto07:31
*** sgw_ <sgw_!> has joined #yocto07:33
*** SorenHolm <SorenHolm!> has joined #yocto07:35
*** diego_r <diego_r!> has joined #yocto07:43
*** tasslehoff <tasslehoff!~tasslehof@> has joined #yocto07:44
*** khem` <khem`!> has joined #yocto07:52
*** ant_work <ant_work!> has joined #yocto07:55
*** eballetbo <eballetbo!> has joined #yocto08:10
*** gmacario <gmacario!> has joined #yocto08:17
*** khem` <khem`!> has quit IRC08:23
*** khem` <khem`!> has joined #yocto08:23
*** blitz00 <blitz00!stefans@unaffiliated/blitz00> has joined #yocto08:24
*** florian <florian!> has joined #yocto08:29
*** florian <florian!~fuchs@Maemo/community/contributor/florian> has joined #yocto08:29
*** sameo <sameo!~samuel@> has joined #yocto08:30
*** fpaut_ is now known as fpaut08:30
*** zecke <zecke!> has joined #yocto08:33
*** bunk <bunk!> has joined #yocto08:46
*** fpaut is now known as fpaut_08:46
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC08:47
*** Squix <Squix!> has quit IRC08:50
*** Squix <Squix!> has joined #yocto08:50
*** Crofton <Crofton!> has quit IRC08:51
*** nerdboy <nerdboy!> has joined #yocto08:54
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #yocto08:55
*** Crofton <Crofton!> has joined #yocto09:04
*** dguthrie <dguthrie!> has joined #yocto09:09
*** aragua <aragua!> has joined #yocto09:10
*** mihai <mihai!~mihai@> has joined #yocto09:11
*** beaver_545 <beaver_545!~stuart@> has joined #yocto09:12
lpapprburton: if I understood correctly, I should not check the bblayers.conf into our repository since it would be generated out the sample file when needed, right?09:14
dguthrieThere are two vesion of bison in meta/recipes-devtools/bison, 2.3 and 2.7.1, how do I get bitbake to use version 2.309:27
lpappdguthrie: set the preferred version.09:28
*** arky <arky!> has joined #yocto09:32
*** zeeblex <zeeblex!~apalalax@> has joined #yocto09:40
*** JimBaxter <JimBaxter!> has joined #yocto09:45
*** belen <belen!~Adium@> has joined #yocto09:46
-YoctoAutoBuilder- build #6 of nightly-oecore is complete: Success [build successful] Build details are at
*** mihai <mihai!~mihai@> has quit IRC09:48
*** mihai <mihai!~mihai@> has joined #yocto09:49
*** khem` <khem`!> has quit IRC09:54
*** aragua <aragua!> has quit IRC10:01
*** lpapp <lpapp!~lpapp@kde/lpapp> has quit IRC10:01
*** aragua <aragua!> has joined #yocto10:02
*** aragua <aragua!> has quit IRC10:04
*** aragua <aragua!> has joined #yocto10:05
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto10:08
-YoctoAutoBuilder- build #6 of build-appliance is complete: Success [build successful] Build details are at
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC10:13
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto10:13
*** bluelightning_ is now known as bluelightning10:13
bluelightningmorning all10:14
*** jackmitchell <jackmitchell!~Thunderbi@> has joined #yocto10:17
*** lpapp <lpapp!~lpapp@kde/lpapp> has joined #yocto10:26
lpapprburton: hi, have you seen my question?10:26
*** kalyank <kalyank!> has quit IRC10:29
*** mulhern <mulhern!> has joined #yocto10:36
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC10:37
dguthrieI've put PREFERRED_VERSION_bison-native = "2.3" in the bb file but bitbake is still compiling and installing bison-native-2.7.1???10:38
*** blitz00 <blitz00!stefans@unaffiliated/blitz00> has quit IRC10:38
*** jackmitchell <jackmitchell!~Thunderbi@> has quit IRC10:40
*** melonipoika <melonipoika!> has quit IRC10:41
rburtondguthrie: put it in local.conf or your distro conf, otherwise the setting is specific to the recipe10:42
rburtonie the resolver can't see it10:42
lpapprburton: the tmp issue was noexec...10:42
dguthrierburton: Thanks, that fixed it10:43
*** arky <arky!> has quit IRC10:44
*** arky <arky!> has joined #yocto10:46
*** arky <arky!> has quit IRC10:49
*** arky <arky!> has joined #yocto10:49
*** arky <arky!> has quit IRC10:51
*** arky <arky!> has joined #yocto10:52
*** melonipoika <melonipoika!> has joined #yocto10:56
*** RP <RP!> has quit IRC11:07
*** rburton <rburton!> has quit IRC11:08
*** GusBricker <GusBricker!> has joined #yocto11:08
*** RP <RP!> has joined #yocto11:09
*** ddalex <ddalex!ddalex@nat/intel/x-tdxejjfsmenfvrax> has quit IRC11:15
*** ddalex <ddalex!~ddalex@> has joined #yocto11:15
*** ddalex <ddalex!~ddalex@> has joined #yocto11:16
*** beaver_545_ <beaver_545_!~stuart@> has joined #yocto11:22
*** beaver_545 <beaver_545!~stuart@> has quit IRC11:25
*** GusBricker <GusBricker!> has quit IRC11:30
*** rainerschuster <rainerschuster!> has joined #yocto11:33
*** rainerschuster <rainerschuster!> has left #yocto11:34
*** ddalex <ddalex!~ddalex@> has quit IRC11:36
*** kalyank <kalyank!~kalyan@> has joined #yocto11:40
*** kalyank <kalyank!~kalyan@> has quit IRC11:42
*** rainerschuster <rainerschuster!> has joined #yocto11:45
*** rainerschuster <rainerschuster!> has quit IRC11:49
*** GusBricker <GusBricker!> has joined #yocto11:53
*** arky <arky!> has quit IRC11:56
*** ScriptRipper <ScriptRipper!~ScriptRip@opensuse/member/MartinMohring> has quit IRC11:59
*** belen <belen!~Adium@> has quit IRC12:02
*** belen <belen!Adium@nat/intel/x-honmivcpxpmaumek> has joined #yocto12:05
*** ScriptRipper1 <ScriptRipper1!> has joined #yocto12:11
*** ddalex <ddalex!~ddalex@> has joined #yocto12:17
*** daiane <daiane!> has quit IRC12:20
*** fusman <fusman!~fahad@> has quit IRC12:20
*** rburton <rburton!> has joined #yocto12:26
*** ddalex <ddalex!~ddalex@> has quit IRC12:26
*** GusBricker <GusBricker!> has quit IRC12:27
lpapprburton: so I should not check the bblayers.conf in, inside the build folder, right? When it is needed, it will be automated for every developer checking out the repository if I use the ##COREBASE## properly in the meta-foo/conf/... bblayers sample conf, right?12:31
ndeclpapp: that's right.12:33
ndecthe bblayers typically has hard coded absolute path, so it's not appropriate to check it in.12:33
lpappndec: yes, thanks... I previously used TOPDIR though not to have it absolute. :)12:34
*** ddalex <ddalex!ddalex@nat/intel/x-bkdfaljvzgwjmwlm> has joined #yocto12:36
*** rainerschuster <rainerschuster!> has joined #yocto12:38
lpappinteresting, building core-image-minimal requires more than 10 G B?12:41
lpapp10 GB*12:41
lpapp(ran out of the disk space...)12:41
*** belen <belen!Adium@nat/intel/x-honmivcpxpmaumek> has quit IRC12:41
lpapp12 GB*12:41
rburtonlpapp: compilers and kernels are big.  use rm_work if you have limited space.12:42
lpappah, right, I forgot the rm_work magic in the new checkout...12:43
lpapp# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf12:43
lpapp# changes incompatibly12:43
lpappLCONF_VERSION = "6"12:43
lpapprburton: TEMPLATECONF does not work for me.12:44
lpappit is generating the bblayers based on the yocto stuff.12:44
lpappoh, wait.12:44
lpapprburton: yes, that is correct12:45
lpappthis is my built script: #!/bin/bash12:45
lpapp. oe-init-build-env12:45
lpappbitbake myimage12:45
lpapprburton: should I use TEMPLATECONF slightly differently?12:45
lpapprburton: this is what it generates,
lpapprburton: this is in my sample,
lpapprburton: did I do anything wrong?12:48
lpapprburton: note that, I cannot use OEROOT because it was only added in dora.12:52
*** ScriptRipper1 <ScriptRipper1!> has quit IRC12:54
*** danielki <danielki!~daniel@> has joined #yocto12:58
*** flynn378 <flynn378!80db310e@gateway/web/freenode/ip.> has joined #yocto13:00
* danielki wonders what's the best way to autostart a custom app as non-root user13:06
rburtondanielki: init script doing su?13:07
danielkiok, I'll give that a try13:07
rburtonsystemd can do that for you of course ;)13:07
zeckedanielki: using start-stop-daemon?13:08
danielkiwell, this device isn't using system atm, and think I already spent too much time making it neat :)13:08
lpappI wonder if a switch to systemd is meant to be big.13:08
*** rainerschuster <rainerschuster!> has left #yocto13:08
danielkilpapp: the problem is, I would have to find out13:09
danielkiand I can't rationalize the risk in this case13:09
rburtona proper switch to systemd is invasive13:09
*** ScriptRipper1 <ScriptRipper1!> has joined #yocto13:10
rburtonbecause its best to port your init scripts to units13:10
danielkizecke: thanks, that sounds like a good idea13:10
lpapprburton: is that not straight-forward?13:13
rburtonjust saying, whilst it's initially just a distro feature change, actually taking advantage fully is more work13:14
*** daiane <daiane!> has joined #yocto13:16
*** arky <arky!> has joined #yocto13:16
*** rainerschuster <rainerschuster!> has joined #yocto13:22
*** Zaif <Zaif!> has quit IRC13:26
*** Zaif <Zaif!> has joined #yocto13:26
*** arky <arky!> has quit IRC13:29
*** arky <arky!> has joined #yocto13:29
*** aragua_ <aragua_!> has joined #yocto13:32
*** aragua <aragua!> has quit IRC13:32
*** aragua_ <aragua_!> has quit IRC13:32
*** aragua <aragua!> has joined #yocto13:32
*** SorenHolm <SorenHolm!> has quit IRC13:39
*** dlerner <dlerner!~dlerner@> has joined #yocto13:43
*** rainerschuster <rainerschuster!> has quit IRC13:44
*** sroy_ <sroy_!~sroy@2607:fad8:4:6:6e88:14ff:feff:5374> has joined #yocto13:44
*** jackmitchell <jackmitchell!> has joined #yocto13:53
lpappJaMa: how would you like to see Kevin's name in the change? I do not have any opinion about it, so please give the pattern you would like to see. :)13:53
*** tasslehoff <tasslehoff!~tasslehof@> has quit IRC13:54
*** rainerschuster <rainerschuster!> has joined #yocto13:55
ndecJaMa: denix : i am trying to build QT5 SDK. i am using dora, so i cherry pick the 2 patches from denix, and when i build my image with -c populate_sdk <image> the resulting SDK does not contain nativesdk-qtbase as i would expect.14:00
lpappndec: QT is Quick Time.14:00
ndeci am sure i am missing something obvious.. but i don't see what.14:00
lpappndec: what you are referring to is Qt (Q toolkit)14:00
ndeclpapp: yeah.. it's a bit pedantic, but thanks for the note.14:01
lpappndec: it is somewhat serious if you do not get used to the right project term, branding, etc.14:02
lpappyou may run into other troubles. :)14:02
*** melonipoika <melonipoika!> has quit IRC14:04
lpappJaMa: I am leaning towards replacing base-passwd with a different tool based on that debian would not accept profile based configuration.14:06
lpappit would allow more flexibility... I see at least 3-4 profile scenarios out there now.14:06
danielkiwhat's the proper way to create the home directory of a custom user? do I have to do it at first boot?14:14
lpappdanielki: I would create it before usermod...14:14
danielkiproblem is, the user building the image will not have the rights to create files with arbitrary user ids14:15
lpappalthough, we seem to do it from initscript.14:15
danielkiso it is built in already?14:16
lpappit was just a hack from us.... there must be better solutions. :-)14:16
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC14:17
lpappit would be nice if it was an image configuration thing.14:17
lpapphmm, I am surprised that openembedded and bitbake masters build fine on Archlinux. :-)14:18
lpapprburton: is there an example out there for TEMPLATE_CONF?14:19
lpapprburton: oh, it is working with TEMPLATE_CONF=meta-foo/conf . oe....14:20
lpapp. oe-init-build-env14:21
lpappoh, it was not working from my script because they are on different lines, I think!14:21
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto14:24
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto14:26
lpappdoes the LAYER_CONF_VERSION vs LCONF_VERSION difference deserve a patch?14:29
*** smartin <smartin!~smartin@> has quit IRC14:34
JaMalpapp: from the old patch it looks like Kevin was author of the * part and Scott did the /bin/sh part14:36
JaMalpapp: "by Kevin Tian <>, 2010-07-06" format would be OK I suppose14:37
*** smartin <smartin!~smartin@> has joined #yocto14:39
JaMalpapp: and IIRC you said that "Invalid [configuration]" isn't correct for nobash.patch and I agree that this part should be "Pending" or better "Submitted" if someone cares14:39
*** smartin <smartin!~smartin@> has quit IRC14:44
lpappJaMa: I have just discussed it in #debian-mentors.14:44
*** Garibaldi|work <Garibaldi|work!~andydalt@nat/cisco/x-levwkzmqpwsimipb> has joined #yocto14:45
lpappJaMa: and they would not accept it upstream.14:45
lpappJaMa: they want to have bash as the default, and they do not wanna add configuration.14:45
*** smartin <smartin!~smartin@> has joined #yocto14:45
lpappIMO, a minor profile configuration would be nice for that, but the fact is unfortunate that these patches (i.e. use cases) will not be upstreamed.14:45
lpappJaMa: but in that case, I should put Scott back, too, right?14:46
*** thirtythreeforty <thirtythreeforty!~thirtythr@unaffiliated/gh403> has quit IRC14:46
*** Garibaldi|work <Garibaldi|work!~andydalt@nat/cisco/x-levwkzmqpwsimipb> has quit IRC14:48
JaMaKevin, right?14:48
*** MellissaTheBest_ <MellissaTheBest_!> has joined #yocto14:49
*** zecke <zecke!> has quit IRC14:49
*** smartin <smartin!~smartin@> has quit IRC14:51
*** MellissaTheBest_ <MellissaTheBest_!> has quit IRC14:52
*** smartin <smartin!~smartin@> has joined #yocto14:52
*** MellissaTheBest_ <MellissaTheBest_!> has joined #yocto14:52
*** MellissaTheBest_ <MellissaTheBest_!> has quit IRC14:54
*** kbart <kbart!~KBart@> has quit IRC14:57
*** Garibaldi|work <Garibaldi|work!~andydalt@nat/cisco/x-negrofhseoevsujz> has joined #yocto14:59
*** smartin <smartin!~smartin@> has quit IRC14:59
*** smartin <smartin!~smartin@> has joined #yocto15:00
*** ant_work <ant_work!> has quit IRC15:01
*** arky <arky!> has quit IRC15:01
*** sjolley <sjolley!sjolley@nat/intel/x-amqaadwpvnchxirx> has joined #yocto15:03
*** sjolley1 <sjolley1!~sjolley@> has joined #yocto15:04
*** sjolley <sjolley!sjolley@nat/intel/x-amqaadwpvnchxirx> has quit IRC15:05
*** smartin <smartin!~smartin@> has quit IRC15:06
*** smartin <smartin!~smartin@> has joined #yocto15:07
lpappJaMa: yeah, I just followed you with Scott. :15:07
lpappis it a political decision that yocto does not yet have a forum, or it is just the matter of resource lack?15:07
*** behanw <behanw!> has joined #yocto15:11
*** smartin <smartin!~smartin@> has quit IRC15:11
*** smartin <smartin!~smartin@> has joined #yocto15:13
*** arky <arky!> has joined #yocto15:14
*** daiane <daiane!> has quit IRC15:20
*** smartin <smartin!~smartin@> has quit IRC15:22
*** aragua <aragua!> has quit IRC15:25
*** agust <agust!> has quit IRC15:30
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC15:31
gjohnsonI am trying to override the network interfaces file, I have created a bbappend that adds an extra file path to where my interfaces file is located.  For some reason it isn't finding my interfaces file first.  How do I list the search paths that bitbake is using to find files?15:31
*** bluelightning <bluelightning!> has joined #yocto15:31
*** bluelightning <bluelightning!> has quit IRC15:32
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto15:32
*** agust <agust!> has joined #yocto15:32
danielkigjohnson: you need to prepend it15:32
danielkiFILESEXTRAPATHS_prepend := "${THISDIR}/init-ifupdown-1.0:" works for me15:33
gjohnsondanielki: I did that with FILESEXTRAPATHS_prepend := "${THISDIR}/init-ifupdown:" and it didn't seem to work15:33
*** khem` <khem`!> has joined #yocto15:33
*** GusBricker <GusBricker!> has joined #yocto15:33
danielkigjohnson: you have a directory of that name, with the interfaces file in it?15:34
gjohnsondanielki: I do15:34
danielkistrange; make sure your bbappend is actually picked up15:34
*** smartin <smartin!~smartin@> has joined #yocto15:34
*** zeeblex <zeeblex!~apalalax@> has left #yocto15:35
gjohnsondanielki: I am doing a qemu build, I noticed that in the poky directory qemux86 has its own interfaces file.  Does a machine directory get higher priority when searching?15:35
danielkithat could be15:35
*** Squix <Squix!> has quit IRC15:36
danielkiI'm not that knowledgeable about all this, all I know is that the bbappend works for me. I do not have another interfaces in a machine config though.15:36
*** sameo <sameo!~samuel@> has quit IRC15:37
*** GusBricker <GusBricker!> has quit IRC15:38
gjohnsondanielki:  It appears that a directory based on the machine name takes priority of a general directory15:40
danielkiah, that kinda makes sense15:40
*** zecke <zecke!> has joined #yocto15:42
* danielki wonders if it would be reasonable to list a user's home directory in a /etc/default/volatiles/ file15:42
danielki"This configuration file lists filesystem objects that should get verified during startup and be created if missing." <-- very tempting :)15:43
*** smartin <smartin!~smartin@> has quit IRC15:43
kergothitd be badly overloading something designed for an entirely different purpose15:44
kergothvolatiles is for populating dirs in volatile locations, like ramdisks, to ensure necessarys tructure is there for processes that need to write to those paths15:44
*** khem` <khem`!> has quit IRC15:45
*** khem` <khem`!> has joined #yocto15:45
danielkion the other hand, the purpose is not *that* different15:45
danielkialternatively, I could create the user dir in the same init script which starts the app15:45
*** smartin <smartin!~smartin@> has joined #yocto15:45
kergothadduser doesn't create the homedir based on /etc/skel?15:46
danielkiit does, but we have /home on a separate partition so I had to explicitly disable that for the rootfs build15:47
danielkis/partition/UBI volume/15:47
danielkialso, I'm not sure that would work for arbitrary UIDs anyway, if the user running the build is not allowed to create files with those15:48
kergothah, I see. I suppose one could enhance the rootfs creation process to move the existing content into the other partition15:48
kergoththats not an issue15:48
kergothour builds run under pseudo, which is like fakeroot. in appropriate contexts, software believes we're root, and any permissions/ownership changes are stored in a persistent db, which other processes run in that context will see, including rootfs creation tools15:49
kergothquite handy, that :)15:49
danielkiI wondered how that could work, and suspected something like this -- but good to know :)15:49
kergothbut yeah, you could definitely use volatiles for this to get the job done15:49
danielkiand the UBIFS image creation tools make use of that DB?15:49
kergothit uses LD_PRELOAD to intercept common calls15:50
kergothand hands back its "fake" info instead of the real fs15:50
kergothso yes, transparently15:50
*** SorenHolm <SorenHolm!> has joined #yocto15:50
*** smartin <smartin!~smartin@> has quit IRC15:50
*** smartin <smartin!~smartin@> has joined #yocto15:52
*** smartin <smartin!~smartin@> has quit IRC15:56
*** khem` <khem`!> has quit IRC15:57
*** smartin <smartin!~smartin@> has joined #yocto15:57
*** nitink <nitink!~nitink@> has quit IRC15:59
*** arky <arky!> has quit IRC16:02
*** nitink1 <nitink1!~nitink@> has joined #yocto16:04
danielkikergoth: ah cool16:05
*** smartin <smartin!~smartin@> has quit IRC16:14
*** eballetbo <eballetbo!> has quit IRC16:30
lpappcan opkg support package group installation?16:31
*** Zaif <Zaif!> has quit IRC16:34
*** Zaif <Zaif!> has joined #yocto16:34
*** vicenteolivert <vicenteolivert!57c2b5c3@gateway/web/freenode/ip.> has quit IRC16:36
*** joseppc <joseppc!> has quit IRC17:02
*** ddalex1 <ddalex1!> has joined #yocto17:09
*** florian <florian!~fuchs@Maemo/community/contributor/florian> has quit IRC17:10
*** TuTizz <TuTizz!~TuTizz@unaffiliated/tutizz> has quit IRC17:11
*** Jefro <Jefro!> has joined #yocto17:13
lpappIMAGE_FEATURES += "ssh-server-openssh" -> this does not seem to install the sftp server. I have this in my image recipe. What shall I do to get the sftp server deployed, too?17:13
lpappI would even consider it a bug that it ships this config file: Subsystem       sftp    /usr/lib/openssh/sftp-server17:14
lpappit either should not ship a config line like that, or it should ship the sftp-server by default.17:15
zibrilpapp: you have to install the openssh-sftp-server package, provided by the openssh recipe17:18
lpappzibri: I will file a bugreport.17:18
*** smartin <smartin!~smartin@> has joined #yocto17:18
lpappthanks for the workaround idea.. I would like to have it installed for the image though.17:19
lpappis there a workaround for that, too?17:19
-YoctoAutoBuilder- build #7 of nightly-qa-extras is complete: Success [build successful] Build details are at
lpappjust yet another dependency, maybe?17:19
*** ddalex1 <ddalex1!> has quit IRC17:20
lpappI mean into IMAGE_INSTALL?17:21
zibrijust add to IMAGE_INSTALL somewhere17:21
*** ubik3000 <ubik3000!~cristiani@> has quit IRC17:21
lpappwould it make sense to make it an image feature instead of install?17:21
*** GusBricker <GusBricker!> has joined #yocto17:21
zibrii guess... if you really want to, you could probably add it as an rdepend from a bbappend on packagegroup-core-openssh17:23
*** Jefro <Jefro!> has quit IRC17:24
*** GusBricker <GusBricker!> has quit IRC17:26
*** agust <agust!> has quit IRC17:29
lpappzibri: I am now checking how the big the sftp server is17:29
lpappthat is my only assumption why it would not be added by default... if it is big enough, that is.17:30
lpappzibri: if I add a new image install like this to the image recipe, "bitbake myimage" will get it right?17:30
lpappor I need to clean up something before?17:30
danielkiit will get it right17:31
lpappk, 10x.17:32
lpappah yes, someone told me that image recipes are always re-evaluated unlike package recipes.17:33
*** beaver_545_ <beaver_545_!~stuart@> has quit IRC17:33
*** vicenteolivert <vicenteolivert!57c2b5c3@gateway/web/freenode/ip.> has joined #yocto17:33
lpappupdate-alternatives: Error: cannot register alternative last to /usr/bin/last since it is already registered to /bin/last17:33
*** nitink <nitink!nitink@nat/intel/x-nuabkejcpljphibu> has joined #yocto17:33
lpappupdate-alternatives: Error: cannot register alternative mesg to /usr/bin/mesg since it is already registered to /bin/mesg17:33
lpappupdate-alternatives: Error: cannot register alternative wall to /usr/bin/wall since it is already registered to /bin/wall17:33
lpappgetting this all the time when trying to install anything with opkg when the sysvinit configuration is called from probably some maintainer script.17:34
lpappany idea why?17:34
lpappdanielki: you were also using sysv, right?17:35
*** nitink1 <nitink1!~nitink@> has quit IRC17:35
*** challinan <challinan!> has quit IRC17:36
lpappdanielki: using a flash fs?17:36
danielkiyes, the rootfs is UBIFS17:36
danielkigot the start-stop-daemon solution working btw17:37
lpappdanielki: does reboot sync properly for you? It does not seem to sync properly here on this fs...17:39
danielkiI currently have a problem with an occasional UBI kernel trace, after which it continues to work but hangs on reboot/halt. Other than that, I haven't seen any issues.17:41
lpappstrange.. I am not sure if reboot is supposed to do proper sync for flash filesystems.17:42
danielkiI'm pretty sure it is17:42
danielkiit should umount, which implies sync17:42
*** mr_science <mr_science!~sarnold@gentoo/developer/nerdboy> has joined #yocto17:42
danielkianything else would be crazy17:42
lpappzibri: IMAGE_INSTALL += "openssh-sftp-server" did not help.17:43
lpappdanielki: well, it is crazy.17:43
lpappzibri: still do not have /usr/lib/openssh17:43
lpappzibri: it is either not enough, or my image recipe is wrong for this.17:44
lpappzibri: this is the short image recipe,
*** agust <agust!> has joined #yocto17:45
lpappoh, gosh, nvm, of course I flashed the wrong image...17:47
lpappdanielki: it does not seem to do proper sync for us, neither on jffs2, nor ubifs.17:47
*** seebs <seebs!> has quit IRC17:48
danielkilpapp: you can inspect the populated rootfs in the image's work directory before flashing17:52
*** seebs <seebs!> has joined #yocto17:53
lpappls -ld /usr/lib/openssh/sftp-server17:53
lpapp-rwxr-xr-x    1 root     root         59388 Jan 28 14:33 /usr/lib/openssh/sftp-server17:53
lpappI do not see why such a small sftp server would not be included by default.17:53
lpappwould it have any disadvantage or just go ahead and patch it in oe-core?17:54
*** ScriptRipper1 <ScriptRipper1!> has quit IRC17:54
lpappsftp is necessary for FileZilla and other sftp only applications... :-/17:54
bluelightningsmall for you doesn't mean small for everyone17:54
lpappor even pscp.exe default to sftp these days.17:54
lpappbluelightning: I do not follow, it is 59 KB17:55
lpappcompared to a core image minimal system, it is negligible, probably even compared to openssh.17:55
zibrii'm with lpapp, including sftp in packagegroup-core-openssh, but our targets have lots of flash =).17:56
lpappat the very least, some documentation could have helped, but then again: why generate an sftp enabled config?17:56
lpappzibri: lots of means ?17:56
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto17:57
lpappI have never seen yet a non-functional openssh server with sftp17:57
zibri~256-512M i guess17:57
*** challinan <challinan!> has joined #yocto17:57
lpappsftp seems to be the default and only availability for several apps17:57
lpappit is somewhat ironic that even p_scp_ defaults to sftp, not scp. :-)17:57
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC17:58
*** bluelightning_ is now known as bluelightning17:58
lpappzibri: ok, we have much less than that.17:58
lpappzibri: btw, got a clue for the sysvinit configuration issue?17:59
lpappI cannot install any package with opkg due to that. :-)18:00
zibrinope, haven't looked at it, i haven't seen it myself and we use systemd18:00
*** belen <belen!~Adium@> has joined #yocto18:03
lpappI am very concerned about space as few have only a few megs, but sftp is negligible even for us compared to its usefulness.18:03
lpappunfortunately, several softwares do not support scp at all... so sftp is the "stable" way to handle ssh for us.18:07
*** ScriptRipper1 <ScriptRipper1!> has joined #yocto18:08
lpappzibri: I think you probably meant packagegroup-core-ssh-openssh18:10
*** yzhao2 <yzhao2!~yzhao2@> has quit IRC18:10
*** yzhao2 <yzhao2!~yzhao2@> has joined #yocto18:11
lpappzibri: but if I add it there, the image feature (ssh) will grab this package group underneath, right?18:11
zibrilpapp: yes, that's the one.18:11
*** belen <belen!~Adium@> has quit IRC18:11
zibrilpapp: huh?18:12
lpappzibri: "huh?"?18:12
zibrii didn't understand what you said18:12
lpappzibri: IMAGE_FEATURES += "ssh-server-openssh"18:12
lpappwill that include sftp with patching the group?18:12
lpappI do not know how that feature works underneath.18:12
lpappI would not like to replace that with an explicit group myself if possible.18:12
zibriAh, yes. Have a look at core-image.bbclass, it defines a PACKAGE_GROUP_ssh-server-openssh = "packagegroup-core-ssh-openssh"18:13
*** belen <belen!Adium@nat/intel/x-nxnttvutvtnwcqgt> has joined #yocto18:13
lpappyeah, I did not grep yet.18:14
lpappzibri: I am not sure it deserves its own group with only openssh added.18:14
*** Garibaldi|work <Garibaldi|work!~andydalt@nat/cisco/x-negrofhseoevsujz> has quit IRC18:14
lpappbut it is how it is done now anyway.18:15
lpappzibri: anyway, I will leave it minimal then, although one could argue that it would still be possible to stay minimal just by adding openssh... Instead, I will file a bugreport for an sftp enabled default ssh daemon configuration18:16
lpappsince that at the very least should be sed'd out.18:17
*** gmacario <gmacario!> has quit IRC18:20
*** ScriptRipper1 <ScriptRipper1!> has quit IRC18:20
lpappzibri: thanks for the help.18:24
*** diego_r <diego_r!> has quit IRC18:25
lpappdo_install is not the right way for customizing the subpackage contents, right?18:26
lpappI should use FILES_${PN}-foo/bar/baz or I can do it nicely with do_install, too/18:26
*** ant_home <ant_home!> has joined #yocto18:30
*** ScriptRipper1 <ScriptRipper1!> has joined #yocto18:35
*** rainerschuster <rainerschuster!> has quit IRC18:35
*** khem` <khem`!~khem@> has joined #yocto18:38
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC18:40
*** belen <belen!Adium@nat/intel/x-nxnttvutvtnwcqgt> has quit IRC18:46
*** W1N9Zr0 <W1N9Zr0!> has quit IRC18:48
*** W1N9Zr0 <W1N9Zr0!> has joined #yocto18:48
lpappdanielki: are you also using bootlogd?18:51
lpappdanielki: could you please check18:51
lpappI am not enabling anything like that explicitly, but I get errors from Yocto about it.18:52
lpappI mean a Yocto generated image.18:52
danielkiwell yeah, there is a /etc/init.d/bootlogd18:52
lpappwith sysv... it seems that I would need to enable legacy pts in the kernel, but I wonder if the /var/log/boot.log stuff is useful at all... how it is different from dmesg, etc.18:52
lpappdanielki: do you also have /var/log/boot?18:53
lpappStarting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory18:53
lpappare you getting anything like that during the boot?18:53
* lpapp is just reading this thread,
danielkiI think I have seen that at some point, which would explain why there is no var/log/boot18:54
lpappah, right.18:54
lpappit is useful when your system does not boot properly.18:54
lpappand you wanna inspect the boot log in a subsequent rescue boot.18:55
danielkibootlogd should probably be ported to Unix98 PTYs18:55
danielkiif that message is due to missing kernel support for BSD ptys18:55
lpappI do not know anything bootlogd, nor do I enable it, yet I am getting it when building an image with Yocto.18:56
lpappwhat makes me worry is enabling "legacy" tty.18:58
danielkiyes, legacy pty would be BSD pty18:59
lpapppty, sorry.18:59
danielkithat wasn't meant as a correction :)18:59
lpappthough I thought the boot log would go to the syslog, too.19:00
lpappprobably not as early as that.19:00
lpappright, it is ./meta/recipes-core/sysvinit/sysvinit/bootlogd.init and ./meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb19:02
lpappseems, it is not there for systemd.19:03
*** lpapp <lpapp!~lpapp@kde/lpapp> has quit IRC19:06
*** GusBricker <GusBricker!> has joined #yocto19:10
*** reallife <reallife!> has quit IRC19:12
*** GusBricker <GusBricker!> has quit IRC19:14
*** reallife <reallife!> has joined #yocto19:15
*** danielki <danielki!~daniel@> has quit IRC19:17
khem`michael_e_brown: I have rebased the patches again19:21
khem`python-misc is always catch the rest net19:22
khem`so we might have to package a given lib to python package19:22
*** sjolley1 <sjolley1!~sjolley@> has quit IRC19:23
*** jesson <jesson!> has joined #yocto19:28
*** jesson <jesson!> has quit IRC19:29
*** zeddii <zeddii!~ddez@> has quit IRC19:29
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto19:36
*** lpapp <lpapp!~lpapp@kde/lpapp> has joined #yocto19:39
*** rainerschuster <rainerschuster!> has joined #yocto19:40
*** rainerschuster <rainerschuster!> has left #yocto19:41
*** Jefro <Jefro!> has joined #yocto19:43
*** zeddii <zeddii!~ddez@> has joined #yocto19:46
*** nitink1 <nitink1!nitink@nat/intel/x-tptluicrcpfxrohu> has joined #yocto19:51
khem`michael_e_brown: the new patchset also fixes the runtime error you saw which needed python3-misc to fix now needed bits from misc are packaged properly in core package19:52
*** nitink <nitink!nitink@nat/intel/x-nuabkejcpljphibu> has quit IRC19:53
*** Jefro <Jefro!> has quit IRC19:55
*** abelloni <abelloni!> has quit IRC19:58
*** abelloni <abelloni!> has joined #yocto19:58
*** SorenHolm <SorenHolm!> has quit IRC19:59
*** SorenHolm <SorenHolm!> has joined #yocto20:01
*** SorenHolm <SorenHolm!> has quit IRC20:08
*** SorenHolm <SorenHolm!> has joined #yocto20:10
*** JimBaxter <JimBaxter!> has quit IRC20:12
*** SorenHolm <SorenHolm!> has quit IRC20:17
*** SorenHolm <SorenHolm!> has joined #yocto20:18
*** SorenHolm <SorenHolm!> has joined #yocto20:20
*** Jefro <Jefro!> has joined #yocto20:29
*** khem` <khem`!~khem@> has quit IRC20:32
*** Jefro <Jefro!> has quit IRC20:34
*** mihai <mihai!~mihai@> has quit IRC20:38
*** Jefro <Jefro!> has joined #yocto20:40
*** jcallea <jcallea!> has joined #yocto20:46
*** SorenHolm <SorenHolm!> has quit IRC20:49
*** sroy_ <sroy_!~sroy@2607:fad8:4:6:6e88:14ff:feff:5374> has quit IRC20:50
*** GusBricker <GusBricker!> has joined #yocto20:58
*** sroy_ <sroy_!~sroy@2607:fad8:4:6:6e88:14ff:feff:5374> has joined #yocto21:00
sgw_khem: you around?21:00
*** GusBricker <GusBricker!> has quit IRC21:03
*** SorenHolm <SorenHolm!> has joined #yocto21:04
*** Crofton <Crofton!> has quit IRC21:08
-YoctoAutoBuilder- build #8 of nightly-ppc is complete: Success [build successful] Build details are at
-YoctoAutoBuilder- build #8 of nightly-arm is complete: Success [build successful] Build details are at
*** jcallea <jcallea!> has joined #yocto21:14
*** jcallea <jcallea!> has quit IRC21:29
kergothRP: would be nice to have a datasmart method to get a variable with removals applied, for anonymous python code running before _remove processing, so we don't have to poke into bitbake internals to apply them21:29
-YoctoAutoBuilder- build #8 of nightly-x86-64 is complete: Success [build successful] Build details are at
*** zecke <zecke!> has quit IRC21:44
-YoctoAutoBuilder- build #8 of nightly-x86-lsb is complete: Success [build successful] Build details are at
lpapp"?=" can override "??=" for a variable setting?21:46
lpappor what is the difference between "?=" and "??=" ?21:47
*** Jefro <Jefro!> has quit IRC21:51
*** khem` <khem`!~khem@> has joined #yocto21:54
*** Jefro <Jefro!> has joined #yocto21:55
*** bluelightning <bluelightning!> has joined #yocto22:07
*** bluelightning <bluelightning!> has quit IRC22:07
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto22:07
*** jackmitchell <jackmitchell!> has quit IRC22:17
*** sameo <sameo!~samuel@> has joined #yocto22:20
*** wrotte <wrotte!~textual@> has joined #yocto22:26
*** mihai <mihai!~mihai@> has joined #yocto22:33
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC22:34
wrotteHi folks - query: Let's say my package also builds a bunch of tests (and other files needed for testing).  Is there a commonly accepted "best practice" for installing those tests in the rootfs?  I don't really want them going into /usr/bin, for example.22:38
*** GusBricker <GusBricker!> has joined #yocto22:46
mr_scienceyou mean convention as in OE or FHS or ?22:46
mr_sciencei'd probably stick them under /usr/share/<pkg-name>22:47
mr_sciencethe tlp recipe uses /var/lib/ltp i think22:47
kergothwrotte: ideally you should make them fit into the ptest framework, putting them in the appropriate place for that, but otherwise i'd say ${libdir}/${BPN}/ or similar22:47
kergothdatadir is only appropriate for non-arch-specific scripts and the like, iirc22:47
kergothsee PTEST_PATH and ptest.bbclass if you want to go that route22:47
mr_scienceyeah, ltp is bash22:47
mr_sciencebut they moved themselves anyway a while back...22:48
wrotteThanks mr_science & kergoth22:48
wrotteI'll take a look at ptest22:48
kergothptest is just a convention, there's a place you put stuff, a particular way to run the tests, and a convention for the output, and a ptest-runner is provided to run all ptests, as well as a complementary package install bit so you can install all ptests for all the packages installed in a given image22:49
mr_sciencethat sounds like the way to go, or else just ${libdir}/${BPN}22:50
*** GusBricker <GusBricker!> has quit IRC22:51
*** griznj <griznj!> has joined #yocto22:54
*** challinan <challinan!> has quit IRC22:54
*** SorenHolm <SorenHolm!> has quit IRC22:56
*** SorenHolm <SorenHolm!> has joined #yocto22:58
RPkergoth: agreed, would need some careful naming but I can see the uses for it23:00
*** bfederau <bfederau!> has quit IRC23:01
*** bfederau <bfederau!> has joined #yocto23:01
*** sroy_ <sroy_!~sroy@2607:fad8:4:6:6e88:14ff:feff:5374> has quit IRC23:04
*** griznj <griznj!> has quit IRC23:04
*** SorenHolm <SorenHolm!> has quit IRC23:07
*** khem` <khem`!~khem@> has quit IRC23:11
*** kraj <kraj!> has joined #yocto23:11
*** agust <agust!> has quit IRC23:11
*** SorenHolm <SorenHolm!> has joined #yocto23:12
*** tinti <tinti!~tinti@> has joined #yocto23:16
*** tinti <tinti!~tinti@pdpc/supporter/student/tinti> has joined #yocto23:17
*** kraj is now known as khem`23:17
*** khem` is now known as Guest4152823:17
*** kraj <kraj!~khem@> has joined #yocto23:21
*** Guest41528 <Guest41528!> has quit IRC23:21
*** GusBricker <GusBricker!> has joined #yocto23:22
kergothHmm, it'd be kind of nice to be able to change the default QA problem behavior, for items not listed either in ERROR_QA or WARN_QA. I could see an argument in favor of making unlisted entries, e.g. new QA checks, error by default, for a distro that's more strict about quality. Maybe I'll look into adding a variable to change the default23:28
kergoths/change the default/allow changing the default/23:28
*** ant_home <ant_home!> has quit IRC23:30
*** seebs <seebs!> has quit IRC23:36
*** seebs <seebs!> has joined #yocto23:38
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC23:41
krajkergoth: we can error out on parsing and ask them to be added to either ERROR_QA or WARN_QA23:46
*** kraj is now known as khem`23:46
*** khem` is now known as Guest5012523:47

Generated by 2.11.0 by Marius Gedminas - find it at!