[yocto] Packages util-linux and gettext both showing undefined reference

Summers, John S john.s.summers at intel.com
Mon Sep 22 12:19:30 PDT 2014


Hi Darren,

Maybe I should elaborate a bit on what I am trying to do.  Basically, I am trying to develop an embedded EFI-bootable image using the poky-tiny distro.

I would like to be able to automate the image generation process, so I've been using the "wic" tool to generate the image.  Wic has been working great (at least it works fine with manual parameters, the -e argument results in a failure as described at https://bugzilla.yoctoproject.org/show_bug.cgi?id=6704&list_id=cookie), but it appears that the initramfs image is not being generated properly, resulting in a kernel Panic when I load the image via UEFI.

I saw that poky-tiny by default uses the following image types:
IMAGE_FSTYPES = "ext2 cpio.gz"

This is in my foo-layer/conf/distro/foo-layer.conf file.  There's also a note there saying that "We don't build live as that pulls in a lot of dependencies for live image and the installer, like udev, grub, etc.  These pull in gettext, which fails to build with wide character support."

Does this mean that wic is not supported with poky-tiny?  If it is supported, are there any additional requirements for building initramfs images into wic generated images?

Also, I don't see core-image-minimal-initramfs added in poky-tiny as a PNBLACKLIST image.  Do you know of any additional configuration I need to get this image to build properly (either directly with bitbake or embedded into my recipe)?

Thanks in advance,
Stuart

-----Original Message-----
From: Burton, Ross [mailto:ross.burton at intel.com] 
Sent: Monday, September 22, 2014 10:28 AM
To: Summers, John S
Cc: yocto at yoctoproject.org; Darren Hart
Subject: Re: [yocto] Packages util-linux and gettext both showing undefined reference

On 22 September 2014 18:05, Summers, John S <john.s.summers at intel.com> wrote:
> DISTRO            = "poky-tiny"

I expect this is what's causing the problem.  poky-tiny is very cut-down.  CC'ing Darren for a more informed comment.

Ross


More information about the yocto mailing list