Sunday, 2014-03-09

*** swex <swex!~swex@178.17.205.9> has joined #yocto00:07
*** swex <swex!~swex@178.17.205.9> has quit IRC00:14
*** swex <swex!~swex@178.17.205.9> has joined #yocto00:15
*** Kangkai <Kangkai!~kai@58.32.203.134> has joined #yocto00:40
*** br1_21 <br1_21!~br1@host-67-59-24-5.host.ussignalcom.net> has quit IRC00:54
*** sameo <sameo!~samuel@192.55.54.40> has quit IRC01:00
*** swex <swex!~swex@178.17.205.9> has quit IRC01:11
*** swex <swex!~swex@178.17.205.9> has joined #yocto01:13
*** h725 <h725!~pizzaman@PLAID.CYLAB.CMU.EDU> has quit IRC02:22
*** darknighte_ <darknighte_!~darknight@pdpc/supporter/professional/darknighte> has quit IRC02:26
*** swex <swex!~swex@178.17.205.9> has quit IRC03:26
*** swex <swex!~swex@178.17.205.9> has joined #yocto03:27
*** b1gtuna <b1gtuna!~adam@S0106283737430f06.vs.shawcable.net> has joined #yocto03:38
*** pocek_ <pocek_!pock@83.238.156.185> has joined #yocto04:30
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has quit IRC04:35
*** msm <msm!~msm@cpe-173-174-124-130.austin.res.rr.com> has joined #yocto04:44
*** denix0 <denix0!~denix@pool-71-191-205-189.washdc.fios.verizon.net> has joined #yocto05:22
*** swex <swex!~swex@178.17.205.9> has quit IRC05:22
*** akbennett <akbennett!akbennett@ec2-54-225-101-41.compute-1.amazonaws.com> has quit IRC05:22
*** nitink <nitink!~nitink@134.134.139.76> has quit IRC05:24
*** denix <denix!~denix@pool-71-191-205-189.washdc.fios.verizon.net> has quit IRC05:24
*** msm` <msm`!~msm@cpe-173-174-124-130.austin.res.rr.com> has quit IRC05:24
*** pocek <pocek!pock@83.238.156.185> has quit IRC05:24
*** nitink <nitink!~nitink@134.134.139.76> has joined #yocto05:24
*** denix0 is now known as denix05:25
*** Bryanstein <Bryanstein!~Bryanstei@68.67.76.71> has joined #yocto05:25
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has joined #yocto05:25
*** swex <swex!~swex@178.17.205.9> has joined #yocto05:28
*** akbennett <akbennett!akbennett@ec2-54-225-101-41.compute-1.amazonaws.com> has joined #yocto05:30
*** swex <swex!~swex@178.17.205.9> has quit IRC05:39
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has quit IRC05:54
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has joined #yocto06:06
*** darkraider <darkraider!~darkraide@82.146.58.27> has quit IRC06:23
*** behanw <behanw!~behanw@S0106dc9fdb80cffd.gv.shawcable.net> has quit IRC06:31
*** b1gtuna <b1gtuna!~adam@S0106283737430f06.vs.shawcable.net> has quit IRC07:18
*** fabo <fabo!~fabo@linaro/fabo> has quit IRC10:15
*** fabo <fabo!~fabo@linaro/fabo> has joined #yocto10:22
*** frma71 <frma71!uid15941@gateway/web/irccloud.com/x-yxaylnmjbukocjis> has joined #yocto10:32
-YoctoAutoBuilder- build #86 of nightly-fsl-ppc-lsb is complete: Failure [failed BuildImages] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-ppc-lsb/builds/8611:16
-YoctoAutoBuilder- build #102 of nightly-qa-systemd is complete: Failure [failed BuildImages_1 Running Sanity Tests_1] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-qa-systemd/builds/10211:23
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto11:44
*** demonimin_ <demonimin_!~demonimin@unaffiliated/demonimin> has quit IRC11:45
*** smartin_ <smartin_!~smartin@ivr94-4-82-229-165-48.fbx.proxad.net> has joined #yocto12:17
-YoctoAutoBuilder- build #83 of nightly-x86-64-lsb is complete: Failure [failed BuildImages BuildImages_1] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-x86-64-lsb/builds/8312:29
*** Crofton|work <Crofton|work!~balister@71.171.41.155> has quit IRC12:35
*** mulhern <mulhern!~mulhern@50.189.153.218> has joined #yocto12:36
*** Crofton|work <Crofton|work!~balister@pool-71-171-41-155.ronkva.east.verizon.net> has joined #yocto12:36
*** mulhern <mulhern!~mulhern@50.189.153.218> has quit IRC12:38
*** SorenHolm <SorenHolm!~quassel@5634f347.rev.stofanet.dk> has joined #yocto12:39
*** frma71 <frma71!uid15941@gateway/web/irccloud.com/x-yxaylnmjbukocjis> has quit IRC12:41
*** Crofton|work <Crofton|work!~balister@pool-71-171-41-155.ronkva.east.verizon.net> has joined #yocto12:47
-YoctoAutoBuilder- build #81 of minnow-lsb is complete: Failure [failed BuildImages] Build details are at http://autobuilder.yoctoproject.org:8011/builders/minnow-lsb/builds/8112:56
*** sroy <sroy!~sroy@96.127.230.203> has joined #yocto12:56
*** sroy <sroy!~sroy@96.127.230.203> has quit IRC13:10
*** zerus_ <zerus_!~powerpm@81-229-90-163-no67.tbcn.telia.com> has quit IRC13:18
*** SnookEE <SnookEE!~msnook@cpe-72-225-55-197.rochester.res.rr.com> has joined #yocto13:43
*** SorenHolm <SorenHolm!~quassel@5634f347.rev.stofanet.dk> has quit IRC14:20
-YoctoAutoBuilder- build #86 of nightly-ppc is complete: Failure [failed BuildImages_1 Building Toolchain Images Building Toolchain Images_1 Publishing Artifacts] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-ppc/builds/8614:40
-YoctoAutoBuilder- build #85 of nightly-arm is complete: Failure [failed BuildImages_1 Building Toolchain Images Building Toolchain Images_1 Publishing Artifacts] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-arm/builds/8514:42
-YoctoAutoBuilder- build #83 of nightly-ppc-lsb is complete: Failure [failed BuildImages BuildImages_1] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-ppc-lsb/builds/8315:00
*** gmacario <gmacario!~gmacario@2-225-241-33.ip178.fastwebnet.it> has quit IRC15:03
*** b1gtuna <b1gtuna!~adam@S0106283737430f06.vs.shawcable.net> has joined #yocto15:11
-YoctoAutoBuilder- build #87 of nightly-x86-64 is complete: Failure [failed BuildImages_1 Building Toolchain Images Building Toolchain Images_1 Publishing Artifacts] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-x86-64/builds/8715:13
-YoctoAutoBuilder- build #84 of nightly-x86-lsb is complete: Failure [failed BuildImages BuildImages_1] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-x86-lsb/builds/8415:32
-YoctoAutoBuilder- build #83 of nightly-fsl-arm is complete: Failure [failed BuildImages Building Toolchain Images Building Toolchain Images_1 BuildImages_1 BuildImages_2 Publishing Artifacts] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-arm/builds/8315:37
*** br1_21 <br1_21!~br1@host-67-59-24-5.host.ussignalcom.net> has joined #yocto15:39
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto15:44
-YoctoAutoBuilder- build #91 of nightly-arm-lsb is complete: Failure [failed BuildImages BuildImages_1] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-arm-lsb/builds/9115:55
*** RP <RP!~richard@98.158.13.34> has quit IRC15:58
-YoctoAutoBuilder- build #82 of nightly-world is complete: Failure [failed BuildImages] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-world/builds/8216:03
*** RP <RP!~richard@98.158.13.34> has joined #yocto16:09
-YoctoAutoBuilder- build #84 of nightly-x86 is complete: Failure [failed BuildImages Running Sanity Tests BuildImages_1 Building Toolchain Images Building Toolchain Images_1 Publishing Artifacts] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-x86/builds/8416:24
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto16:35
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has quit IRC16:35
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto16:35
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC16:35
*** RP <RP!~richard@98.158.13.34> has joined #yocto16:44
*** b1gtuna <b1gtuna!~adam@S0106283737430f06.vs.shawcable.net> has quit IRC16:46
*** swex <swex!~swex@178.17.205.9> has joined #yocto16:47
*** swex <swex!~swex@178.17.205.9> has quit IRC16:53
*** ccaione <ccaione!~ccaione@unaffiliated/ccaione> has quit IRC16:59
*** ccaione <ccaione!~ccaione@unaffiliated/ccaione> has joined #yocto16:59
*** roric <roric!~roric@121.244.36.2> has quit IRC17:11
*** swex <swex!~swex@178.17.205.9> has joined #yocto17:14
*** MatthieuG <MatthieuG!~bigbowser@2a01:e35:8a71:6c20:e0c2:d67c:5fd1:a4ef> has joined #yocto17:19
*** swex <swex!~swex@178.17.205.9> has quit IRC17:20
-YoctoAutoBuilder- build #82 of nightly-fsl-ppc is complete: Failure [failed BuildImages Building Toolchain Images Building Toolchain Images_1 Publishing Artifacts] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-ppc/builds/8217:32
*** swex <swex!~swex@178.17.205.9> has joined #yocto17:34
*** Jay7x <Jay7x!jay@176.15.149.213> has quit IRC17:41
-YoctoAutoBuilder- build #83 of nightly-mips-lsb is complete: Failure [failed BuildImages BuildImages_1] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-mips-lsb/builds/8317:42
*** swex <swex!~swex@178.17.205.9> has joined #yocto17:45
*** gmacario <gmacario!~gmacario@2-225-241-33.ip178.fastwebnet.it> has joined #yocto17:50
-YoctoAutoBuilder- build #84 of nightly-multilib is complete: Failure [failed BuildImages_4] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-multilib/builds/8417:51
*** Crofton <Crofton!~balister@pool-71-171-41-155.ronkva.east.verizon.net> has quit IRC17:52
*** e8johan <e8johan!~quassel@90-229-157-121-no198.tbcn.telia.com> has joined #yocto17:55
*** dorkhan <dorkhan!~dorkhan@193.106.31.109> has joined #yocto18:03
*** dorkhan <dorkhan!~dorkhan@193.106.31.109> has quit IRC18:04
*** bluelightning1 <bluelightning1!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto18:13
*** bluelightning1 is now known as bluelightning18:13
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto18:13
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC18:14
*** e8johan <e8johan!~quassel@90-229-157-121-no198.tbcn.telia.com> has quit IRC18:26
*** behanw <behanw!~behanw@S0106dc9fdb80cffd.gv.shawcable.net> has joined #yocto18:46
*** SorenHolm <SorenHolm!~quassel@5634f347.rev.stofanet.dk> has joined #yocto18:50
*** MatthieuG <MatthieuG!~bigbowser@2a01:e35:8a71:6c20:e0c2:d67c:5fd1:a4ef> has quit IRC19:05
*** Jin|away is now known as Jin^eLD19:23
Jin^eLDhi19:23
Jin^eLDhow does yocto decide what postinst scripts should be run on target during first boot and which ones are run during image generation?19:23
Jin^eLDI have a couple of recipes where I would require that the postinst hooks are run during first boot19:25
nerdboyyour own recipes, or existing ones?19:25
Jin^eLDmy own19:25
Jin^eLDI'm migrating from 1.5 year old angstrom to latest yocto dora and I noticed that it now tries to do as much postinsts as possible during image generation as opposed to how it was, where it ran them all on the target19:26
nerdboythe your package_postinst should use $D19:26
Jin^eLDas in if [ "x$D" != "x" ]; then exit 0; fi ?19:27
Jin^eLDor how exactly?19:27
nerdboywithout the "if" should force it to run in the image rootfs19:28
Jin^eLDhm? I think I do not fully understand you..19:28
Jin^eLDyou mean the presence of "$D" as such will already tell it to run it from the rootfs?19:28
nerdboyone sec19:29
*** swex <swex!~swex@178.17.205.9> has quit IRC19:31
*** RP <RP!~richard@98.158.13.34> has quit IRC19:32
nerdboythe postinst/postrm functions become a shell script on the target19:33
Jin^eLDyes, I know that19:33
nerdboyso "if test "x$D" != "x"; then exit 1" makes the "else" run on target19:34
Jin^eLDah, cool, thanks, so I should just exit 1 on the host19:34
-YoctoAutoBuilder- build #87 of nightly-fsl-arm-lsb is complete: Failure [failed BuildImages BuildImages_1 BuildImages_2] Build details are at http://autobuilder.yoctoproject.org:8011/builders/nightly-fsl-arm-lsb/builds/8719:35
nerdboywithout any else and $D set it should only run during the build since it gets marked as "installed"19:36
Jin^eLDok I get it, the exit 1 was the key19:36
*** behanw <behanw!~behanw@S0106dc9fdb80cffd.gv.shawcable.net> has quit IRC19:40
bluelightningJin^eLD: it tries to run all, the ones that fail during do_rootfs on the host are deferred to first boot19:53
*** zarul <zarul!~zarul@ubuntu/member/zarul> has quit IRC19:53
*** zarul <zarul!~zarul@ubuntu/member/zarul> has joined #yocto19:54
Jin^eLDthx19:54
*** behanw <behanw!~behanw@S0106dc9fdb80cffd.gv.shawcable.net> has joined #yocto19:56
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has quit IRC20:12
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has joined #yocto20:19
*** gmacario1 <gmacario1!~gmacario@2-225-241-33.ip178.fastwebnet.it> has joined #yocto20:55
*** gmacario <gmacario!~gmacario@2-225-241-33.ip178.fastwebnet.it> has quit IRC20:58
Jin^eLDbluelightning: but now when I added the exit 1 thing it fails to build the image somehow21:11
Jin^eLDhttps://pastebin.mozilla.org/453169221:12
Jin^eLDand the only thing I see are opkg errors caused but scripts that did not run21:12
Jin^eLDor am I not allowed to fail in preinst?21:12
Jin^eLDwell makes sense I guess21:13
bluelightningyeah preinst probably can't fail21:14
*** SorenHolm <SorenHolm!~quassel@5634f347.rev.stofanet.dk> has quit IRC21:18
*** sameo <sameo!~samuel@192.55.55.39> has joined #yocto21:49
*** gmacario1 <gmacario1!~gmacario@2-225-241-33.ip178.fastwebnet.it> has quit IRC22:00
*** RP <RP!~richard@98.158.13.34> has joined #yocto22:09
*** tlwoerner <tlwoerner!~trevor@linaro/tlwoerner> has joined #yocto22:12
*** behanw <behanw!~behanw@S0106dc9fdb80cffd.gv.shawcable.net> has quit IRC22:16
*** sameo <sameo!~samuel@192.55.55.39> has quit IRC22:27
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC22:49
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto22:59
*** bfederau <bfederau!~quassel@service.basyskom.com> has quit IRC23:01
*** bfederau <bfederau!~quassel@service.basyskom.com> has joined #yocto23:01
*** Jin^eLD is now known as Jin|away23:02
*** smartin_ <smartin_!~smartin@ivr94-4-82-229-165-48.fbx.proxad.net> has quit IRC23:14
nerdboyas long as it works correctly with both $D set and unset, then it should be safe without the if test, since it should always work in do_rootfs and never need to run on first boot23:20
nerdboyor am i missing something?23:21
*** swex <swex!~swex@185.6.249.134> has joined #yocto23:49

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!