*** Crofton <Crofton!~balister@64-186-172-226.static-ip.telepacific.net> has quit IRC | 00:18 | |
*** ant_home <ant_home!~andrea@host170-253-dynamic.44-79-r.retail.telecomitalia.it> has quit IRC | 00:21 | |
*** davest <davest!~Adium@134.134.137.75> has quit IRC | 00:28 | |
*** adelcast <adelcast!~adelcast@130.164.62.249> has quit IRC | 00:45 | |
*** ftonello <ftonello!~felipe@wsip-70-183-20-162.oc.oc.cox.net> has quit IRC | 01:03 | |
*** zman97211 <zman97211!~zman97211@adsl-75-46-74-117.dsl.ipltin.sbcglobal.net> has joined #yocto | 01:14 | |
zman97211 | I'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!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 01:20 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 01:21 | |
*** Jefro <Jefro!~jefro@50-0-152-82.dedicated.static.sonic.net> has quit IRC | 01:25 | |
zman97211 | The recipe providing the kernel in my image is /home/steve/pi/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_3.12.21.bb | 01:26 |
zman97211 | I 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 |
zman97211 | My fragment is at recipes-kernel/linux/linux-raspberrypi/linux-steve.cfg | 01:28 |
zman97211 | The 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 |
zman97211 | Can anyone help? | 01:28 |
zman97211 | I'm obviously doing something incorrectly. | 01:29 |
zman97211 | Never mind! I was missing an ending quote. | 01:31 |
zman97211 | The parser could provide a better error LOL | 01:32 |
kergoth | agreed | 01:34 |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 01:56 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 01:56 | |
-YoctoAutoBuilder- build #148 of nightly-oecore is complete: Success [build successful] Build details are at http://autobuilder.yoctoproject.org/main/builders/nightly-oecore/builds/148 | 01:59 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 02:06 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 02:06 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 02:16 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 02:16 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 02:49 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 02:50 | |
*** Cyrin <Cyrin!~LCyrin@2607:fb90:1c:9e8f:e059:e1af:9b1b:6f0c> has joined #yocto | 02:52 | |
*** LCyrin <LCyrin!~LCyrin@2607:fb90:1808:1a4e:e190:db4c:5dcc:1db> has quit IRC | 02:54 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 02:59 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 03:00 | |
*** Cyrin <Cyrin!~LCyrin@2607:fb90:1c:9e8f:e059:e1af:9b1b:6f0c> has quit IRC | 03:19 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 03:33 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 03:34 | |
*** mebrown <mebrown!~michael_e@99-23-196-16.lightspeed.austtx.sbcglobal.net> has quit IRC | 04:11 | |
*** mebrown <mebrown!~michael_e@99-23-196-16.lightspeed.austtx.sbcglobal.net> has joined #yocto | 04:11 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 04:19 | |
*** rburton <rburton!~rburton@81.2.106.35> has joined #yocto | 04:24 | |
*** maxtothemax <maxtothemax!maxtothema@nat/intel/x-oeeyquuzsajmjaqh> has quit IRC | 04:26 | |
*** maxtothemax_ <maxtothemax_!~maxtothem@73.180.43.126> has left #yocto | 04:38 | |
*** seebs <seebs!~seebs@home.seebs.net> has quit IRC | 04:50 | |
*** rburton <rburton!~rburton@81.2.106.35> has quit IRC | 04:58 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 04:59 | |
*** jackmitchell <jackmitchell!~Thunderbi@cbnluk-gw0.cambridgebroadband.com> has quit IRC | 05:12 | |
*** davest <davest!~Adium@134.134.139.74> has joined #yocto | 05:15 | |
*** jackmitchell <jackmitchell!~Thunderbi@cbnluk-gw0.cambridgebroadband.com> has joined #yocto | 05:16 | |
*** davest <davest!~Adium@134.134.139.74> has quit IRC | 05:20 | |
*** hyei <hyei!~hyei@c-50-174-78-168.hsd1.ca.comcast.net> has quit IRC | 05:23 | |
*** zecke <zecke!~ich@91-64-81-99-dynip.superkabel.de> has joined #yocto | 05:29 | |
*** hyei <hyei!~hyei@c-50-174-78-168.hsd1.ca.comcast.net> has joined #yocto | 05:33 | |
*** pidge <pidge!~eflanagan@c-24-21-207-18.hsd1.or.comcast.net> has joined #yocto | 05:34 | |
*** agust <agust!~agust@p4FC46F1E.dip0.t-ipconnect.de> has joined #yocto | 05:35 | |
*** adelcast <adelcast!~adelcast@130.164.62.249> has joined #yocto | 05:50 | |
*** adelcast <adelcast!~adelcast@130.164.62.249> has quit IRC | 05:52 | |
*** Crofton <Crofton!~balister@pool-108-44-80-46.ronkva.east.verizon.net> has joined #yocto | 06:23 | |
*** sm_ <sm_!d5e9bc3a@gateway/web/freenode/ip.213.233.188.58> has joined #yocto | 06:30 | |
sm_ | hi.any body here | 06:31 |
sm_ | ? | 06: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 |
zecke | sm_: 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!~seebs@home.seebs.net> has joined #yocto | 06: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/cookerdata.py", line 162, in wrapped return func(fn, *args) File "/home/bitbake_user/Release/poky-dora-10.0.1/bitbake/lib/bb/cookerdata.py", 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/BBHand | 06:46 |
sm_ | include(fn, file, lineno, d, "inherit") File "/home/bitbake_user/Release/poky-dora-10.0.1/bitbake/lib/bb/parse/parse_py/ConfHandler.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/r | 06:47 |
*** demonimin_ <demonimin_!~demonimin@unaffiliated/demonimin> has quit IRC | 06:50 | |
zecke | sm_: use something like pastebin or paste.lisp.org for pasting the full log | 06:51 |
zecke | sm_: well. you have INHERIT += "rpm" in your local.conf? | 06:51 |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 06:52 | |
sm_ | zecke: no, there isn't. | 07:11 |
sm_ | aaaaaaa. YESSSSS | 07:14 |
sm_ | zecke: you're right!!! | 07:14 |
sm_ | zecke: that was the problem :). thank you | 07:14 |
*** andreasw <andreasw!bc3da8be@gateway/web/freenode/ip.188.61.168.190> has joined #yocto | 07:30 | |
*** e8johan <e8johan!~quassel@90-229-157-121-no198.tbcn.telia.com> has joined #yocto | 07:39 | |
*** radzy_away <radzy_away!~radzy@63.140.125.40> has quit IRC | 07:42 | |
*** radzy_away <radzy_away!~radzy@63.140.125.40> has joined #yocto | 07:45 | |
*** radzy_away <radzy_away!~radzy@63.140.125.40> has quit IRC | 08:09 | |
*** zecke <zecke!~ich@91-64-81-99-dynip.superkabel.de> has quit IRC | 08:16 | |
*** yocti <yocti!~supybot@yocto-www.yoctoproject.org> has joined #yocto | 08:20 | |
*** sm_ <sm_!d5e9bc3a@gateway/web/freenode/ip.213.233.188.58> has quit IRC | 08:23 | |
*** radzy_away <radzy_away!~radzy@63.140.125.40> has quit IRC | 08:31 | |
*** bluelightning <bluelightning!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto | 08:35 | |
*** bluelightning <bluelightning!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has quit IRC | 08:35 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 08:35 | |
*** radzy_away <radzy_away!~radzy@63.140.125.40> has joined #yocto | 08:36 | |
*** zecke <zecke!~ich@91-64-81-99-dynip.superkabel.de> has joined #yocto | 08:48 | |
andreasw | Hi, 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 |
andreasw | Is there any way I can get a more verbose error message, or an other way to solve my issue? | 09:17 |
andreasw | boot log: http://pastebin.com/L5L7G4Hc | 09:17 |
andreasw | I already tried to switch from tiny-init to busyboy-based init but the error remains the same | 09:18 |
*** joe_____ <joe_____!joe@pdpc/supporter/active/dzoe> has joined #yocto | 09:41 | |
*** dzoe <dzoe!joe@pdpc/supporter/active/dzoe> has quit IRC | 09:41 | |
*** joe_____ is now known as dzoe | 09:42 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 09:46 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 09:47 | |
*** zecke <zecke!~ich@91-64-81-99-dynip.superkabel.de> has quit IRC | 09:53 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 09:56 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 10:01 | |
*** kroon <kroon!~kroon@89-253-118-72.customers.ownit.se> has joined #yocto | 10:28 | |
*** sm_ <sm_!d5e9bc3a@gateway/web/freenode/ip.213.233.188.58> has joined #yocto | 11:09 | |
zman97211 | Good morning #yocto. :) That is all. | 12:03 |
zman97211 | I 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 |
zman97211 | This 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 |
seezer | zman97211: you can add paths searched by using FILESEXTRAPATH | 12:12 |
zman97211 | Ok. 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 |
seezer | http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-FILESEXTRAPATHS | 12:14 |
zman97211 | Perfect thank you! | 12:14 |
seezer | you can use any variable available through bitbake i guess | 12:14 |
zman97211 | Yes, 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@115.72.145.66> has joined #yocto | 12:31 | |
*** sm_ <sm_!d5e9bc3a@gateway/web/freenode/ip.213.233.188.58> has quit IRC | 12:38 | |
zman97211 | seezer thank you. I got it working. | 12:45 |
*** mulhern <mulhern!~mulhern@50.189.153.218> has joined #yocto | 12:51 | |
seezer | you're welcome | 12:55 |
*** mra2_ <mra2_!~mrannanj@melkinkari.cs.helsinki.fi> has left #yocto | 13:00 | |
zman97211 | I 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 |
zman97211 | When I baked my image, it did run tasks to rebuild the kernel. | 13:49 |
zman97211 | It's like the .bbappend I made triggered the rebuild but had no effect. | 13:50 |
zman97211 | If 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 IRC | 14:14 | |
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto | 14:15 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 14:15 | |
*** mkeeter <mkeeter!~mkeeter@c-50-177-153-242.hsd1.ma.comcast.net> has quit IRC | 14:30 | |
*** mkeeter <mkeeter!~mkeeter@2601:6:b80:5a:14ac:2f92:69a3:48e0> has joined #yocto | 14:31 | |
*** rodgort <rodgort!~rodgort@192.241.198.49> has quit IRC | 15:03 | |
*** pidge <pidge!~eflanagan@c-24-21-207-18.hsd1.or.comcast.net> has quit IRC | 15:04 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 15:15 | |
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto | 15:15 | |
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has quit IRC | 15:15 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 15:15 | |
*** rodgort <rodgort!~rodgort@192.241.198.49> has joined #yocto | 15:20 | |
*** mkeeter <mkeeter!~mkeeter@2601:6:b80:5a:14ac:2f92:69a3:48e0> has quit IRC | 15:45 | |
*** mkeeter <mkeeter!~mkeeter@c-50-177-153-242.hsd1.ma.comcast.net> has joined #yocto | 15:46 | |
*** mkeeter <mkeeter!~mkeeter@c-50-177-153-242.hsd1.ma.comcast.net> has quit IRC | 15:52 | |
*** mkeeter <mkeeter!~mkeeter@c-50-177-153-242.hsd1.ma.comcast.net> has joined #yocto | 15:52 | |
*** mkeeter <mkeeter!~mkeeter@c-50-177-153-242.hsd1.ma.comcast.net> has quit IRC | 15:53 | |
*** mankku <mankku!~mankku@projects.sse.fi> has quit IRC | 16:04 | |
*** e8johan <e8johan!~quassel@90-229-157-121-no198.tbcn.telia.com> has quit IRC | 16:14 | |
*** nitink <nitink!~nitink@134.134.139.76> has quit IRC | 16:24 | |
*** andreasw <andreasw!bc3da8be@gateway/web/freenode/ip.188.61.168.190> has quit IRC | 16:32 | |
*** bluelightning1 <bluelightning1!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto | 16:51 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 16:51 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC | 16:58 | |
*** zarul <zarul!~zarul@ubuntu/member/zarul> has quit IRC | 17:15 | |
*** hyei <hyei!~hyei@c-50-174-78-168.hsd1.ca.comcast.net> has quit IRC | 17:25 | |
*** zarul <zarul!~zarul@ubuntu/member/zarul> has joined #yocto | 17:28 | |
*** pidge <pidge!~eflanagan@c-71-237-194-127.hsd1.or.comcast.net> has joined #yocto | 17:33 | |
*** pidge <pidge!~eflanagan@c-71-237-194-127.hsd1.or.comcast.net> has quit IRC | 17:34 | |
kergoth | zman97211: don't use += for FILESEXTRAPATHS, it's colon separated, not space :) | 17:42 |
kergoth | error | 17:42 |
zman97211 | kergoth: I'll give that a shot. | 17:52 |
kergoth | search for examples. there are plenty around | 17:52 |
zman97211 | This 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 |
zman97211 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 17:54 |
zman97211 | a grep of "meta" shows they all use "=." instead of ":=" | 17:55 |
*** bluelightning1 <bluelightning1!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has quit IRC | 17:56 | |
zman97211 | and without the _prepend | 17:57 |
zman97211 | The manual differs from reality lol | 17:57 |
zman97211 | I 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_!~hyei@c-50-174-78-168.hsd1.ca.comcast.net> has joined #yocto | 17:59 | |
zman97211 | And when I changed my .bbappend to use =. instead of _prepend :=, it can't find my .cfg file again. | 17:59 |
kergoth | which kernel is this? | 18:03 |
kergoth | not all kernels support config fragments | 18:03 |
kergoth | linux-yocto does | 18:03 |
zman97211 | linux-raspberrypi | 18:06 |
zman97211 | from http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/ | 18:08 |
kergoth | if 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 bbappned | 18:15 |
zman97211 | You'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`!~msm@cpe-72-182-100-192.austin.res.rr.com> has joined #yocto | 18:48 | |
*** msm <msm!~msm@cpe-72-182-100-192.austin.res.rr.com> has quit IRC | 18:51 | |
*** zecke <zecke!~ich@46.115.134.89> has joined #yocto | 19:41 | |
*** zman97211 <zman97211!~zman97211@adsl-75-46-74-117.dsl.ipltin.sbcglobal.net> has quit IRC | 19:59 | |
*** zman97211 <zman97211!~zman97211@adsl-75-46-75-124.dsl.ipltin.sbcglobal.net> has joined #yocto | 20:03 | |
*** ScriptRipper <ScriptRipper!~ScriptRip@opensuse/member/MartinMohring> has quit IRC | 20:14 | |
*** ScriptRipper <ScriptRipper!~ScriptRip@opensuse/member/MartinMohring> has joined #yocto | 20:18 | |
*** e8johan <e8johan!~quassel@90-229-157-121-no198.tbcn.telia.com> has joined #yocto | 20:29 | |
*** T0mW <T0mW!~Tom@70.15.161.110.res-cmts.t132.ptd.net> has joined #yocto | 20:43 | |
*** zecke <zecke!~ich@46.115.134.89> has quit IRC | 20:55 | |
*** ArunMKumar <ArunMKumar!~arun@123.201.32.72> has joined #yocto | 21:09 | |
*** e8johan <e8johan!~quassel@90-229-157-121-no198.tbcn.telia.com> has quit IRC | 21:09 | |
*** bluelightning <bluelightning!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto | 21:14 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 21:14 | |
*** bfederau <bfederau!~quassel@service.basyskom.com> has quit IRC | 22:01 | |
*** bfederau <bfederau!~quassel@service.basyskom.com> has joined #yocto | 22:01 | |
*** Crofton <Crofton!~balister@pool-108-44-80-46.ronkva.east.verizon.net> has quit IRC | 22:04 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 22:09 | |
*** agust <agust!~agust@p4FC46F1E.dip0.t-ipconnect.de> has quit IRC | 22:11 | |
*** Crofton <Crofton!~balister@12.199.200.124> has joined #yocto | 22:16 | |
*** ant__ <ant__!~andrea@host170-253-dynamic.44-79-r.retail.telecomitalia.it> has joined #yocto | 22:30 | |
*** davest <davest!Adium@nat/intel/x-djehrakxgashfwsc> has joined #yocto | 22:38 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 22:45 | |
*** cbzx <cbzx!~cbzx@CPE0015f275ebd6-CM00195edd810c.cpe.net.cable.rogers.com> has joined #yocto | 22:58 | |
*** T0mW <T0mW!~Tom@70.15.161.110.res-cmts.t132.ptd.net> has quit IRC | 23:02 | |
*** cbzx <cbzx!~cbzx@CPE0015f275ebd6-CM00195edd810c.cpe.net.cable.rogers.com> has quit IRC | 23:08 | |
*** ccube <ccube!ccube@nx.mindrunner.de> has quit IRC | 23:30 | |
*** ccube <ccube!ccube@nx.mindrunner.de> has joined #yocto | 23:31 | |
*** davest <davest!Adium@nat/intel/x-djehrakxgashfwsc> has quit IRC | 23:34 | |
*** armpit <armpit!~akuster@c-98-239-95-55.hsd1.ca.comcast.net> has quit IRC | 23:37 | |
*** ant__ <ant__!~andrea@host170-253-dynamic.44-79-r.retail.telecomitalia.it> has quit IRC | 23:59 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!