**** BEGIN LOGGING AT Mon Aug 20 02:59:59 2012 Aug 20 08:50:07 hi all. Aug 20 08:50:40 morning marc_, all Aug 20 08:50:42 Is there a way that I can change SRC_URI before packaging? Aug 20 08:51:06 well, if you want to change SRC_URI you'd need to do it much earlier than do_package... Aug 20 08:51:25 probably you'd need to do it in an anonymous python function Aug 20 08:51:44 We have a program that needs user:password for svn access and it (the user and password) gets put into the control file of the ipk for the Source Aug 20 08:52:22 I tried, in do_patch_append() { SRC_URI = "new line"} Aug 20 08:52:33 ah, I see... hmm Aug 20 08:52:54 but it doesn't seem to stick Aug 20 08:53:21 was wondering if i need to export SRC_URI Aug 20 08:53:55 probably in this specific instance to avoid it getting into the package, you would do it in do_package_prepend() Aug 20 08:54:24 tried that too Aug 20 09:08:16 marc_: so d.setVar('SRC_URI', '') Aug 20 09:08:27 in python do_package_prepend() {} Aug 20 09:08:31 that didn't work? Aug 20 09:09:05 i didn't try that, I just did SRC_URI = Aug 20 09:09:38 so do_package is a python function, so you need to use the appropriate python code to set the bitbake variable, not a local python var Aug 20 09:09:50 i.e. use d.setVar() Aug 20 09:09:51 i'm still ignorant of how everything actually works :) Aug 20 09:11:03 stupid question: what object is the "d" Aug 20 09:11:35 d is the data dictionary Aug 20 09:11:51 as implemented in lib/bb/data_smart.py Aug 20 09:12:04 well, bitbake/lib/bb/data_smart.py Aug 20 09:12:18 ok, thanks. I'll RTFS the rest Aug 20 09:13:23 are all the do_something() { } blocks python code? do_install looks like bash script. Aug 20 09:13:49 is there a convention to tell the difference or just got to be more familiar with it? Aug 20 09:13:55 most are shell with the exception of do_package and do_patch Aug 20 09:14:05 IIRC Aug 20 09:14:21 you can find most of them defined in meta/classes/base.bbclass Aug 20 09:51:13 anybody an idea about such issue : Downloading file:/data/oe-core/build/tmp-eglibc/deploy/ipk/armv5te/base-passwd_3.5.24-r0_armv5te.ipk. Aug 20 09:51:13 | sh: /tmp/opkg-nr1FAW/base-passwd-McnuZE/preinst: /bin/sh: bad interpreter: Permission denied Aug 20 10:49:17 where do i get a list of bitbake -c commands ? Aug 20 10:49:50 and how do i force oe-core bitbake to reparse all packages Aug 20 10:50:39 rob_w: bitbake -c listtasks Aug 20 10:51:04 or rather, bitbake -c listtasks Aug 20 10:52:01 FYI, you need to mentally remove do_ from items in the list produced to get the appropriate command for -c Aug 20 10:52:16 yes knew that Aug 20 10:52:18 thx Aug 20 10:52:22 ok Aug 20 10:52:27 how bout the dependency tree Aug 20 10:52:52 i added a new recipe / image recipe .. but its not picked up .. how do force it to rescan my layers Aug 20 10:53:08 touch conf/local.conf Aug 20 10:53:38 ah righto .. Aug 20 10:53:44 forgot about that way Aug 20 10:55:46 actually, bitbake will pick up new recipes automatically... so it's not unlikely it is being missed because of some other reason Aug 20 10:56:05 yes .. just found that this layer wasnt in bblayer.conf ;-) Aug 20 10:56:13 right, there's your problem :) Aug 20 10:57:05 fyi .. i do have a issue with meta/recipes-core/base-passwd/base-passwd_3.5.24.bb with that python populate_packages_prepend() Aug 20 10:57:27 the preinst() stuff in there calling /bin/sh is not working for me Aug 20 10:57:56 which i might relate to my LinuxMint13 host .. but only think i i could think of is my host umask .. Aug 20 10:58:37 I saw you mentioning that above, I'm afraid I don't know why you would have that issue... Aug 20 10:58:49 hmm, wait a second Aug 20 10:58:59 you don't have /tmp mounted noexec by any chance? Aug 20 10:59:01 its odd but i commented out that preinst and go from here Aug 20 10:59:18 tmpfs on /tmp type tmpfs (rw,noexec,nosuid,nodev,mode=1777) Aug 20 10:59:26 right, that's probably the cause there Aug 20 10:59:30 wow Aug 20 10:59:38 * rob_w testing Aug 20 11:00:28 maybe we ought to be telling opkg to use a different temp path, it's possibly a bit presumptuous to assume we can just execute things in /tmp Aug 20 11:01:02 my tmp is mounted noexec in ubuntu as well, FWIW Aug 20 11:03:34 confirmed .. Aug 20 11:03:42 remounting without noexec works for me Aug 20 11:04:12 maybe he isnt supposed to work in my /tmp but inside the toolchain rootfs tmp ? Aug 20 11:04:18 and that is fucked here with me ? Aug 20 11:04:39 don't know... I haven't seen this issue here, but I don't always use ipk packaging Aug 20 11:04:57 wow, what else ? Aug 20 11:05:21 tmp is not mounted noexec on my build machine and that's where I do usually do my ipk-based builds, so I wouldn't have seen it there Aug 20 11:05:38 kk Aug 20 11:05:40 rpm is the default in Poky, that's what I use most often Aug 20 11:05:49 ah ok Aug 20 11:14:18 hello Aug 20 11:14:29 anyone own beagleboard ? Aug 20 11:14:32 helloo azert Aug 20 11:14:58 hello Aug 20 11:14:59 anyone own beagleboard ? Aug 20 11:15:09 we heard you the first time .. Aug 20 11:15:17 me not but i have something similar Aug 20 11:16:40 what you got ? Aug 20 11:17:03 i have boards with the same cpu Aug 20 11:17:21 so dm3730 to speak Aug 20 11:17:51 dreambox ? Aug 20 11:18:01 igepv2 and friends Aug 20 11:19:49 ok Aug 20 11:19:57 with what OS you got ? Aug 20 11:20:21 angstrom mainly Aug 20 11:22:53 the processor is it ARM ? Aug 20 11:26:09 yes Aug 20 11:27:04 youtube working ? Aug 20 11:27:36 * rob_w runs to a meeting Aug 20 11:27:46 should i use -r PREFILE or -R POSTFILE to change the TMPDIR when building with bitbake ? i don't know how to override my conf/local.conf Aug 20 11:53:22 when i change the TMPDIR in local.conf to "${TOPDIR}/build/tmp", it is still equal to "${TOPDIR}/tmp-eglibc" Aug 20 11:53:23 any idea ? Aug 20 11:53:52 it looks like eglibc override the TMPDIR without taking care of TMPDIR Aug 20 11:55:30 i could fix that with a symbolic link maybe, but then why define TMPDIR anyway... Aug 20 13:48:16 can i disable the LIC_FILES_CHKSUM check beeing treated as error ? Aug 20 13:50:47 nope Aug 20 13:51:01 well actually Aug 20 13:51:09 you can set LICENSE = "CLOSED" Aug 20 13:51:24 but that's totally the wrong thing to do if that's not what the license actually is Aug 20 13:53:40 agree Aug 20 16:56:29 it is possible that git.openembedded might be unavailable for a bit...upstream provider working on a core router. Aug 20 17:19:33 So, uh Aug 20 17:19:41 oe-core doesn't even try and build for me now Aug 20 17:19:53 consolelog = logging.FileHandler(consolelogfile) Aug 20 17:19:53 IOError: [Errno 2] No such file or directory: '/home/trini/work/OE/openembedded-core/oe-core/build/tmp-eglibc/log/cooker/qemux86/20120820171859.log' Aug 20 17:20:07 And I did a git pull;git reset --hard origin/master;. oe-init-build-env Aug 20 17:20:32 along with a rm -rf build/conf build/tmp* Aug 20 20:36:30 khem, woglinde_: it seems that Berlios was indeed having a problem with their git repos (I asked you about the jamvm repo). I contacted the Berlios team today and they have fixed it. Weird that it went unnoticed for 4 or 5 days, at least. Aug 20 20:36:57 woglinde: ^ Aug 20 20:42:34 okay Aug 20 21:13:57 hi there.. i'm wondering how i build separate packages for the OE system Aug 20 21:14:16 what do i need to do to set up the environment and build for instance the package aiccu? Aug 20 21:14:44 oh, sorry.. wrong channel :() Aug 20 21:14:48 quit Aug 20 21:15:02 sorry, sorry Aug 20 21:20:53 HI All, is there a link on internet to provide the list of the packages supported by OE ? Aug 20 21:47:44 bizhanMona git clone and grep Aug 20 22:43:19 guys, how to add a sym link in a recipe? **** ENDING LOGGING AT Tue Aug 21 02:59:58 2012