Thursday, 2013-03-14

-yocto-ab-bot- build #115 of nightly-fsl-arm-lsb is complete: Success [build successful] Build details are at
*** seebs <seebs!> has quit IRC00:10
*** Jin^eLD is now known as Jin|away00:11
*** seebs <seebs!> has joined #yocto00:11
*** andyross <andyross!> has quit IRC00:14
*** davest1 <davest1!~Adium@> has quit IRC00:31
*** tinti <tinti!~tinti@pdpc/supporter/student/tinti> has quit IRC00:39
*** himamura_ <himamura_!~himamura@> has joined #yocto00:43
*** himamura_ <himamura_!~himamura@> has quit IRC00:45
*** himamura_ <himamura_!~himamura@> has joined #yocto00:45
*** RP2 <RP2!~richard@> has quit IRC00:45
*** scot_ <scot_!> has quit IRC00:49
-yocto-ab-bot- build #285 of p1022ds is complete: Success [build successful] Build details are at
-yocto-ab-bot- build #832 of nightly-ppc is complete: Success [build successful] Build details are at
-yocto-ab-bot- build #294 of crownbay is complete: Failure [failed shell_75] Build details are at
-yocto-ab-bot- build #955 of nightly-x86 is complete: Success [build successful] Build details are at
-yocto-ab-bot- build #881 of nightly-arm is complete: Success [build successful] Build details are at
*** puffin <puffin!> has joined #yocto01:14
*** rogerzhou <rogerzhou!~rogerzhou@> has joined #yocto01:14
*** _julian_ <_julian_!> has joined #yocto01:19
*** _julian <_julian!> has quit IRC01:22
*** nitink <nitink!nitink@nat/intel/x-tnlwohvjlbeofpnn> has quit IRC01:27
*** araujo <araujo!~araujo@gentoo/developer/araujo> has joined #yocto01:48
*** ndec__ <ndec__!~ndec@> has quit IRC01:50
*** ndec <ndec!~ndec@> has joined #yocto01:50
*** JDuke128 <JDuke128!~kadirbaso@> has joined #yocto02:25
*** andyross <andyross!> has joined #yocto02:55
*** htyei <htyei!~hyei@> has joined #yocto03:12
*** htyei is now known as hyei03:13
*** agust1 <agust1!> has joined #yocto03:17
*** agust <agust!> has quit IRC03:18
*** ndec__ <ndec__!~ndec@> has joined #yocto03:42
*** puffin <puffin!> has quit IRC03:43
*** ndec <ndec!~ndec@> has quit IRC03:43
*** abesis-dev <abesis-dev!~abesis@> has quit IRC03:53
*** abesis-dev <abesis-dev!~abesis@> has joined #yocto04:07
*** ka6sox-away is now known as ka6sox04:12
*** zenlinux <zenlinux!> has joined #yocto04:16
*** hyei <hyei!~hyei@> has quit IRC04:21
*** ndec <ndec!~ndec@> has joined #yocto04:21
*** seebs <seebs!> has joined #yocto04:22
*** ndec__ <ndec__!~ndec@> has quit IRC04:23
*** JDuke128 <JDuke128!~kadirbaso@> has quit IRC04:24
*** nitink <nitink!nitink@nat/intel/x-kbqjvughnasiuctf> has joined #yocto04:27
*** himamura_ <himamura_!~himamura@> has quit IRC04:27
*** andyross <andyross!> has quit IRC04:48
*** ndec__ <ndec__!~ndec@> has joined #yocto04:55
*** ndec <ndec!~ndec@> has quit IRC04:57
*** lh <lh!~lhawthor@osuosl/staff/lh> has quit IRC05:07
*** zenlinux <zenlinux!> has quit IRC05:12
*** hollisb <hollisb!> has quit IRC05:20
*** himamura <himamura!~himamura@> has joined #yocto05:43
*** ftonello <ftonello!> has quit IRC06:06
*** himamura_ <himamura_!~himamura@> has joined #yocto06:30
*** himamura <himamura!~himamura@> has quit IRC06:33
*** JaMa <JaMa!> has joined #yocto06:43
*** zecke <zecke!> has joined #yocto06:45
*** tor <tor!> has joined #yocto07:01
*** boost_ <boost_!cbf79598@gateway/web/freenode/ip.> has joined #yocto07:15
boost_how to use if condition in .bb  files07:15
*** plfiorini <plfiorini!> has quit IRC07:27
*** tasslehoff <tasslehoff!> has joined #yocto07:30
*** himamura_ <himamura_!~himamura@> has quit IRC07:38
*** himamura <himamura!~himamura@> has joined #yocto07:39
*** tsjsieb <tsjsieb!~tsjsieb@2001:980:4b3b:1:225:31ff:fe00:ff7a> has joined #yocto07:54
*** agust1 <agust1!> has quit IRC07:54
*** agust <agust!> has joined #yocto07:55
*** Net147 <Net147!> has joined #yocto07:55
*** jbaxter <jbaxter!> has quit IRC07:57
*** ka6sox is now known as ka6sox-away07:57
*** smartin <smartin!> has quit IRC07:59
*** eballetbo <eballetbo!> has joined #yocto08:04
*** rogerzhou <rogerzhou!~rogerzhou@> has quit IRC08:04
*** imolit <imolit!edwardd@nat/axis/x-udteexhmdtwcfffv> has joined #yocto08:19
*** rogerzhou <rogerzhou!~rogerzhou@> has joined #yocto08:23
*** Net147 <Net147!> has quit IRC08:24
*** florian_kc <florian_kc!~fuchs@Maemo/community/contributor/florian> has joined #yocto08:25
*** ant_work <ant_work!> has joined #yocto08:27
*** florian_kc is now known as florian08:30
*** rogerzhou <rogerzhou!~rogerzhou@> has quit IRC08:31
*** phantoxeD <phantoxeD!> has joined #yocto08:35
*** phantoneD <phantoneD!> has quit IRC08:38
*** pirut <pirut!Pirut@nat/intel/x-kigucciqgpzucnyo> has joined #yocto08:43
*** smartin <smartin!> has joined #yocto08:48
*** rogerzhou <rogerzhou!~rogerzhou@> has joined #yocto08:49
*** jmpdelos <jmpdelos!> has quit IRC08:49
*** jmpdelos <jmpdelos!> has joined #yocto08:49
*** elmi82 <elmi82!> has joined #yocto08:56
*** Jin|away is now known as Jin^eLD09:01
*** mihai <mihai!~mihai@> has joined #yocto09:06
*** jmdelos_ <jmdelos_!> has joined #yocto09:14
*** jmpdelos <jmpdelos!> has quit IRC09:14
*** tsjsieb <tsjsieb!~tsjsieb@2001:980:4b3b:1:225:31ff:fe00:ff7a> has left #yocto09:22
*** slaine <slaine!~slaine@> has joined #yocto09:22
*** Net147 <Net147!> has joined #yocto09:27
*** jmdelos_ <jmdelos_!> has quit IRC09:33
*** jbaxter <jbaxter!> has joined #yocto09:34
*** jmpdelos <jmpdelos!> has joined #yocto09:36
*** himamura <himamura!~himamura@> has quit IRC09:37
*** himamura <himamura!~himamura@> has joined #yocto09:39
*** himamura <himamura!~himamura@> has quit IRC09:41
*** mckoan|away is now known as mckoan09:45
mckoangood morning09:45
*** panda84kde <panda84kde!> has joined #yocto10:18
*** rogerzhou <rogerzhou!~rogerzhou@> has quit IRC10:26
*** rogerzhou <rogerzhou!~rogerzhou@> has joined #yocto10:34
*** imolit <imolit!edwardd@nat/axis/x-udteexhmdtwcfffv> has quit IRC10:39
*** Corneliu <Corneliu!c0c6972c@gateway/web/freenode/ip.> has joined #yocto10:40
*** blitz00 <blitz00!~stefans@unaffiliated/blitz00> has joined #yocto10:52
*** imolit <imolit!edwardd@nat/axis/x-mzwdcgwknvmkcnic> has joined #yocto10:52
mcfriskin denzil at least, changing included files does not result in .bb recompilations. Is this fixed in newer yocto releases? Maybe I could cherry-pick the change..11:10
*** ka6sox-away is now known as ka6sox11:40
otavioSomeone has any clue why this fails to build?
otaviomcfrisk: yes it does11:52
otaviomcfrisk: but you can only really use it in upcoming 1.4 (master branch actually)11:52
otaviomcfrisk: danny has initial work for it but it is not complete11:52
*** JDuke128 <JDuke128!~kadirbaso@> has joined #yocto11:56
*** boost_ <boost_!cbf79598@gateway/web/freenode/ip.> has quit IRC11:58
*** joeythesaint <joeythesaint!~jjm@> has joined #yocto12:01
*** vmeson <vmeson!~quassel@> has quit IRC12:03
*** vmeson <vmeson!~quassel@> has joined #yocto12:06
*** kmacleod <kmacleod!> has quit IRC12:10
*** kmacleod <kmacleod!> has joined #yocto12:12
mcfriskotavio: ok, thanks.12:17
*** himamura <himamura!> has joined #yocto12:25
*** scot_ <scot_!> has joined #yocto12:27
*** Corneliu <Corneliu!c0c6972c@gateway/web/freenode/ip.> has quit IRC12:47
*** mthalmei_away is now known as mthalmei13:09
*** andyross <andyross!> has joined #yocto13:10
*** andyross <andyross!> has quit IRC13:12
*** walters <walters!> has joined #yocto13:14
*** mthalmei is now known as mthalmei_away13:16
*** smartin <smartin!> has quit IRC13:22
*** smartin <smartin!> has joined #yocto13:26
*** Net147 <Net147!> has quit IRC13:28
*** tinti <tinti!~tinti@pdpc/supporter/student/tinti> has joined #yocto13:35
*** lh <lh!~lhawthor@> has joined #yocto13:38
*** lh <lh!~lhawthor@osuosl/staff/lh> has joined #yocto13:38
mcfriskhmm, I have image build failures with meta-ti where x-loader binary symlinks are not created by do_deploy from When should the do_deploy run when it has "inherit deploy" and "addtask deploy before do_package after do_install"?13:47
*** puffin <puffin!> has joined #yocto13:48
*** JDuke128 <JDuke128!~kadirbaso@> has quit IRC13:56
*** lh <lh!~lhawthor@osuosl/staff/lh> has quit IRC13:59
*** RP1 <RP1!> has joined #yocto14:03
waynrotavio: looks like the linker couldn't find the correct pthread libraries when building avahi (fails on do_compile: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/avahi/0.6.31-r6.1/temp/log.do_compile.20324)14:07
waynrotavio: looks like the sam problem occurred when building rpm: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/rpm/5.4.9-r61/temp/log.do_compile.135314:07
*** soldoKyn <soldoKyn!> has joined #yocto14:19
waynrlooks like this build succeeded: might be a good place to start looking for problems14:25
soldoKynhi all! i've made a receipe where in do_install() I install a file with: "install -m 0755 swing-app.jar ${D}/${bindir}" and then change ownership with "chown -vR client:client ${D}${bindir}/swing-app.jar "14:25
soldoKynthe log.do_install stats that swing-app.jar changed from root:root to client:client, but in the rootfs is still root:root ownership...I'm doing wrong something?14:25
otaviowaynr: the problem this is not easy to reproduce14:26
otaviowaynr: for example I never been able to reproduce it in my build system14:26
waynrsoldoKyn: in the do_install task you are not yet actually in the rootfs that you are creating so running "chown" will not give you the result you are looking might want to try a post install task which should happen on first boot if i remember correctly14:27
waynrotavio: yeah i am running a similar build for one of my devices that does not fail. are you saying that if you were to re-run this build manually using the same configuration files and for the same actual image it might not fail?14:28
otaviowaynr: yes14:28
waynrotavio: that sounds like it could be a problem where the avahi package does not explicitly depend on eglibc somehow but i'm not sure...if this were true, then sometimes eglibc would finish building before avahi, sometimes not14:29
soldoKynwaynr: ok, I'll search for some documentation about post install features...thank you!14:32
*** tasslehoff <tasslehoff!> has quit IRC14:33
otaviowaynr: the problem is that we do not depends on libc in all packages, and all them work fine14:37
otaviowaynr: so something weird is happening there14:37
otaviowaynr: but I have no clue what14:37
mcfriskotavio: maybe linker script is overwriting CLFAGS?14:38
otaviomcfrisk: maybe; but when it happens sometimes?14:38
*** florian <florian!~fuchs@Maemo/community/contributor/florian> has quit IRC14:38
mcfriskI've seen some bad inhouse code where only some CMakeLists.txt files were overwriting default CFLAGS, and this worked as long as default compiled options were ok. But not when soft/hard float changes came in.14:39
*** ka6sox is now known as ka6sox-away14:55
*** andyross <andyross!> has joined #yocto14:58
*** soldoKyn <soldoKyn!> has quit IRC15:07
*** ynezz <ynezz!> has quit IRC15:14
*** ynezz <ynezz!> has joined #yocto15:14
*** himamura <himamura!> has quit IRC15:16
*** blitz00 <blitz00!~stefans@unaffiliated/blitz00> has quit IRC15:17
mcfriskhow to set a deploy dependency? image creation needs x-load binaries under tmp/deploy/images/ but they are not there after build.15:18
*** sgw1 <sgw1!> has joined #yocto15:27
*** tinti <tinti!~tinti@pdpc/supporter/student/tinti> has quit IRC15:28
*** tinti <tinti!~tinti@pdpc/supporter/student/tinti> has joined #yocto15:30
-yocto-ab-bot- build #278 of meta-intel-gpl is complete: Failure [failed shell_33 shell_47] Build details are at
*** challinan <challinan!~challinan@> has quit IRC15:48
*** eren <eren!~eren@unaffiliated/eren> has joined #yocto15:49
*** slaine <slaine!~slaine@> has quit IRC15:52
*** RP1 <RP1!> has quit IRC15:53
*** challinan <challinan!> has joined #yocto15:54
*** pirut <pirut!Pirut@nat/intel/x-kigucciqgpzucnyo> has quit IRC15:59
*** RP1 <RP1!~richard@> has joined #yocto16:04
*** B4gd3r <B4gd3r!~daniel@> has joined #yocto16:06
*** B4gder <B4gder!~daniel@rockbox/developer/bagder> has quit IRC16:10
*** eballetbo <eballetbo!> has quit IRC16:15
*** honschu_ <honschu_!> has joined #yocto16:17
*** honschu_ <honschu_!~honschu@shackspace/j4fun> has joined #yocto16:17
*** honschu <honschu!~honschu@shackspace/j4fun> has quit IRC16:19
*** ka6sox-away is now known as ka6sox-farfarawa16:20
*** mckoan is now known as mckoan|away16:28
*** sameo <sameo!~samuel@> has joined #yocto16:32
*** ant_work <ant_work!> has quit IRC16:37
*** RP1 <RP1!~richard@> has quit IRC16:38
*** markos_ <markos_!> has quit IRC16:45
*** RP1 <RP1!~richard@> has joined #yocto16:50
*** sameo <sameo!~samuel@> has quit IRC16:52
*** davest <davest!Adium@nat/intel/x-xwqgbrgnhaefkciu> has joined #yocto16:53
*** ftonello <ftonello!> has joined #yocto16:55
*** markos_ <markos_!> has joined #yocto16:59
*** davest <davest!Adium@nat/intel/x-xwqgbrgnhaefkciu> has quit IRC17:01
*** davest <davest!~Adium@> has joined #yocto17:01
*** Jin^eLD is now known as Jin|away17:02
*** phantoxeD <phantoxeD!> has quit IRC17:03
*** phantoxeD <phantoxeD!> has joined #yocto17:04
*** elmi82 <elmi82!> has quit IRC17:08
*** imolit <imolit!edwardd@nat/axis/x-mzwdcgwknvmkcnic> has quit IRC17:16
*** RP1 <RP1!~richard@> has quit IRC17:29
*** davest <davest!~Adium@> has quit IRC17:30
mcfriskhow can "inherit autotools" result in build failures, systemd configure script failing to find working <limits.h>. Are there some autotools dependencies to the build host?17:31
*** sgw1 <sgw1!> has quit IRC17:35
*** sameo <sameo!samuel@nat/intel/x-cimxaqkmticclkii> has joined #yocto17:36
*** sameo <sameo!samuel@nat/intel/x-cimxaqkmticclkii> has quit IRC17:48
*** sgw1 <sgw1!~sgw@> has joined #yocto17:49
*** mihai <mihai!~mihai@> has quit IRC17:50
*** sgw1 <sgw1!~sgw@> has quit IRC17:50
*** sgw1 <sgw1!~sgw@> has joined #yocto17:51
*** panda84kde <panda84kde!> has quit IRC18:06
Crofton|workhalstead, ping18:06
*** RP1 <RP1!> has joined #yocto18:07
-yocto-ab-bot- build #116 of nightly-fsl-arm-lsb is complete: Failure [failed shell_33 shell_36 shell_38 shell_40 shell_42 shell_71 shell_74 shell_76 shell_78 shell_80 shell_109 shell_112 shell_114 shell_116 shell_118] Build details are at
*** plfiorini <plfiorini!> has joined #yocto18:10
*** puffin <puffin!> has quit IRC18:11
*** puffin <puffin!> has joined #yocto18:12
*** puffin_ <puffin_!> has joined #yocto18:14
*** puffin <puffin!> has quit IRC18:14
*** markos_ <markos_!> has quit IRC18:14
*** puffin_ <puffin_!> has quit IRC18:15
*** puffin <puffin!> has joined #yocto18:15
*** puffin_ <puffin_!> has joined #yocto18:16
*** puffin <puffin!> has quit IRC18:16
*** puffin_ <puffin_!> has quit IRC18:17
*** puffin <puffin!> has joined #yocto18:17
*** markos_ <markos_!> has joined #yocto18:26
*** RP1 <RP1!> has quit IRC18:33
*** AndersD <AndersD!> has joined #yocto18:40
otavioHow I can use bitbake -S to dump the signatures of a package?18:43
kergothrun it. then look in the stamps directory18:44
JaMaotavio: maybe you'll find this useful too openembedded-core/scripts/sstate-diff-machines.sh18:45
JaMaI use it to create "backups" if I'm later wondering what invalidated a lot of checksums18:45
*** smartin <smartin!> has quit IRC18:47
*** AndersD <AndersD!> has quit IRC18:48
otavioJaMa: I am checking why avahi is maybe rebuild18:50
otaviobut I fail to see why18:50
otavioJaMa: --tmpdir=tmp --machines="imx53qsb imx6qsabresd" --targets=avahi18:50
otavioJaMa: no output in the end of the processing18:50
JaMaotavio: see tmp/sstate-diff/*timestamp*18:51
otavioJaMa: so this should print it in the end ;-)18:51
JaMapatches welcome :)18:51
*** sameo <sameo!~samuel@> has joined #yocto18:55
*** ndec__ <ndec__!~ndec@> has quit IRC18:58
*** ndec <ndec!~ndec@> has joined #yocto18:58
*** sgw1 <sgw1!~sgw@> has quit IRC19:18
*** sameo <sameo!~samuel@> has quit IRC19:19
*** smartin <smartin!> has joined #yocto19:36
JaMasomething does not like me today, a lot of do_package tasks fails with NameError: global name 'pkgfiles' is not defined, in debian.bbclass and I don't remember updating something which should cause this, anyone else seing those too?19:37
*** sgw1 <sgw1!> has joined #yocto19:46
*** sgw1 <sgw1!> has quit IRC19:53
*** phantoneD <phantoneD!> has joined #yocto20:05
*** sgw1 <sgw1!~sgw@> has joined #yocto20:06
-yocto-ab-bot- build #854 of nightly-mips is complete: Failure [failed shell_39] Build details are at
*** phantoxeD <phantoxeD!> has quit IRC20:09
*** zenlinux <zenlinux!> has joined #yocto20:10
*** RP1 <RP1!> has joined #yocto20:14
*** sgw1 <sgw1!~sgw@> has quit IRC20:17
*** RP1 <RP1!> has quit IRC20:19
*** Jin|away is now known as Jin^eLD20:29
*** cvanvliet <cvanvliet!> has quit IRC20:29
*** lyang01 <lyang01!~lyang001@> has quit IRC20:30
*** lyang0 <lyang0!~lyang001@> has joined #yocto20:31
*** cvanvliet <cvanvliet!> has joined #yocto20:32
*** jbaxter <jbaxter!> has quit IRC20:44
*** russell-- <russell--!> has quit IRC20:48
*** joeythesaint <joeythesaint!~jjm@> has quit IRC20:49
*** sameo <sameo!~samuel@> has joined #yocto20:52
*** seebs <seebs!> has quit IRC20:55
*** puffin <puffin!> has quit IRC20:58
*** sameo <sameo!~samuel@> has quit IRC20:58
*** jbaxter <jbaxter!> has joined #yocto20:59
*** puffin <puffin!> has joined #yocto20:59
*** tor <tor!> has quit IRC21:01
*** puffin <puffin!> has quit IRC21:01
*** puffin <puffin!> has joined #yocto21:01
*** puffin <puffin!> has quit IRC21:02
*** puffin <puffin!> has joined #yocto21:02
*** lyang0 <lyang0!~lyang001@> has quit IRC21:03
*** puffin_ <puffin_!> has joined #yocto21:04
*** lyang0 <lyang0!~lyang001@> has joined #yocto21:05
*** seebs <seebs!> has joined #yocto21:05
*** puffin_ <puffin_!> has quit IRC21:05
*** puffin_ <puffin_!> has joined #yocto21:05
*** puffin <puffin!> has quit IRC21:05
*** puffin <puffin!> has joined #yocto21:06
*** puffin_ <puffin_!> has quit IRC21:06
*** russell-- <russell--!> has joined #yocto21:15
*** russell-- is now known as Guest2022421:15
*** Guest20224 is now known as russell---21:35
*** smartin <smartin!> has quit IRC21:37
*** pidge <pidge!> has joined #yocto21:40
*** davest <davest!~Adium@> has joined #yocto21:43
*** davest <davest!~Adium@> has quit IRC21:49
*** tinti <tinti!~tinti@pdpc/supporter/student/tinti> has quit IRC21:50
waynrso i want to fill out this page:
waynrI have an idea of how to start but first i need to know what hashing algorithm passwd uses by default21:54
waynrI think it might be DES, at least on the image i have built so far21:54
waynrI see in base-passwd-3.5.26 that there is no root password initially21:57
waynrand then if debug-tweaks or whatever is not installed it gets replaced with "*" which leaves the root user inaccessible on first boot21:58
waynri suppose i could just use a post install function for base-passwd that replaces /etc/passwd in the destination dir with a custom one that i create21:59
frayuse a post install function that sed's the passwd file (or shadow) and changes the root PW.. that's what I've done22:00
waynrdoes the hash function used to do this matter?22:01
frayit can..  but what I've done in the past is just cleared it.. booted the taget.. set the pw to something I wanted.. and then captured the result for the sed..22:01
fraya bit of a roundabout way of doing it, but it worked22:01
waynryeah that is what i will do but it seems like it might be better in the long run and for documentation purposes to create a function that does this22:02
frayat one point we had discussed it (on the oe-core list) but I'm not sure if it was ever implemented..22:03
*** zenlinux <zenlinux!> has quit IRC22:03
frayI know adduser/addgroup can be done w/o a sed.. but I don't know about the password change22:03
*** zenlinux <zenlinux!> has joined #yocto22:05
waynri am thinking of a variable, say ROOT_PASSWD, that if present during base-passwd post install will be hashed and sed'd into /etc/passwd22:05
frayshould be fairly easy to implement..... but you should check if the 'passwd' program supports the --root argument.. if it does.. it is -really- easy to implement22:05
frayotherwise, updating passwd is needed so both shadow and non-shadow are easily supported22:06
waynryeah i am logged into the filesystem now and I don't see the "--root" option22:06
*** eren <eren!~eren@unaffiliated/eren> has quit IRC22:07
fraynot in the filesystem.. it's in the shadow-native22:08
frayAdd a --root command option to the following utilties:22:08
fray* useradd22:08
fray* groupadd22:08
fray* usermod22:08
fray* groupmod22:08
fray* userdel22:08
fray* groupdel22:08
fray* passwd22:08
fray* gpasswd22:08
fray* pwconv22:08
fray* pwunconv22:08
fray* grpconv22:08
fray* grpunconv22:08
frayso yes.. passwd and gpasswd are already patched..22:09
frayquestion is what is the right argument set to set the passwd..22:10
fraylooks like:22:10
frayecho <passwd> | passwd --root $D root22:10
frayas a post-install will work22:10
frayI knew we discussed this, just wasn't sure how to do it..22:11
frayoops.. the args are wrong.. try:22:11
frayecho <passwd> | password --root $d --stdin root22:11
kergothah, that's way better than patching passwd/shadow. that'd be nice to have a var that enables that easily22:11
fray(make that -$D)22:11
frayend of the day and apparently I can't type22:12
frayecho <passwd> | password --root $D --stdin root22:12
fraythere that should work as a post-image scirpt22:12
waynrmust be the carpal tunnels22:12
*** sgw1 <sgw1!~sgw@> has joined #yocto22:12
*** kmacleod <kmacleod!> has quit IRC22:13
fray(you can also set group passwords and such in the same way, I think)22:13
*** zecke <zecke!> has quit IRC22:16
*** ant_home <ant_home!> has joined #yocto22:17
*** kmacleod <kmacleod!> has joined #yocto22:24
waynris there a way to specify a function in base-passwd that runs after the full image sysroot has been populated?22:30
*** lh <lh!lhawthor@conference/pycon/x-xftxuxzrtzriceqn> has joined #yocto22:33
*** lh <lh!lhawthor@osuosl/staff/lh> has joined #yocto22:33
waynrfray: i tried running the command you specified from both the do_install which is wrong because $D here does not have etc/passwd but usr/share/base-passwd/passwd.master and base_passwd_sstate_postinst which is wrong because passwd attempts to chroot into the directory specified by '--root'22:33
waynrwhen you said "post-image" script is that what you were referring to? I suppose this does not have to be done from the base-passwd recipe, it could be done from an image22:34
*** puffin <puffin!> has quit IRC22:38
fraysorry.. ya, under do_install it's $IMAGE_ROOTFS  that always trips me up22:41
waynrdo_install for base-passwd?22:41
fraylook at meta/classes/image.bbclass22:42
frayyou should be able to do something like: IMAGE_POSTPROCESS_COMMAND_append = " echo password | password -root ${IMAGE_ROOTFS} --stdin root ;"22:42
fray(may have to be prepend..)22:42
frayBTW that goes in your local.conf file -- or you custom image recipe22:43
frayand not do_install, I -meant- do_rootfs22:43
frayman, I am just not awake today22:43
mranostayfray: WAKE UP!22:44
fraynot working.. :P22:45
mranostaybeen up since 4:30a here..22:45
fraynot here.. drove the kid to school this morning at 7.. went back to bed at 7:30 and woke up late for my 10am meeting..22:46
waynrcool, i think I understand :) maybe22:46
fraybeen in a fog ever since22:46
kergothshouldn't that be a rootfs postprocess, not an image postprocess?22:47
* kergoth yawns22:47
frayHmm.. you may be right..22:47
frayit needs to run against the rootfs before anything else has mangled it..22:47
fray(but after the package post install scripting has run)22:47
frayya.. ROOTFS_POSTPROCESS_COMMAND looks like it'll work22:48
frayya.. he's right.. IMAGE_POSTPROCESS_COMMAND is too late..22:48
*** andyross <andyross!> has quit IRC22:49
*** kmacleod <kmacleod!> has quit IRC22:50
*** RP1 <RP1!~richard@> has joined #yocto22:52
*** kmacleod <kmacleod!> has joined #yocto22:52
kergothI'm pretty sure today is really a Monday in disguise.22:52
mranostaykergoth: every day since i've started working.... :)22:55
kergothis each one worse thaan the one before it?22:57
mranostayoh yea22:57
mranostayso today is the worst day of your life?22:57
*** RP1 <RP1!~richard@> has quit IRC22:58
*** _Lucretia_ <_Lucretia_!~munkee@pdpc/supporter/active/lucretia> has quit IRC23:10
waynr:\ no --stdin option for passwd, the build just hands23:10
waynrback to the drawing board23:11
halsteadCrofton|work, pm?23:13
waynrokay so hashing the contents of $ROOT_PASSWD then conditionally sed the $D/usr/share/base-passwd/passwd.master seems likely...only problem is, will need to use some hashing function available in the sysroot23:14
*** sgw1 <sgw1!~sgw@> has quit IRC23:16
*** andyross <andyross!> has joined #yocto23:17
*** andyross <andyross!> has quit IRC23:25
*** mitz <mitz!> has joined #yocto23:25
kergothwaynr: i'd think it'd be better to just patch the native passwd to allow stdin password input :)23:26
*** andyross <andyross!> has joined #yocto23:27
*** cvanvliet <cvanvliet!> has quit IRC23:28
*** tinti <tinti!~tinti@pdpc/supporter/student/tinti> has joined #yocto23:33
*** andyross <andyross!> has quit IRC23:36
*** jchonig <jchonig!~jch@> has quit IRC23:37
*** andyross <andyross!> has joined #yocto23:37
*** agust <agust!> has quit IRC23:38
waynrkergoth: i just came to that conclusion myself x.x gonna work on it now23:38
*** mitz <mitz!> has quit IRC23:38
*** mitz <mitz!> has joined #yocto23:40
*** andyross <andyross!> has quit IRC23:45
*** andyross <andyross!> has joined #yocto23:51
*** lh <lh!lhawthor@osuosl/staff/lh> has quit IRC23:57

Generated by 2.11.0 by Marius Gedminas - find it at!