tree/branch: poky-contrib, dxu4/hob2-v0.11 commit: 1f0d28a42430b5bf8e3a9c9fe0608d0c2b1f5da7 With Dongxiao's 0.11 branch, if I use a clean working dir to launch hob and build an image with customized recipes, the build will fail at do_rootfs for dummy-image.bb. If I re-build the image with same recipe list selected, the bug won't happen. The steps I reproduce the bug: 1. launch hob in a clean working dir 2. select qemux86 for machine and select core-image-minimal 3. select x11-comman and zypper in "view recipes", deselect zypper then 4. click "build image" and you will find the error Error log as below: ######## ERROR: Function 'do_rootfs' failed (see /home/jxu49/osel/poky-contrib/build/tmp/work/qemux86-poky-linux/dummy-image-1.0-r0/temp/log.do_rootfs.18769 for further information) Generating solve db for /home/jxu49/osel/poky-contrib/build/tmp/deploy/rpm/qemux86... total: 1 0.000000 MB 2.547082 secs fingerprint: 975 0.008172 MB 0.263479 secs install: 325 0.000000 MB 0.461063 secs dbadd: 325 0.000000 MB 0.450573 secs dbget: 2178 0.000000 MB 0.003842 secs dbput: 325 1.714524 MB 0.370358 secs readhdr: 3251 3.401760 MB 0.995491 secs hdrload: 1625 5.043388 MB 0.012918 secs hdrget: 59006 0.000000 MB 0.014960 secs Generating solve db for /home/jxu49/osel/poky-contrib/build/tmp/deploy/rpm/i586... total: 1 0.000000 MB 20.203494 secs fingerprint: 9678 0.125534 MB 1.441512 secs install: 3226 0.000000 MB 5.012067 secs dbadd: 3226 0.000000 MB 4.937293 secs dbget: 41053 0.000000 MB 0.026301 secs dbput: 3226 16.625584 MB 4.359658 secs readhdr: 32261 33.429330 MB 6.392184 secs hdrload: 19671 68.766458 MB 0.163112 secs hdrget: 571587 0.000000 MB 0.320460 secs Generating solve db for /home/jxu49/osel/poky-contrib/build/tmp/deploy/rpm/all... total: 1 0.000000 MB 0.129001 secs fingerprint: 27 0.000032 MB 0.000176 secs install: 9 0.000000 MB 0.032209 secs dbadd: 9 0.000000 MB 0.030119 secs dbget: 33 0.000000 MB 0.000087 secs dbput: 9 0.026864 MB 0.010407 secs readhdr: 91 0.055056 MB 0.055576 secs hdrload: 48 0.087812 MB 0.000483 secs hdrget: 1308 0.000000 MB 0.001167 secs Generating solve db for /home/jxu49/osel/poky-contrib/build/tmp/deploy/rpm/all... total: 1 0.000000 MB 0.062212 secs fingerprint: 27 0.000032 MB 0.000175 secs install: 9 0.000000 MB 0.031808 secs dbadd: 9 0.000000 MB 0.029720 secs dbget: 33 0.000000 MB 0.000091 secs dbput: 9 0.026864 MB 0.010525 secs readhdr: 91 0.055056 MB 0.000126 secs hdrload: 48 0.087812 MB 0.000411 secs hdrget: 1308 0.000000 MB 0.000642 secs Manifest: /home/jxu49/osel/poky-contrib/build/tmp/work/qemux86-poky-linux/dummy-image-1.0-r0/rootfs/install/install.manifest head: cannot open `/home/jxu49/osel/poky-contrib/build/tmp/work/qemux86-poky-linux/dummy-image-1.0-r0/rootfs/etc/rpm-postinsts/*' for reading: No such file or directory Delayed package scriptlet: ########
Even I build a minimal image without customization for recipe with a clean dir, the same error still exists.
This bug is fixed in the latest branch: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=dxu4/hob2-v0.12 Will mark it as FIXED after HOB code are checked into master.
This bug is fixed when hob patches are checked into master.
Verify the bug as fixed in 1.2 M3 testing.