Saturday, 2014-06-21

*** Crofton <Crofton!> has quit IRC00:18
*** ant_home <ant_home!> has quit IRC00:21
*** davest <davest!~Adium@> has quit IRC00:28
*** adelcast <adelcast!~adelcast@> has quit IRC00:45
*** ftonello <ftonello!> has quit IRC01:03
*** zman97211 <zman97211!> has joined #yocto01:14
zman97211I'm looking for assistance setting up my layer to apply a kernel configuration fragment to the meta-raspberrypi's kernel. The Yocto dev manual (section 5.6.2) isn't super clear about this.01:16
*** rburton <rburton!> has quit IRC01:20
*** rburton <rburton!> has joined #yocto01:21
*** Jefro <Jefro!> has quit IRC01:25
zman97211The recipe providing the kernel in my image is /home/steve/pi/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_3.12.21.bb01:26
zman97211I created in my layer recipes-kernel/linux/linux-raspberrypi_3.12.21.bbappend. It has one line, "SRC_URI += "file://linux-steve.cfg"01:27
zman97211My fragment is at recipes-kernel/linux/linux-raspberrypi/linux-steve.cfg01:28
zman97211The bbappend file is not parsing. "ERROR: ParseError at /home/steve/pi/meta-steve/recipes-kernel/linux/linux-raspberrypi_3.12.21.bbappend:1: unparsed line: 'SRC_URI += "file://linux-steve.cfg'"01:28
zman97211Can anyone help?01:28
zman97211I'm obviously doing something incorrectly.01:29
zman97211Never mind! I was missing an ending quote.01:31
zman97211The parser could provide a better error LOL01:32
*** rburton <rburton!> has quit IRC01:56
*** rburton <rburton!> has joined #yocto01:56
-YoctoAutoBuilder- build #148 of nightly-oecore is complete: Success [build successful] Build details are at
*** rburton <rburton!> has quit IRC02:06
*** rburton <rburton!> has joined #yocto02:06
*** rburton <rburton!> has quit IRC02:16
*** rburton <rburton!> has joined #yocto02:16
*** rburton <rburton!> has quit IRC02:49
*** rburton <rburton!> has joined #yocto02:50
*** Cyrin <Cyrin!~LCyrin@2607:fb90:1c:9e8f:e059:e1af:9b1b:6f0c> has joined #yocto02:52
*** LCyrin <LCyrin!~LCyrin@2607:fb90:1808:1a4e:e190:db4c:5dcc:1db> has quit IRC02:54
*** rburton <rburton!> has quit IRC02:59
*** rburton <rburton!> has joined #yocto03:00
*** Cyrin <Cyrin!~LCyrin@2607:fb90:1c:9e8f:e059:e1af:9b1b:6f0c> has quit IRC03:19
*** rburton <rburton!> has quit IRC03:33
*** rburton <rburton!> has joined #yocto03:34
*** mebrown <mebrown!> has quit IRC04:11
*** mebrown <mebrown!> has joined #yocto04:11
*** rburton <rburton!> has quit IRC04:19
*** rburton <rburton!~rburton@> has joined #yocto04:24
*** maxtothemax <maxtothemax!maxtothema@nat/intel/x-oeeyquuzsajmjaqh> has quit IRC04:26
*** maxtothemax_ <maxtothemax_!~maxtothem@> has left #yocto04:38
*** seebs <seebs!> has quit IRC04:50
*** rburton <rburton!~rburton@> has quit IRC04:58
*** rburton <rburton!> has joined #yocto04:59
*** jackmitchell <jackmitchell!> has quit IRC05:12
*** davest <davest!~Adium@> has joined #yocto05:15
*** jackmitchell <jackmitchell!> has joined #yocto05:16
*** davest <davest!~Adium@> has quit IRC05:20
*** hyei <hyei!> has quit IRC05:23
*** zecke <zecke!> has joined #yocto05:29
*** hyei <hyei!> has joined #yocto05:33
*** pidge <pidge!> has joined #yocto05:34
*** agust <agust!> has joined #yocto05:35
*** adelcast <adelcast!~adelcast@> has joined #yocto05:50
*** adelcast <adelcast!~adelcast@> has quit IRC05:52
*** Crofton <Crofton!> has joined #yocto06:23
*** sm_ <sm_!d5e9bc3a@gateway/web/freenode/ip.> has joined #yocto06:30
sm_hi.any body here06:31
sm_I want to run bitbake command in a script. but it has an error... the error is "classes/rpm.bbclass"!!!. In poky-dora release, this class doesn't exist!!!! but it want to inherit from it! & I don't know how to fix this. anybody any solution?06:34
zeckesm_: well, take a look at the entire output. It will tell you _which_ file tried to inherit that. Is this one of your files?06:39
*** seebs <seebs!> has joined #yocto06:43
sm_zecke: thanks for respondig. my error log is:06:46
sm_ERROR: Traceback (most recent call last):   File "/home/bitbake_user/Release/poky-dora-10.0.1/bitbake/lib/bb/", line 162, in wrapped     return func(fn, *args)   File "/home/bitbake_user/Release/poky-dora-10.0.1/bitbake/lib/bb/", line 176, in _inherit     bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)   File "/home/bitbake_user/Release/poky-dora-10.0.1/bitbake/lib/bb/parse/parse_py/BBHand06:46
sm_     include(fn, file, lineno, d, "inherit")   File "/home/bitbake_user/Release/poky-dora-10.0.1/bitbake/lib/bb/parse/parse_py/", line 100, in include     raise ParseError("Could not %(error_out)s file %(fn)s" % vars(), oldfn, lineno) ParseError: ParseError in configuration INHERITs: Could not inherit file classes/rpm.bbclass  ERROR: Unable to parse rpm: ParseError in configuration INHERITs: Could not inherit file classes/r06:47
*** demonimin_ <demonimin_!~demonimin@unaffiliated/demonimin> has quit IRC06:50
zeckesm_: use something like pastebin or for pasting the full log06:51
zeckesm_: well. you have INHERIT += "rpm" in your local.conf?06:51
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto06:52
sm_zecke: no, there isn't.07:11
sm_aaaaaaa. YESSSSS07:14
sm_zecke: you're right!!!07:14
sm_zecke: that was the problem :). thank you07:14
*** andreasw <andreasw!bc3da8be@gateway/web/freenode/ip.> has joined #yocto07:30
*** e8johan <e8johan!> has joined #yocto07:39
*** radzy_away <radzy_away!~radzy@> has quit IRC07:42
*** radzy_away <radzy_away!~radzy@> has joined #yocto07:45
*** radzy_away <radzy_away!~radzy@> has quit IRC08:09
*** zecke <zecke!> has quit IRC08:16
*** yocti <yocti!> has joined #yocto08:20
*** sm_ <sm_!d5e9bc3a@gateway/web/freenode/ip.> has quit IRC08:23
*** radzy_away <radzy_away!~radzy@> has quit IRC08:31
*** bluelightning <bluelightning!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto08:35
*** bluelightning <bluelightning!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has quit IRC08:35
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto08:35
*** radzy_away <radzy_away!~radzy@> has joined #yocto08:36
*** zecke <zecke!> has joined #yocto08:48
andreaswHi, I try to build a small image based on yocto-tiny. However the init process does not start (Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004).09:17
andreaswIs there any way I can get a more verbose error message, or an other way to solve my issue?09:17
andreaswboot log:
andreaswI already tried to switch from tiny-init to busyboy-based init but the error remains the same09:18
*** joe_____ <joe_____!joe@pdpc/supporter/active/dzoe> has joined #yocto09:41
*** dzoe <dzoe!joe@pdpc/supporter/active/dzoe> has quit IRC09:41
*** joe_____ is now known as dzoe09:42
*** rburton <rburton!> has quit IRC09:46
*** rburton <rburton!> has joined #yocto09:47
*** zecke <zecke!> has quit IRC09:53
*** rburton <rburton!> has quit IRC09:56
*** rburton <rburton!> has joined #yocto10:01
*** kroon <kroon!> has joined #yocto10:28
*** sm_ <sm_!d5e9bc3a@gateway/web/freenode/ip.> has joined #yocto11:09
zman97211Good morning #yocto. :)  That is all.12:03
zman97211I created a .bbappend file, and it's being parsed. In that .bbappend I have SRC_URI += "file://linux-steve.cfg"  I get an error that my file isn't found, and the directory it's in is not in the list of paths that were searched. What is the proper way to specify the path, which is in my own little layer?12:11
zman97211This is a new kernel configuration "fragment". (It's actually the whole damn config, which might not work but I don't think I'm that far yet)12:12
seezerzman97211: you can add paths searched by using FILESEXTRAPATH12:12
zman97211Ok. I assume using the += operator to add the path. Is there a list of variables I can use in the path name so it's portable?12:14
zman97211Perfect thank you!12:14
seezeryou can use any variable available through bitbake i guess12:14
zman97211Yes, but there are so many I don't want to get it wrong. That gives an example of relevant ones though. Cool.12:15
*** mitsutaka <mitsutaka!~mitsutaka@> has joined #yocto12:31
*** sm_ <sm_!d5e9bc3a@gateway/web/freenode/ip.> has quit IRC12:38
zman97211seezer thank you. I got it working.12:45
*** mulhern <mulhern!~mulhern@> has joined #yocto12:51
seezeryou're welcome12:55
*** mra2_ <mra2_!> has left #yocto13:00
zman97211I rebuilt my image, and the kernel that was included in /boot did not change, even though I supposedly included a whole new kernel configuration. Can a kernel config fragment be an entire .config file?13:48
zman97211When I baked my image, it did run tasks to rebuild the kernel.13:49
zman97211It's like the .bbappend I made triggered the rebuild but had no effect.13:50
zman97211If a file mentioned in SRC_URI isn't found, is that an error or is it just ignored?13:54
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC14:14
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto14:15
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto14:15
*** mkeeter <mkeeter!> has quit IRC14:30
*** mkeeter <mkeeter!~mkeeter@2601:6:b80:5a:14ac:2f92:69a3:48e0> has joined #yocto14:31
*** rodgort <rodgort!~rodgort@> has quit IRC15:03
*** pidge <pidge!> has quit IRC15:04
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC15:15
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto15:15
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has quit IRC15:15
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto15:15
*** rodgort <rodgort!~rodgort@> has joined #yocto15:20
*** mkeeter <mkeeter!~mkeeter@2601:6:b80:5a:14ac:2f92:69a3:48e0> has quit IRC15:45
*** mkeeter <mkeeter!> has joined #yocto15:46
*** mkeeter <mkeeter!> has quit IRC15:52
*** mkeeter <mkeeter!> has joined #yocto15:52
*** mkeeter <mkeeter!> has quit IRC15:53
*** mankku <mankku!> has quit IRC16:04
*** e8johan <e8johan!> has quit IRC16:14
*** nitink <nitink!~nitink@> has quit IRC16:24
*** andreasw <andreasw!bc3da8be@gateway/web/freenode/ip.> has quit IRC16:32
*** bluelightning1 <bluelightning1!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto16:51
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC16:51
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC16:58
*** zarul <zarul!~zarul@ubuntu/member/zarul> has quit IRC17:15
*** hyei <hyei!> has quit IRC17:25
*** zarul <zarul!~zarul@ubuntu/member/zarul> has joined #yocto17:28
*** pidge <pidge!> has joined #yocto17:33
*** pidge <pidge!> has quit IRC17:34
kergothzman97211: don't use += for FILESEXTRAPATHS, it's colon separated, not space :)17:42
zman97211kergoth: I'll give that a shot.17:52
kergothsearch for examples. there are plenty around17:52
zman97211This is what I have, and it was copy/pasted from the reference manual. I don't think this is the problem, because it's finding my .cfg file, it just doesn't appear to use it.17:54
zman97211FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"17:54
zman97211a grep of "meta" shows they all use "=." instead of ":="17:55
*** bluelightning1 <bluelightning1!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has quit IRC17:56
zman97211and without the _prepend17:57
zman97211The manual differs from reality lol17:57
zman97211I did get a warning about not finding a checksum for my .cfg file. If it doesn't find one, does it not apply it?17:59
*** hyei_ <hyei_!> has joined #yocto17:59
zman97211And when I changed my .bbappend to use =. instead of _prepend :=, it can't find my .cfg file again.17:59
kergothwhich kernel is this?18:03
kergothnot all kernels support config fragments18:03
kergothlinux-yocto does18:03
kergothif it doesn't inherit kernel-yocto, it likely doesn't support kernel config fragments at all. if they use file://defconfig in the SRC_URI for the config, you could override that by putting your own file named defconfig where you put the .cfg, and don't modify SRC_URI at all in your bbappned18:15
zman97211You're saying put my .cfg file in their layer instead of my own, or just pu a defconfig.cfg in the exact same place as my config already is??18:37
*** msm` <msm`!> has joined #yocto18:48
*** msm <msm!> has quit IRC18:51
*** zecke <zecke!~ich@> has joined #yocto19:41
*** zman97211 <zman97211!> has quit IRC19:59
*** zman97211 <zman97211!> has joined #yocto20:03
*** ScriptRipper <ScriptRipper!~ScriptRip@opensuse/member/MartinMohring> has quit IRC20:14
*** ScriptRipper <ScriptRipper!~ScriptRip@opensuse/member/MartinMohring> has joined #yocto20:18
*** e8johan <e8johan!> has joined #yocto20:29
*** T0mW <T0mW!> has joined #yocto20:43
*** zecke <zecke!~ich@> has quit IRC20:55
*** ArunMKumar <ArunMKumar!~arun@> has joined #yocto21:09
*** e8johan <e8johan!> has quit IRC21:09
*** bluelightning <bluelightning!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto21:14
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto21:14
*** bfederau <bfederau!> has quit IRC22:01
*** bfederau <bfederau!> has joined #yocto22:01
*** Crofton <Crofton!> has quit IRC22:04
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC22:09
*** agust <agust!> has quit IRC22:11
*** Crofton <Crofton!~balister@> has joined #yocto22:16
*** ant__ <ant__!> has joined #yocto22:30
*** davest <davest!Adium@nat/intel/x-djehrakxgashfwsc> has joined #yocto22:38
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto22:45
*** cbzx <cbzx!> has joined #yocto22:58
*** T0mW <T0mW!> has quit IRC23:02
*** cbzx <cbzx!> has quit IRC23:08
*** ccube <ccube!> has quit IRC23:30
*** ccube <ccube!> has joined #yocto23:31
*** davest <davest!Adium@nat/intel/x-djehrakxgashfwsc> has quit IRC23:34
*** armpit <armpit!> has quit IRC23:37
*** ant__ <ant__!> has quit IRC23:59

Generated by 2.11.0 by Marius Gedminas - find it at!