*** swex <swex!~swex@178.17.205.9> has joined #yocto | 00:07 | |
*** swex <swex!~swex@178.17.205.9> has quit IRC | 00:14 | |
*** swex <swex!~swex@178.17.205.9> has joined #yocto | 00:15 | |
*** Kangkai <Kangkai!~kai@58.32.203.134> has joined #yocto | 00:40 | |
*** br1_21 <br1_21!~br1@host-67-59-24-5.host.ussignalcom.net> has quit IRC | 00:54 | |
*** sameo <sameo!~samuel@192.55.54.40> has quit IRC | 01:00 | |
*** swex <swex!~swex@178.17.205.9> has quit IRC | 01:11 | |
*** swex <swex!~swex@178.17.205.9> has joined #yocto | 01:13 | |
*** h725 <h725!~pizzaman@PLAID.CYLAB.CMU.EDU> has quit IRC | 02:22 | |
*** darknighte_ <darknighte_!~darknight@pdpc/supporter/professional/darknighte> has quit IRC | 02:26 | |
*** swex <swex!~swex@178.17.205.9> has quit IRC | 03:26 | |
*** swex <swex!~swex@178.17.205.9> has joined #yocto | 03:27 | |
*** b1gtuna <b1gtuna!~adam@S0106283737430f06.vs.shawcable.net> has joined #yocto | 03:38 | |
*** pocek_ <pocek_!pock@83.238.156.185> has joined #yocto | 04:30 | |
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has quit IRC | 04:35 | |
*** msm <msm!~msm@cpe-173-174-124-130.austin.res.rr.com> has joined #yocto | 04:44 | |
*** denix0 <denix0!~denix@pool-71-191-205-189.washdc.fios.verizon.net> has joined #yocto | 05:22 | |
*** swex <swex!~swex@178.17.205.9> has quit IRC | 05:22 | |
*** akbennett <akbennett!akbennett@ec2-54-225-101-41.compute-1.amazonaws.com> has quit IRC | 05:22 | |
*** nitink <nitink!~nitink@134.134.139.76> has quit IRC | 05:24 | |
*** denix <denix!~denix@pool-71-191-205-189.washdc.fios.verizon.net> has quit IRC | 05:24 | |
*** msm` <msm`!~msm@cpe-173-174-124-130.austin.res.rr.com> has quit IRC | 05:24 | |
*** pocek <pocek!pock@83.238.156.185> has quit IRC | 05:24 | |
*** nitink <nitink!~nitink@134.134.139.76> has joined #yocto | 05:24 | |
*** denix0 is now known as denix | 05:25 | |
*** Bryanstein <Bryanstein!~Bryanstei@68.67.76.71> has joined #yocto | 05:25 | |
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has joined #yocto | 05:25 | |
*** swex <swex!~swex@178.17.205.9> has joined #yocto | 05:28 | |
*** akbennett <akbennett!akbennett@ec2-54-225-101-41.compute-1.amazonaws.com> has joined #yocto | 05:30 | |
*** swex <swex!~swex@178.17.205.9> has quit IRC | 05:39 | |
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has quit IRC | 05:54 | |
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has joined #yocto | 06:06 | |
*** darkraider <darkraider!~darkraide@82.146.58.27> has quit IRC | 06:23 | |
*** behanw <behanw!~behanw@S0106dc9fdb80cffd.gv.shawcable.net> has quit IRC | 06:31 | |
*** b1gtuna <b1gtuna!~adam@S0106283737430f06.vs.shawcable.net> has quit IRC | 07:18 | |
*** fabo <fabo!~fabo@linaro/fabo> has quit IRC | 10:15 | |
*** fabo <fabo!~fabo@linaro/fabo> has joined #yocto | 10:22 | |
*** frma71 <frma71!uid15941@gateway/web/irccloud.com/x-yxaylnmjbukocjis> has joined #yocto | 10: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/86 | 11: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/102 | 11:23 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 11:44 | |
*** demonimin_ <demonimin_!~demonimin@unaffiliated/demonimin> has quit IRC | 11:45 | |
*** smartin_ <smartin_!~smartin@ivr94-4-82-229-165-48.fbx.proxad.net> has joined #yocto | 12: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/83 | 12:29 | |
*** Crofton|work <Crofton|work!~balister@71.171.41.155> has quit IRC | 12:35 | |
*** mulhern <mulhern!~mulhern@50.189.153.218> has joined #yocto | 12:36 | |
*** Crofton|work <Crofton|work!~balister@pool-71-171-41-155.ronkva.east.verizon.net> has joined #yocto | 12:36 | |
*** mulhern <mulhern!~mulhern@50.189.153.218> has quit IRC | 12:38 | |
*** SorenHolm <SorenHolm!~quassel@5634f347.rev.stofanet.dk> has joined #yocto | 12:39 | |
*** frma71 <frma71!uid15941@gateway/web/irccloud.com/x-yxaylnmjbukocjis> has quit IRC | 12:41 | |
*** Crofton|work <Crofton|work!~balister@pool-71-171-41-155.ronkva.east.verizon.net> has joined #yocto | 12: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/81 | 12:56 | |
*** sroy <sroy!~sroy@96.127.230.203> has joined #yocto | 12:56 | |
*** sroy <sroy!~sroy@96.127.230.203> has quit IRC | 13:10 | |
*** zerus_ <zerus_!~powerpm@81-229-90-163-no67.tbcn.telia.com> has quit IRC | 13:18 | |
*** SnookEE <SnookEE!~msnook@cpe-72-225-55-197.rochester.res.rr.com> has joined #yocto | 13:43 | |
*** SorenHolm <SorenHolm!~quassel@5634f347.rev.stofanet.dk> has quit IRC | 14: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/86 | 14: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/85 | 14: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/83 | 15:00 | |
*** gmacario <gmacario!~gmacario@2-225-241-33.ip178.fastwebnet.it> has quit IRC | 15:03 | |
*** b1gtuna <b1gtuna!~adam@S0106283737430f06.vs.shawcable.net> has joined #yocto | 15: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/87 | 15: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/84 | 15: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/83 | 15:37 | |
*** br1_21 <br1_21!~br1@host-67-59-24-5.host.ussignalcom.net> has joined #yocto | 15:39 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 15: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/91 | 15:55 | |
*** RP <RP!~richard@98.158.13.34> has quit IRC | 15: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/82 | 16:03 | |
*** RP <RP!~richard@98.158.13.34> has joined #yocto | 16: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/84 | 16:24 | |
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto | 16:35 | |
*** bluelightning_ <bluelightning_!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has quit IRC | 16:35 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 16:35 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 16:35 | |
*** RP <RP!~richard@98.158.13.34> has joined #yocto | 16:44 | |
*** b1gtuna <b1gtuna!~adam@S0106283737430f06.vs.shawcable.net> has quit IRC | 16:46 | |
*** swex <swex!~swex@178.17.205.9> has joined #yocto | 16:47 | |
*** swex <swex!~swex@178.17.205.9> has quit IRC | 16:53 | |
*** ccaione <ccaione!~ccaione@unaffiliated/ccaione> has quit IRC | 16:59 | |
*** ccaione <ccaione!~ccaione@unaffiliated/ccaione> has joined #yocto | 16:59 | |
*** roric <roric!~roric@121.244.36.2> has quit IRC | 17:11 | |
*** swex <swex!~swex@178.17.205.9> has joined #yocto | 17:14 | |
*** MatthieuG <MatthieuG!~bigbowser@2a01:e35:8a71:6c20:e0c2:d67c:5fd1:a4ef> has joined #yocto | 17:19 | |
*** swex <swex!~swex@178.17.205.9> has quit IRC | 17: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/82 | 17:32 | |
*** swex <swex!~swex@178.17.205.9> has joined #yocto | 17:34 | |
*** Jay7x <Jay7x!jay@176.15.149.213> has quit IRC | 17: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/83 | 17:42 | |
*** swex <swex!~swex@178.17.205.9> has joined #yocto | 17:45 | |
*** gmacario <gmacario!~gmacario@2-225-241-33.ip178.fastwebnet.it> has joined #yocto | 17: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/84 | 17:51 | |
*** Crofton <Crofton!~balister@pool-71-171-41-155.ronkva.east.verizon.net> has quit IRC | 17:52 | |
*** e8johan <e8johan!~quassel@90-229-157-121-no198.tbcn.telia.com> has joined #yocto | 17:55 | |
*** dorkhan <dorkhan!~dorkhan@193.106.31.109> has joined #yocto | 18:03 | |
*** dorkhan <dorkhan!~dorkhan@193.106.31.109> has quit IRC | 18:04 | |
*** bluelightning1 <bluelightning1!~paul@2001:8b0:258:7d7a:5e51:4fff:febb:401d> has joined #yocto | 18:13 | |
*** bluelightning1 is now known as bluelightning | 18:13 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 18:13 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 18:14 | |
*** e8johan <e8johan!~quassel@90-229-157-121-no198.tbcn.telia.com> has quit IRC | 18:26 | |
*** behanw <behanw!~behanw@S0106dc9fdb80cffd.gv.shawcable.net> has joined #yocto | 18:46 | |
*** SorenHolm <SorenHolm!~quassel@5634f347.rev.stofanet.dk> has joined #yocto | 18:50 | |
*** MatthieuG <MatthieuG!~bigbowser@2a01:e35:8a71:6c20:e0c2:d67c:5fd1:a4ef> has quit IRC | 19:05 | |
*** Jin|away is now known as Jin^eLD | 19:23 | |
Jin^eLD | hi | 19:23 |
---|---|---|
Jin^eLD | how 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^eLD | I have a couple of recipes where I would require that the postinst hooks are run during first boot | 19:25 |
nerdboy | your own recipes, or existing ones? | 19:25 |
Jin^eLD | my own | 19:25 |
Jin^eLD | I'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 target | 19:26 |
nerdboy | the your package_postinst should use $D | 19:26 |
Jin^eLD | as in if [ "x$D" != "x" ]; then exit 0; fi ? | 19:27 |
Jin^eLD | or how exactly? | 19:27 |
nerdboy | without the "if" should force it to run in the image rootfs | 19:28 |
Jin^eLD | hm? I think I do not fully understand you.. | 19:28 |
Jin^eLD | you mean the presence of "$D" as such will already tell it to run it from the rootfs? | 19:28 |
nerdboy | one sec | 19:29 |
*** swex <swex!~swex@178.17.205.9> has quit IRC | 19:31 | |
*** RP <RP!~richard@98.158.13.34> has quit IRC | 19:32 | |
nerdboy | the postinst/postrm functions become a shell script on the target | 19:33 |
Jin^eLD | yes, I know that | 19:33 |
nerdboy | so "if test "x$D" != "x"; then exit 1" makes the "else" run on target | 19:34 |
Jin^eLD | ah, cool, thanks, so I should just exit 1 on the host | 19: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/87 | 19:35 | |
nerdboy | without any else and $D set it should only run during the build since it gets marked as "installed" | 19:36 |
Jin^eLD | ok I get it, the exit 1 was the key | 19:36 |
*** behanw <behanw!~behanw@S0106dc9fdb80cffd.gv.shawcable.net> has quit IRC | 19:40 | |
bluelightning | Jin^eLD: it tries to run all, the ones that fail during do_rootfs on the host are deferred to first boot | 19:53 |
*** zarul <zarul!~zarul@ubuntu/member/zarul> has quit IRC | 19:53 | |
*** zarul <zarul!~zarul@ubuntu/member/zarul> has joined #yocto | 19:54 | |
Jin^eLD | thx | 19:54 |
*** behanw <behanw!~behanw@S0106dc9fdb80cffd.gv.shawcable.net> has joined #yocto | 19:56 | |
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has quit IRC | 20:12 | |
*** Bryanstein <Bryanstein!~Bryanstei@shellium/admin/bryanstein> has joined #yocto | 20:19 | |
*** gmacario1 <gmacario1!~gmacario@2-225-241-33.ip178.fastwebnet.it> has joined #yocto | 20:55 | |
*** gmacario <gmacario!~gmacario@2-225-241-33.ip178.fastwebnet.it> has quit IRC | 20:58 | |
Jin^eLD | bluelightning: but now when I added the exit 1 thing it fails to build the image somehow | 21:11 |
Jin^eLD | https://pastebin.mozilla.org/4531692 | 21:12 |
Jin^eLD | and the only thing I see are opkg errors caused but scripts that did not run | 21:12 |
Jin^eLD | or am I not allowed to fail in preinst? | 21:12 |
Jin^eLD | well makes sense I guess | 21:13 |
bluelightning | yeah preinst probably can't fail | 21:14 |
*** SorenHolm <SorenHolm!~quassel@5634f347.rev.stofanet.dk> has quit IRC | 21:18 | |
*** sameo <sameo!~samuel@192.55.55.39> has joined #yocto | 21:49 | |
*** gmacario1 <gmacario1!~gmacario@2-225-241-33.ip178.fastwebnet.it> has quit IRC | 22:00 | |
*** RP <RP!~richard@98.158.13.34> has joined #yocto | 22:09 | |
*** tlwoerner <tlwoerner!~trevor@linaro/tlwoerner> has joined #yocto | 22:12 | |
*** behanw <behanw!~behanw@S0106dc9fdb80cffd.gv.shawcable.net> has quit IRC | 22:16 | |
*** sameo <sameo!~samuel@192.55.55.39> has quit IRC | 22:27 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 22:49 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 22:59 | |
*** bfederau <bfederau!~quassel@service.basyskom.com> has quit IRC | 23:01 | |
*** bfederau <bfederau!~quassel@service.basyskom.com> has joined #yocto | 23:01 | |
*** Jin^eLD is now known as Jin|away | 23:02 | |
*** smartin_ <smartin_!~smartin@ivr94-4-82-229-165-48.fbx.proxad.net> has quit IRC | 23:14 | |
nerdboy | as 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 boot | 23:20 |
nerdboy | or am i missing something? | 23:21 |
*** swex <swex!~swex@185.6.249.134> has joined #yocto | 23:49 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!