[yocto] unbootable image produced with PACKAGE_CLASSES ?= "package_ipk", /etc missing

Todd Stellanova tstellanova at gmail.com
Sat Nov 23 18:51:14 PST 2013


It appears that copying the files to the ext3 / sdcard image is failing in
*populate-extfs.sh*
I see a series of these errors:

*copy_file: Could not allocate block in ext2 filesystem*

Any idea what might cause this?  I've verified that the initial .tar
archive and the bz2 contain the right files.



On Sat, Nov 23, 2013 at 10:22 AM, Todd Stellanova <tstellanova at gmail.com>wrote:

> Hello,
>
> I'm following these directions for building with yocto for the wandboard:
> http://wiki.wandboard.org/index.php/Getting_started_with_Yocto_on_Wandboard
>
> I'm building a bb recipe based on core-image-minimal-dev, to which I've
> added:
> IMAGE_FEATURES += "package-management"
>
> In my conf/local.conf I originally had:
> PACKAGE_CLASSES ?= "package_rpm"
>
> This built fine and I was able to boot with the resulting sdcard image
> fine on the wandboard. However, I'd like to use opkg on the wandboard for
> package management, so I modified local.conf to:
> PACKAGE_CLASSES ?= "package_ipk"
>
> and bitbaked my image again.  The resulting sdcard image doesn't boot on
> the wandboard, and if I look at the sdcard image I can see that, for
> example, /etc is completely missing from the rootfs.
>
> Do I need to do anything else to switch the build to properly using ipks
> with opkg?
>
> Thanks for any help!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131123/a6eafbd0/attachment.html>


More information about the yocto mailing list