[meta-virtualization] Failure to build xen-image-minimal

McGillion, Brian brian.mcgillion at intel.com
Thu Jan 21 07:05:40 PST 2016


Hi Chris,

Thank you, that was it!

In general should that config not be part of the xen-minimal-image recipe?

Thanks,
Brian

On Thu, Jan 21, 2016 at 4:12 PM, Chris Patterson <cjp256 at gmail.com> wrote:

> Hello Brian,
>
> Have you added 'xen' to your DISTRO_FEATURES?  You can try
> DISTRO_FEATURES_append = " xen" in your local.conf.
>
> Good luck! :)
> -Chris
>
> On Wed, Jan 20, 2016 at 11:11 AM, McGillion, Brian
> <brian.mcgillion at intel.com> wrote:
> > Hi,
> >
> > I am trying to build a default xen-image-minimal target.
> >
> > Followed these steps
> > git clone http://git.yoctoproject.org/git/poky
> > cd poky/
> > git clone git://git.yoctoproject.org/meta-yocto-kernel-extras
> > git clone git://git.yoctoproject.org/meta-intel.git
> > git clone git://git.yoctoproject.org/meta-virtualization
> > git clone git://github.com/openembedded/meta-openembedded.git
> > git clone git://github.com/errordeveloper/oe-meta-go.git
> >
> > source oe-init-build-env
> >
> > bitbake-layers add-layer meta-intel
> > bitbake-layers add-layer meta-virtualization
> > bitbake-layers add-layer meta-openembedded/meta-oe
> > bitbake-layers add-layer meta-openembedded/meta-networking
> > bitbake-layers add-layer meta-openembedded/meta-python
> > bitbake-layers add-layer meta-openembedded/meta-filesystems
> > bitbake-layers add-layer oe-meta-go
> >
> >
> > edit conf/local.conf adding the following
> >
> > MACHINE ?= "intel-corei7-64" or MACHINE ?= "genericx86_64"
> > PACKAGE_CLASSES = "package_deb "
> >
> >
> > bitbake xen-image-minimal
> >
> >
> >
> > with the following result:
> >
> > ERROR: Unable to install packages. Command
> >
> '/home/brian/embedded/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/apt-get
> > install --force-yes --allow-unauthenticated kernel-module-xen-netback
> > kernel-module-xen-gntalloc run-postinsts kernel-module-xen-acpi-processor
> > packagegroup-core-ssh-openssh kernel-module-xen-pciback
> > kernel-module-xen-blkback kernel-module-xen-gntdev qemu xen-base
> > packagegroup-core-boot kernel-module-xen-wdt' returned 100:
> > Reading package lists...
> > Building dependency tree...
> > Reading state information...
> > E: Unable to locate package kernel-module-xen-netback
> > E: Unable to locate package kernel-module-xen-gntalloc
> > E: Unable to locate package kernel-module-xen-acpi-processor
> > E: Unable to locate package kernel-module-xen-pciback
> > E: Unable to locate package kernel-module-xen-blkback
> > E: Unable to locate package kernel-module-xen-gntdev
> > E: Unable to locate package kernel-module-xen-wdt
> >
> > ERROR: Function failed: do_rootfs
> > ERROR: Logfile of failure stored in:
> >
> /home/brian/embedded/yocto/poky/build/tmp/work/genericx86_64-poky-linux/xen-image-minimal/1.0-r0/temp/log.do_rootfs.25163
> > ERROR: Task 9
> >
> (/home/brian/embedded/yocto/poky/meta-virtualization/recipes-extended/images/
> xen-image-minimal.bb,
> > do_rootfs) failed with exit code '1'
> >
> >
> > if the following directory should contain the final kernel .config that
> is
> > being built then I do not see the xen config options that are defined in
> > /meta-virtualization/recipes-kernel/linux/linux-yocto/xen.cfg being
> applied.
> >
> >
> yocto/poky/build/tmp/work/genericx86_64-poky-linux/linux-yocto/4.1.15+gitAUTOINC+46bb64d605_788dfc9859-r0/linux-genericx86_64-standard-build
> >
> > Any help is greatly appreciated.
> >
> > Thanks,
> > Brian
> >
> > --
> > _______________________________________________
> > meta-virtualization mailing list
> > meta-virtualization at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-virtualization
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160121/946a78d2/attachment.html>


More information about the meta-virtualization mailing list