* Failure to build xen-image-minimal
@ 2016-01-20 16:11 McGillion, Brian
2016-01-21 14:12 ` Chris Patterson
0 siblings, 1 reply; 5+ messages in thread
From: McGillion, Brian @ 2016-01-20 16:11 UTC (permalink / raw)
To: meta-virtualization
[-- Attachment #1: Type: text/plain, Size: 2744 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3863 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Failure to build xen-image-minimal
2016-01-20 16:11 Failure to build xen-image-minimal McGillion, Brian
@ 2016-01-21 14:12 ` Chris Patterson
2016-01-21 15:05 ` McGillion, Brian
0 siblings, 1 reply; 5+ messages in thread
From: Chris Patterson @ 2016-01-21 14:12 UTC (permalink / raw)
To: McGillion, Brian; +Cc: meta-virtualization@yoctoproject.org
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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Failure to build xen-image-minimal
2016-01-21 14:12 ` Chris Patterson
@ 2016-01-21 15:05 ` McGillion, Brian
2016-01-21 16:05 ` Chris Patterson
0 siblings, 1 reply; 5+ messages in thread
From: McGillion, Brian @ 2016-01-21 15:05 UTC (permalink / raw)
To: Chris Patterson; +Cc: meta-virtualization@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 3726 bytes --]
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@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@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@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-virtualization
> >
>
[-- Attachment #2: Type: text/html, Size: 5508 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Failure to build xen-image-minimal
2016-01-21 15:05 ` McGillion, Brian
@ 2016-01-21 16:05 ` Chris Patterson
2016-01-23 1:09 ` Doug Goldstein
0 siblings, 1 reply; 5+ messages in thread
From: Chris Patterson @ 2016-01-21 16:05 UTC (permalink / raw)
To: McGillion, Brian; +Cc: meta-virtualization@yoctoproject.org
On Thu, Jan 21, 2016 at 10:05 AM, McGillion, Brian
<brian.mcgillion@intel.com> wrote:
> Hi Chris,
>
> Thank you, that was it!
>
> In general should that config not be part of the xen-minimal-image recipe?
>
The DISTRO_FEATURES is more of a "global" variable and the scope of
xen-minimal-image is not sufficient to get what you need (in this
case, affect linux-yocto).
Perhaps we should document in the README?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Failure to build xen-image-minimal
2016-01-21 16:05 ` Chris Patterson
@ 2016-01-23 1:09 ` Doug Goldstein
0 siblings, 0 replies; 5+ messages in thread
From: Doug Goldstein @ 2016-01-23 1:09 UTC (permalink / raw)
To: Chris Patterson, McGillion, Brian; +Cc: meta-virtualization@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 821 bytes --]
On 1/21/16 10:05 AM, Chris Patterson wrote:
> On Thu, Jan 21, 2016 at 10:05 AM, McGillion, Brian
> <brian.mcgillion@intel.com> wrote:
>> Hi Chris,
>>
>> Thank you, that was it!
>>
>> In general should that config not be part of the xen-minimal-image recipe?
>>
>
> The DISTRO_FEATURES is more of a "global" variable and the scope of
> xen-minimal-image is not sufficient to get what you need (in this
> case, affect linux-yocto).
>
> Perhaps we should document in the README?
>
I was thinking we can do something like...
do_check_xen_state() {
if [ "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' yes', 'no',
d)}" = "no" ]; then
die "DISTRO_FEATURES does not contain 'xen'"
fi
}
addtask check_xen_state before do_rootfs
I can submit a patch.
--
Doug Goldstein
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 978 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-01-23 1:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-20 16:11 Failure to build xen-image-minimal McGillion, Brian
2016-01-21 14:12 ` Chris Patterson
2016-01-21 15:05 ` McGillion, Brian
2016-01-21 16:05 ` Chris Patterson
2016-01-23 1:09 ` Doug Goldstein
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.