Monday, 2014-11-17

*** khem <khem!> has joined #yocto00:01
*** ancky <ancky!~ancky@2a01:4f8:d12:1d05::2> has quit IRC00:06
*** manuel__ <manuel__!> has joined #yocto00:06
*** JustasMika <JustasMika!3e3d82e9@gateway/web/freenode/ip.> has quit IRC00:07
*** ancky <ancky!~ancky@2a01:4f8:d12:1d05::2> has joined #yocto00:07
*** michael_e_brown_ <michael_e_brown_!> has quit IRC00:10
*** michael_e_brown_ <michael_e_brown_!> has joined #yocto00:10
*** nicktick <nicktick!~john@> has joined #yocto00:40
*** nicktick <nicktick!~john@unaffiliated/nicktick> has joined #yocto00:40
*** neur0Fuzzy_ <neur0Fuzzy_!> has joined #yocto00:47
*** neur0Fuzzy_ <neur0Fuzzy_!> has quit IRC00:49
*** nicktick1 <nicktick1!~john@> has joined #yocto01:24
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC01:25
*** nicktick <nicktick!~john@unaffiliated/nicktick> has quit IRC01:27
*** lyang0 <lyang0!~lyang001@> has joined #yocto01:27
*** nicktick1 is now known as nicktick01:27
*** manuel__ <manuel__!> has quit IRC01:30
*** nicktick1 <nicktick1!~john@> has joined #yocto01:34
*** nicktick <nicktick!~john@> has quit IRC01:38
*** sameo <sameo!~samuel@> has quit IRC01:46
*** wgao <wgao!~wgao@> has joined #yocto02:03
*** nicktick1 <nicktick1!~john@> has quit IRC02:10
*** nicktick <nicktick!~john@unaffiliated/nicktick> has joined #yocto02:19
*** nicktick <nicktick!~john@unaffiliated/nicktick> has quit IRC02:23
*** sarahsharp <sarahsharp!~sarah@> has joined #yocto02:56
*** behanw <behanw!> has joined #yocto03:04
*** nicktick <nicktick!~john@unaffiliated/nicktick> has joined #yocto03:09
*** hramrach_ <hramrach_!~hramrach@gateway/tor-sasl/hramrach> has quit IRC03:10
*** hramrach_ <hramrach_!~hramrach@gateway/tor-sasl/hramrach> has joined #yocto03:24
*** Nilesh_ <Nilesh_!~minda@> has joined #yocto03:26
*** Khufu <Khufu!> has quit IRC04:09
*** Nikhil_D <Nikhil_D!~quassel@nat/ti/x-zbsasgjyjebkpuoz> has joined #yocto04:57
*** Khufu <Khufu!> has joined #yocto04:59
*** michael_e_brown_ <michael_e_brown_!> has quit IRC05:01
*** michael_e_brown_ <michael_e_brown_!> has joined #yocto05:01
*** sarahsharp <sarahsharp!~sarah@> has quit IRC05:13
*** e8johan <e8johan!~quassel@> has joined #yocto05:26
*** AndersD <AndersD!> has joined #yocto05:38
*** thaytan <thaytan!> has quit IRC05:44
*** thaytan <thaytan!> has joined #yocto05:47
*** nicktick1 <nicktick1!~john@> has joined #yocto06:08
*** nicktick <nicktick!~john@unaffiliated/nicktick> has quit IRC06:11
*** nicktick <nicktick!~john@unaffiliated/nicktick> has joined #yocto06:13
*** nicktick1 <nicktick1!~john@> has quit IRC06:14
*** michael_e_brown_ <michael_e_brown_!> has quit IRC06:27
*** michael_e_brown_ <michael_e_brown_!> has joined #yocto06:27
*** AndersD <AndersD!> has left #yocto06:29
*** AndersD <AndersD!> has joined #yocto06:29
*** agust <agust!> has joined #yocto06:36
*** g1zer0 <g1zer0!> has joined #yocto07:00
*** kevin_t <kevin_t!~Thunderbi@> has joined #yocto07:10
*** TuTizz <TuTizz!~TuTizz@> has joined #yocto07:20
*** TuTizz <TuTizz!~TuTizz@unaffiliated/tutizz> has joined #yocto07:20
*** nicktick1 <nicktick1!~john@> has joined #yocto07:33
*** nicktick2 <nicktick2!~john@> has joined #yocto07:35
*** nicktick <nicktick!~john@unaffiliated/nicktick> has quit IRC07:36
*** nicktick1 <nicktick1!~john@> has quit IRC07:38
*** volker_123456 <volker_123456!> has joined #yocto07:39
*** grma <grma!> has joined #yocto07:45
*** adbelhimoun <adbelhimoun!59fb345d@gateway/web/freenode/ip.> has joined #yocto07:47
*** jbrianceau_away <jbrianceau_away!uid10952@gateway/web/> has joined #yocto07:50
*** jbrianceau_away is now known as jbrianceau07:50
adbelhimounGood morning every body. I have got a little problem with yocto daisy. I have a proper image which compil. A day, I needed a sdk for a collegue and used populate_sdk function but now yocto populate a new sdk for each new image compilation. It make time, and it is not needed each time. Every body now how to disabling this function ?07:50
*** jimBaxter <jimBaxter!~jbaxter@> has joined #yocto07:51
*** pohly <pohly!> has joined #yocto07:59
adbelhimounNobody can help me ?08:01
*** mckoan|away is now known as mckoan08:04
mckoangood morning08:04
mckoanadbelhimoun: how did you used populate_sdk?08:05
adbelhimounI used 'bitbake myimage -c populate_sdk' only one time but now, sdk is populating automaticaly each times08:06
mckoanadbelhimoun: I don't think it works that way08:13
*** elmi82 <elmi82!> has joined #yocto08:15
*** jimBaxter <jimBaxter!~jbaxter@> has quit IRC08:17
*** sameo <sameo!~samuel@> has joined #yocto08:27
*** jimBaxter <jimBaxter!~jbaxter@> has joined #yocto08:30
*** adbelhimoun <adbelhimoun!59fb345d@gateway/web/freenode/ip.> has quit IRC08:35
*** jimBaxter <jimBaxter!~jbaxter@> has quit IRC08:39
*** ddalex <ddalex!~ddalex@> has quit IRC08:42
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto08:44
*** shoragan <shoragan!~shoragan@debian/developer/shoragan> has joined #yocto08:45
bluelightningmorning all08:51
mckoanhi bluelightning08:52
bluelightninghi mckoan08:53
*** eballetbo <eballetbo!> has joined #yocto08:54
*** ddalex <ddalex!> has joined #yocto08:57
*** jmpdelos__ <jmpdelos__!> has joined #yocto08:59
*** florian <florian!~fuchs@Maemo/community/contributor/florian> has joined #yocto09:00
*** jmdelos_ <jmdelos_!> has quit IRC09:02
*** fabo_ is now known as fabo09:07
*** ant_work <ant_work!> has joined #yocto09:09
*** JaMa <JaMa!> has joined #yocto09:09
*** nicktick2 <nicktick2!~john@> has quit IRC09:15
*** phantoxe <phantoxe!~destroy@2a02:4780:1:1::1:123c> has joined #yocto09:33
*** frsc <frsc!> has joined #yocto09:34
frscHi! I'm trying to build chromium on yocto for i.MX6 on a VM running 32bit Ubuntu. Although I set up my VM to have 10G of RAM and 10G of swap I get "Memory exhausted" during link of libblink_web.09:37
frscCan someone help? Or is it even possible on a 32bit OS?09:38
frscI even tried the "sharedbuild" PCKCONFIG, but without success.09:38
*** stavrosv1 <stavrosv1!~stavros@> has joined #yocto09:45
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:2ad2:44ff:fe40:9209> has joined #yocto09:48
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:2ad2:44ff:fe40:9209> has quit IRC09:48
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto09:48
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC09:48
*** bluelightning_ is now known as bluelightning09:48
gebreselaisihi guys09:51
gebreselaisianybody had any luck with alsa in qemu?09:51
*** belen <belen!~Adium@> has joined #yocto10:00
stavrosv1hi ppl, I have the following question: I have a recipe which I build from an external source tree using the INHERIT += "externalsrc" and EXTERNALSRC_pn-myrecipe = "path-to-your-source-tree". When I make a change to a file in this source tree and try to rebuild it using `bitbake recipe` it says that does not need to rerun, which I suppose it's because it doesn't detect the change. I have to make `bitbake -ccleanall recipe` in order to build it which rebuild10:19
*** gagi_ <gagi_!> has joined #yocto10:29
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC10:43
*** jackmitchell1 <jackmitchell1!> has quit IRC10:46
*** jackmitchell <jackmitchell!> has joined #yocto10:47
*** dv__ is now known as dv_10:55
Xzstavrosv1: I guess you can try to cheat a little bit and use sth like 'do_fetch[nostamp] = "1"' - thanks to that sources will always be fetched, even when no change happened11:08
*** colrack <colrack!> has joined #yocto11:28
*** kevin_t <kevin_t!~Thunderbi@> has quit IRC11:34
*** kevin_t <kevin_t!~Thunderbi@> has joined #yocto11:37
kimrhhfrsc: new chromium cannot be linked on a 32bit system11:45
kimrhhfrsc: for their own build infra, they change the 32bit builder to use a 64bit toolchain+kernel11:46
kimrhhbloatware :)11:46
kimrhhsee the answer from Lei Zhang11:48
*** blitz00 <blitz00!~stefans@unaffiliated/blitz00> has joined #yocto11:50
*** _dany_ <_dany_!~Thunderbi@> has quit IRC12:00
*** nerdboy <nerdboy!> has quit IRC12:01
*** _dany_ <_dany_!~Thunderbi@> has joined #yocto12:02
stavrosv1Xz: thanks for the suggestion. it worked using `do_compile[nostamp] = "1"`, though I still getting the whole source tree to build. At least I don't need to make `bitbake -ccleanall recipe`.  The rebuild of the whole source tree it might be related to the build files of the recipe. The recipe is for webkit which every build it takes 15 minutes in my machine in every change that I make. I will investigate more on this. Thanks12:03
*** nerdboy <nerdboy!> has joined #yocto12:13
*** _dany_ <_dany_!~Thunderbi@> has quit IRC12:21
*** _dany_ <_dany_!~Thunderbi@> has joined #yocto12:21
*** phantoxe <phantoxe!~destroy@2a02:4780:1:1::1:123c> has quit IRC12:21
*** phantoxe <phantoxe!~destroy@2a02:4780:1:1::1:123c> has joined #yocto12:22
frsckimrhh: Thank you for the info! Is there anything I have to watch out for when I change my OS to a 64bit Ubuntu, copy my current Yocto environment and do a rebuild of my image?12:28
kimrhhdon't ask me about that :)12:29
*** ndec_ is now known as ndec12:32
*** tmpsantos <tmpsantos!~tmpsantos@> has joined #yocto12:34
*** _dany_ <_dany_!~Thunderbi@> has quit IRC12:42
*** _dany_ <_dany_!~Thunderbi@> has joined #yocto12:42
*** macbug <macbug!> has quit IRC12:57
*** tomz1 <tomz1!~trz@> has left #yocto13:01
*** tomz1 <tomz1!~trz@> has joined #yocto13:03
*** Siecje <Siecje!> has joined #yocto13:08
pev_frsc: I'm pretty sure I've done that successfully. However I keep my workspacve drive separate to the OS so effectively reinstalled ubuntu 14.04 64bit with all packages for yocto then rebuilt my working code...13:31
*** tomz1 <tomz1!~trz@> has left #yocto13:34
*** belen1 <belen1!~Adium@> has joined #yocto13:36
*** belen <belen!~Adium@> has quit IRC13:36
*** tomz1 <tomz1!~trz@> has joined #yocto13:37
*** belen1 <belen1!~Adium@> has quit IRC13:38
*** belen <belen!~Adium@> has joined #yocto13:38
*** marka <marka!~marka@> has joined #yocto13:40
*** colrack_ <colrack_!> has joined #yocto13:42
*** belen <belen!~Adium@> has quit IRC13:42
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto13:43
*** macbug <macbug!> has joined #yocto13:44
*** colrack_ <colrack_!> has quit IRC13:44
*** colrack_ <colrack_!> has joined #yocto13:44
*** colrack <colrack!> has quit IRC13:45
*** JustasMika <JustasMika!3e3d82e9@gateway/web/freenode/ip.> has joined #yocto13:45
*** tyno <tyno!> has joined #yocto13:55
frscpev_: Thanks! I'll try.13:57
tynohow i can patch a kernel in a custom image?13:57
T0mWadd the patch file name into the SRC_URI list13:59
T0mWe.g. SRC_URI += "file://halt.c.patch"14:00
*** Nilesh_ <Nilesh_!~minda@> has quit IRC14:01
tynoT0mW: I already put in a  meta-custom/linux/linux-yocto_3.14.bbappend14:02
T0mWtyno: what I do is not bother with patching the kernel as I find the Yocto approach to handling the build of the kernel to be a bit clumsy, I use my own git repository for my customized kernel.14:02
tynoT0mW when I run devshell I can see patch apply but when I build my custom image it is not applyed14:04
tynoT0mW: maybe there is a way to select kernel?14:08
pev_tyno: If you can see it applied in devshell then it is... Have you done some basic tests like putting14:08
pev_#error's in files that should be compiled to test if they are?14:08
tynopev_: Ok I'll do now14:10
*** vdehors <vdehors!> has quit IRC14:10
*** _dany_1 <_dany_1!~Thunderbi@> has joined #yocto14:11
*** _dany_ <_dany_!~Thunderbi@> has quit IRC14:11
* T0mW wishes he can run a devshell14:12
*** e8johan <e8johan!~quassel@> has quit IRC14:12
*** vincent <vincent!~vincent@> has joined #yocto14:12
tynopev_: but patch changes headers and I didn't find headers changed14:13
*** vincent is now known as Guest5133914:13
Crofton|workIf wishes were horses, we'd be eating steak!14:17
T0mWlart Crofton14:18
pev_tyno: Ok, lets start again :-) You said that you could see the patch applied but the headers hadnt changed. Can you say how you knew it had applied if it wasn't applied?14:18
tynopev_:adding a error in kernel source by patch build fails, so why I don't find header changed?14:18
pev_T0mW: How come you can't devshell?14:19
T0mWoe.terminal.spawn(terminal, command, title, None, d)14:20
T0mW'command' is a bash shell function, my opensuse has the shellshock patches in it.14:20
*** rwoolley <rwoolley!~rwoolley@> has joined #yocto14:21
AndersDtyno, Wich headers are unchanged? The installed kernel headers (libc), or the one used to build the kernel?14:22
pev_T0mW: hm, that sucks...14:22
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto14:23
tynopev_: patch  changes kernel include/uapi/linux/can.h14:23
*** manuel__ <manuel__!> has joined #yocto14:24
*** manuel__ <manuel__!> has quit IRC14:31
*** macbug <macbug!> has quit IRC14:33
tynoAndersD: patch  changes include/uapi/linux/can.h but when I look into  sysroot /usr/include/linux/can.h14:33
tynoAndersD: there isn't my changes14:34
pev_tyno: you'd need to manually export the changes I think14:34
pev_sysroot is the libc headers IIRC14:35
pev_tyno: Have a look at the discussion
T0mWThis script,, is that even necessary for the devshell ?14:36
AndersDtyno, just like pev_ says, the headers installed under sysroot/usr/include/linux/* comes from the linux-libc-headers package.14:36
T0mWOr, is that some "maybe someone will need this" type of thing?14:36
tynook many thaks I'll ready now14:36
*** macbug <macbug!> has joined #yocto14:39
T0mWIf I edit 'meta/classes/terminal.bbclass and comment out "command = emit_terminal_func(command, envdata, d)" from emit_terminal_func(), I can get a devshell.14:43
*** dmoseley <dmoseley!> has joined #yocto14:45
T0mWThe shell seems to work just fine without the  BASH_FUNC_mc%%14:45
*** Squt is now known as Sput14:47
*** TobSnyder <TobSnyder!> has joined #yocto15:01
*** diego_r <diego_r!> has joined #yocto15:05
*** ericbutters <ericbutters!~eric@> has joined #yocto15:10
*** frsc_ <frsc_!> has joined #yocto15:10
ericbuttershey.. bitbake can not find a *.pc file, so how to set PKG_CONFIG_PATH additionally?15:10
*** dgm816 <dgm816!~dgm816@unaffiliated/orkim> has quit IRC15:12
*** alimon1 <alimon1!> has joined #yocto15:12
*** dgm816 <dgm816!~dgm816@unaffiliated/orkim> has joined #yocto15:12
*** frsc_ <frsc_!> has quit IRC15:12
*** frsc <frsc!> has quit IRC15:13
*** manuel__ <manuel__!~manuel_@> has joined #yocto15:15
JaMaanyone with nice one-liner to generate "installed-packages" report from
JaMaI'm thinking about using networkx to find reach-able packages, but there should be easier way15:18
*** gvy <gvy!~mike@altlinux/developer/mike> has joined #yocto15:20
*** sjolley <sjolley!~sjolley@> has quit IRC15:24
*** AndersD <AndersD!> has quit IRC15:33
*** kimrhh <kimrhh!~kimrhh@exherbo/developer/kimrhh> has quit IRC15:38
*** kimrhh <kimrhh!~kimrhh@> has joined #yocto15:39
*** phantone <phantone!~destroy@2a02:4780:1:1::1:123c> has joined #yocto15:40
*** phantoxe <phantoxe!~destroy@2a02:4780:1:1::1:123c> has quit IRC15:43
*** kimrhh <kimrhh!~kimrhh@> has quit IRC15:43
*** kimrhh <kimrhh!~kimrhh@> has joined #yocto15:46
erbois there a way to disable sstate cache for a package (or certain tasks of packages)?15:50
*** demonimin_ <demonimin_!~demonimin@2a01:e35:8a2c:b230:bcc9:4808:5ce0:9fb7> has joined #yocto15:50
*** demonimin_ <demonimin_!~demonimin@unaffiliated/demonimin> has joined #yocto15:50
*** armpit <armpit!~akuster@2601:c:9380:601:c00e:30e7:fd8c:8f96> has joined #yocto15:51
*** sjolley <sjolley!~sjolley@> has joined #yocto15:51
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC15:52
*** behanw <behanw!> has quit IRC15:58
tynopev_: so better solution is to add an extra directory with changed linux header15:59
*** g1zer0 <g1zer0!> has quit IRC16:00
tynopev_: and not change /usr/include/linux header16:00
*** Nikhil_D <Nikhil_D!~quassel@nat/ti/x-zbsasgjyjebkpuoz> has quit IRC16:03
kergotherbo: afaik, nope. might be possible with some fiddling, but there's no provided mechanism to do so. why would you want to?16:03
*** jhieber <jhieber!~jhieber@> has joined #yocto16:04
*** sarahsharp <sarahsharp!sarah@nat/intel/x-uhuynseelrtbwlhz> has joined #yocto16:05
*** volker <volker!~volker@unaffiliated/volker-> has quit IRC16:08
*** Nikhil_D <Nikhil_D!~quassel@nat/ti/x-wjvfvuevppdjmlwc> has joined #yocto16:13
pev_tyno: exactly. I've had the same problems here...16:18
*** volker- <volker-!~volker@unaffiliated/volker-> has joined #yocto16:20
*** JustasMika <JustasMika!3e3d82e9@gateway/web/freenode/ip.> has quit IRC16:25
*** elmi82 <elmi82!> has quit IRC16:27
*** AndersD <AndersD!> has joined #yocto16:28
*** AndersD <AndersD!> has quit IRC16:32
*** munch <munch!> has joined #yocto16:33
*** Nikhil_D_ <Nikhil_D_!~quassel@nat/ti/x-owwyoeulbocozozb> has joined #yocto16:35
*** SorenHolm <SorenHolm!> has joined #yocto16:36
*** Nikhil_D <Nikhil_D!~quassel@nat/ti/x-wjvfvuevppdjmlwc> has quit IRC16:38
*** florian <florian!~fuchs@Maemo/community/contributor/florian> has quit IRC16:38
*** hsychla <hsychla!~hsychla@2001:6f8:12d9:13:a4e6:dd47:a3c2:c899> has quit IRC16:49
*** SorenHolm <SorenHolm!> has quit IRC16:52
*** fitzsim` is now known as fitzsim16:54
*** dvhart <dvhart!dvhart@nat/intel/x-kvlrxaozxdqtvdxm> has joined #yocto16:55
*** sarahsharp <sarahsharp!sarah@nat/intel/x-uhuynseelrtbwlhz> has quit IRC16:59
*** SoylentYellow <SoylentYellow!> has joined #yocto17:01
*** sarahsharp <sarahsharp!sarah@nat/intel/x-xriwdtpbvpusvmhc> has joined #yocto17:01
*** blitz00 <blitz00!~stefans@unaffiliated/blitz00> has quit IRC17:04
*** eballetbo <eballetbo!> has quit IRC17:05
*** Nitin <Nitin!~nakamble@> has joined #yocto17:07
*** gorjanc4 <gorjanc4!> has joined #yocto17:10
*** hsychla <hsychla!> has joined #yocto17:12
*** tyno <tyno!> has quit IRC17:13
*** Nikhil_D_ <Nikhil_D_!~quassel@nat/ti/x-owwyoeulbocozozb> has quit IRC17:16
*** zenlinux_ is now known as zenlinux17:18
*** Nikhil_D <Nikhil_D!~quassel@nat/ti/x-mcmjveufvnxnedtq> has joined #yocto17:20
*** ant_work <ant_work!> has quit IRC17:24
*** diego_r <diego_r!> has quit IRC17:40
*** Nikhil_D <Nikhil_D!~quassel@nat/ti/x-mcmjveufvnxnedtq> has quit IRC17:45
*** gvy <gvy!~mike@altlinux/developer/mike> has quit IRC17:50
*** melonipoika <melonipoika!> has joined #yocto17:57
*** sjolley <sjolley!~sjolley@> has quit IRC18:00
*** jbrianceau is now known as jbrianceau_away18:00
*** sarahsharp <sarahsharp!sarah@nat/intel/x-xriwdtpbvpusvmhc> has quit IRC18:02
*** sarahsharp <sarahsharp!~sarah@> has joined #yocto18:04
*** sarahsharp <sarahsharp!~sarah@> has quit IRC18:05
*** dvhart <dvhart!dvhart@nat/intel/x-kvlrxaozxdqtvdxm> has quit IRC18:07
*** kimo_ <kimo_!~kimo@> has quit IRC18:09
*** macbug <macbug!> has quit IRC18:09
*** dvhart <dvhart!dvhart@nat/intel/x-zwxuuefbpsbyuseq> has joined #yocto18:13
*** sarahsharp <sarahsharp!~sarah@> has joined #yocto18:14
*** mckoan is now known as mckoan|away18:16
*** sjolley <sjolley!sjolley@nat/intel/x-bqiyyggbvwwtusen> has joined #yocto18:17
*** sarahsharp <sarahsharp!~sarah@> has quit IRC18:20
*** sarahsharp <sarahsharp!~sarah@> has joined #yocto18:21
*** kimo_ <kimo_!> has joined #yocto18:22
*** phantone <phantone!~destroy@2a02:4780:1:1::1:123c> has quit IRC18:25
*** colrack_ <colrack_!> has quit IRC18:37
*** gorjanc4 <gorjanc4!> has quit IRC18:41
*** smartin_ <smartin_!> has joined #yocto18:49
*** SoylentYellow <SoylentYellow!> has quit IRC18:54
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC18:59
*** sarahsharp <sarahsharp!~sarah@> has quit IRC19:02
*** dvhart <dvhart!dvhart@nat/intel/x-zwxuuefbpsbyuseq> has quit IRC19:03
*** e8johan <e8johan!> has joined #yocto19:05
*** SoylentYellow <SoylentYellow!> has joined #yocto19:06
*** e8johan <e8johan!> has quit IRC19:11
*** sarahsharp <sarahsharp!~sarah@> has joined #yocto19:11
*** dvhart <dvhart!~dvhart@> has joined #yocto19:12
*** dudy_ <dudy_!~dudy@> has quit IRC19:17
*** belen <belen!> has joined #yocto19:17
*** TobSnyder <TobSnyder!> has quit IRC19:22
RzRShould I report a bug to request an upgrade to latest syslinux ?19:34
*** melonipoika <melonipoika!> has quit IRC19:34
RzRcan anyone mentor me , or is it a regular process I can figure out /19:34
*** tomz1 <tomz1!~trz@> has left #yocto19:40
*** tomz1 <tomz1!~trz@> has joined #yocto19:45
RzRand eventually provide patches ;)19:47
*** jimBaxter <jimBaxter!~jbaxter@> has joined #yocto19:47
*** jmd <jmd!> has joined #yocto19:50
jmdI've just inadvertently overwritten /lib/libc.so19:51
jmdHow can I recover ?19:51
*** pohly <pohly!> has quit IRC19:53
RzRon your host I presume ?19:57
RzRdo you have a static busybox ?19:57
jmdNo.  It would seem to be dynamically linked too :(19:58
RzRyou have only < > shell redirectors ?19:58
RzRthat's better than nothing19:59
jmdecho > > <19:59
jmdAnd I have only one shell running.  Once I logout I'm gone forever!19:59
RzRreboot and mount ?19:59
jmdBut if I reboot, nothing will run.  It'll fall over on the first thing that needs libc20:00
* RzR sudo apt-get install busybox-static20:00
RzRi mean poweroff , mount20:01
RzRcp fie20:01
RzRand boot again20:01
jmdNow you've lost me.  How can I mount something when powered off?20:01
*** kimo_ <kimo_!> has quit IRC20:01
RzRboot an other os ?20:01
RzRor pull the hdd out20:02
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC20:02
RzRis your host next to you or down in the cloud ?20:02
jmdIn the cupboard in the next room.20:02
RzRso you're safe20:03
RzRwhat distro is it running ?20:04
*** jackmitchell <jackmitchell!> has quit IRC20:04
jmdActually I'm not sure.20:04
*** jackmitchell <jackmitchell!> has joined #yocto20:05
RzRjmd, cat you type /lib/libc<TAB> ?20:07   libcrypt.so20:07 
RzRjmd, maybe you have other files to link to redirect ?20:07
RzRjmd, ok good20:07
RzRjmd, /lib/ < /lib/
RzRjmd, no ln ?20:08
jmdlib# ln20:09
jmdln: error while loading shared libraries: cannot open shared object file: No such file or directory20:09
RzRjmd, cat ?20:09
RzRjmd, mv ?20:10
RzRcp ?20:10
RzRbash ?20:10
RzRi mean what is your shell ?20:11
RzRecho $SHELL20:11
RzRbash has printf20:11
jmdYes.  Its bash20:11
*** jbrianceau_away <jbrianceau_away!uid10952@gateway/web/> has quit IRC20:11
RzR# rzr@lap:tmp/ # [1] # date > input20:12
RzR# rzr@lap:tmp/ # [0] # printf "%s" < input > output20:12
RzRshould be possible to deal with printf20:12
jmddate requires libc20:13
RzRwe dont care of date20:13
RzRthat was an example20:13
*** kimo_ <kimo_!~kimo@> has joined #yocto20:14
*** Siecje <Siecje!> has left #yocto20:14
jmdWhat will printf "%s" < input > output achieve ?20:14
RzRit copy the file but in text20:14
RzRyou want a binary one20:15
jmdWhen I try it on my laptop, it creates an empty file.20:16
jmdwhich is what I would expect.20:16
fisheyjmd: it's really going to be easiest to copy a file in externally (from another system or a recovery environment)20:17
*** alimon1 <alimon1!> has quit IRC20:18
jmdfishey: Yeah I was afraid that was going to be the case.20:18
fisheyyou can mess with pasting hex encoded data (which is the direction I think RzR is headed), but it's probably not worth it.20:18
RzRfishey, this is less fun20:18
*** colrack <colrack!> has joined #yocto20:20
RzRfishey, do you have eval ?20:20
RzRjmd, ^20:20
jmdI think theres a way to open an arbitrary file with read, but I don't remember how.20:21
RzRyou want to read a binary stream right ?20:23
RzRexec 3<binaryfile20:23
RzRread -N1 -u3 char20:23
fraywhile read foo ; do process_foo ; done < /tmp/foo20:25
*** rwoolley <rwoolley!~rwoolley@> has quit IRC20:25
jmdYeah thats the way.20:25
frayyou want to avoid  cat /tmp/foo | while read ....  because in some shells the pipe opens a new subshell, and any variable changes you make may get lost20:25
jmdAnyway, I'm not sure where that gets me.20:26
*** pohly <pohly!> has joined #yocto20:27
pev_Hm, with busybox are there no options for setting mode/uid/gid on mountpoints? That seems like a bit of an omission?!20:31
kergothfray: oh i hate that pipe subshell behavior, so irritating, if understandable. always makes the shell code slightly more complex20:32
* kergoth grumbles at bitbake20:32
*** pidge <pidge!pidge@nat/intel/x-tbgqdzalnsyvonet> has joined #yocto20:36
*** tmpsantos <tmpsantos!~tmpsantos@> has quit IRC20:43
*** SorenHolm <SorenHolm!> has joined #yocto20:43
RzRjmd, no chmod ?20:44
RzRjmd, I what thinkgint about serializing busybox-static20:44
RzRbut this is no use for you20:44
*** pohly <pohly!> has quit IRC20:45
*** tmpsantos <tmpsantos!~tmpsantos@> has joined #yocto20:45
*** manuel__ <manuel__!~manuel_@> has quit IRC20:45
jmdI think fishey is probably right, I will have to get it reinstalled by someone who knows how.20:49
RzRgiving up ?20:51
jmdI think I've exhaughsted most avenues.20:51
*** manuel_ <manuel_!~manuel_@> has joined #yocto20:55
*** manuel_ <manuel_!~manuel_@> has quit IRC20:57
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto21:00
*** manuel_ <manuel_!~manuel_@> has joined #yocto21:01
*** manuel_ <manuel_!~manuel_@> has quit IRC21:03
fisheyjmd: on a working box with the libc in question: `hexdump -v --format '1 1 "%02x\n"' | xclip -i`21:06
*** colrack <colrack!> has quit IRC21:06
*** colrack_ <colrack_!> has joined #yocto21:06
fisheyjmd: on the dead one: `while read byte; do printf "\x$byte"; done >/lib/`21:07
fisheyand then paste :)21:07
fisheyand press ctrl-d after pasting.21:07
jmdI'll try it21:07
*** ant__ <ant__!> has joined #yocto21:09
jmdNo idea how to paste binary21:10
fisheyjmd: the first command puts the hex encoded file into the clipboard21:10
fisheyor rather, the primary selection21:11
fisheyyou can tweak the xclip flags to put it in the clipboard if that's more convenient for you21:11
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto21:11
fisheypasting binary won't work because it probably has shell escape sequences in it.21:11
*** kscherer <kscherer!~kscherer@> has quit IRC21:12
fishey[which is why the hex encoding is needed]21:12
*** pidge <pidge!pidge@nat/intel/x-tbgqdzalnsyvonet> has quit IRC21:14
jmdMy hexdump must be different to yours21:15
*** Crofton <Crofton!> has quit IRC21:16
RzRuse od21:16
RzRis the one you want to write21:17
RzRnot /lib/
fisheyAnyone know how a python function can fail without throwing an exception? (bitbake)21:19
jmdthen I'll have to find a way to do chmod21:20
jmdOr maybe I should set umask first21:20
*** JaMa <JaMa!> has quit IRC21:20
fisheyRzR: `cat /lib/ | head -n1` => '/* GNU ld script'21:20
fisheydepends on the system21:20
fisheyjmd: libc doesn't need to be executable, you're thinking of /lib/
jmdNah I need to do it to some things in bin I think.21:22
fisheyas long as something still has +x, you can `cat < chmod >thing_to_trash` (or some equiv with a shell builtin) and then run `thing_to_trash`21:23
jmdYeah trying that.21:24
jmdI get the error 'Text file busy'21:24
fisheychoose something else as your sacrifice?21:25
jmdSame with all I've found so far21:25
RzRfishey, he said he rm  libc.so21:26
jmdok found one21:26
RzRhe has
fisheyRzR: ah, I missed that21:27
*** tmpsantos <tmpsantos!~tmpsantos@> has quit IRC21:32
*** clsulliv <clsulliv!clsulliv@nat/intel/x-dsmipzygksqapnhh> has quit IRC21:38
RzR#jmd,   while read -n 1 byte ; do printf "%b" "$byte" ; done < /lib/ > /lib/libc.so21:41
RzRunsure it will help21:41
RzRsince is not supposed to be a lib as fishey suggested21:42
RzRelse just replace content21:43
RzRI have one like21:43
RzRGROUP ( /lib64/ /usr/lib64/libc_nonshared.a  AS_NEEDED ( /lib64/ ) )21:43
fisheyRzR: shouldn't be needed except for development21:48
fisheyWhich Is why I assumed he had the runtime one missing21:48
RzRyea rpath use versionned libs21:48
*** manuel_ <manuel_!~manuel_@> has joined #yocto21:48
RzRi suspect he lost more than that21:48
RzRsince he had the
RzRjmd, how did you lost that file ?21:49
*** tmpsantos <tmpsantos!~tmpsantos@> has joined #yocto21:49
RzRfishey, btw i am new to yocto , is there a process to request a package upgrade ?21:49
RzRfishey, would a wish bug help ?21:49
*** manuel_ <manuel_!~manuel_@> has quit IRC21:49
jmdRzR: Simple - I fucked up.21:50
fisheyRzR: sending a patch to the appropriate repo to the appropriate mailing list with the appropriate header is probably the best way :)21:50
RzRok I prefer trackers to mailing list , so I'll may do both21:51
RzRjmd, just like rm /lib/ ?21:52
RzRjmd, or doing crazy other things ?21:52
jmdNo I untared a tarball which overwrote a lot of stuff in /lib21:53
RzRso you probably cant rely on existing files /lib21:54
RzRin ^21:54
RzRforget my suggestions then21:54
jmdBut using your method I have copied some statically linked binaries to /bin21:55
RzRit is just spearding the nightmare :)21:55
jmdmaybe I'll be able to see what it goind on21:55
*** marka <marka!~marka@> has quit IRC21:55
RzRwhich binaries ?21:55
RzRlet me share my static bustybox21:56
*** colrack_ <colrack_!> has quit IRC21:56
RzRthis way you can have a decent shell21:56
jmdOh I have a static bash already21:56
*** colrack <colrack!> has joined #yocto21:56
*** [Sno] <[Sno]!~Sno]> has quit IRC22:00
*** clsulliv <clsulliv!~clsulliv@> has joined #yocto22:01
*** [Sno] <[Sno]!~Sno]> has joined #yocto22:02
RzRbusy have more command like like netcat22:02
*** colrack <colrack!> has quit IRC22:02
*** colrack <colrack!> has joined #yocto22:02
*** evanp_ <evanp_!~evan@> has quit IRC22:07
*** ddalex <ddalex!> has quit IRC22:10
*** colrack_ <colrack_!> has joined #yocto22:11
*** evanp <evanp!~evan@> has joined #yocto22:11
*** colrack <colrack!> has quit IRC22:14
jmdI thought I restored my libraries now.22:18
jmdBut anything non statically linked returns:  error while loading shared libraries: cannot open shared object file: No such file or directory22:18
jmdI have run ldconfig22:19
jmdWhat else do I need to do?22:19
*** sameo <sameo!~samuel@> has quit IRC22:22
*** SorenHolm <SorenHolm!> has quit IRC22:26
*** ddalex <ddalex!~ddalex@> has joined #yocto22:26
*** rwoolley <rwoolley!> has joined #yocto22:28
*** grma <grma!> has quit IRC22:35
*** Crofton <Crofton!> has joined #yocto22:40
*** bfederau <bfederau!> has quit IRC23:01
*** bfederau <bfederau!> has joined #yocto23:01
*** smartin_ <smartin_!> has quit IRC23:04
*** manuel_ <manuel_!~manuel_@> has joined #yocto23:18
*** manuel_ <manuel_!~manuel_@> has quit IRC23:33
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto23:33
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC23:34
*** dmoseley <dmoseley!> has quit IRC23:38
*** colrack_ <colrack_!> has quit IRC23:49
*** jmd <jmd!> has quit IRC23:51

Generated by 2.11.0 by Marius Gedminas - find it at!