[OE-core] [PATCH v2 00/50] Rootfs/image generation refactoring (cover letter only)

Laurentiu Palcu laurentiu.palcu at intel.com
Wed Feb 5 14:43:34 UTC 2014


On Wed, Feb 05, 2014 at 01:09:05PM +0100, David Nyström wrote:
> >
> >| NOTE: Installing complementary packages ...
> >| NOTE: Installing the following packages:
> >| /media/sdb5/bld/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl: the
> >``install'' command requires at least one argument
> >| NOTE: Unable to install packages. Command
> >/media/sdb5/bld/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -f
> >/media/sdb5/bld/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/opkg.conf
> >-o
> >/media/sdb5/bld/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/rootfs
> >--force_postinstall --prefer-arch-to-version   install  returned 1
I'll send a quick fix for this. This, however, is not the reason of the
build failure. It's complementary packages that are installed and an
empty list is passed to install(). Since these are attempt only
packages, the build does not fail because of this. Anyway, I added a
simple check and I will send a v3.

> >| NOTE: Running intercept scripts:
> >| NOTE: Executing write_package_manifest ...
> >| DEBUG: Executing python function write_package_manifest
> >| NOTE: Building from feeds activated!
> >| NOTE: Add all feed with URL
> >file:///media/sdb5/oel/build/tmp/deploy/ipk/all
> >| NOTE: Add qemuppc feed with URL
> >file:///media/sdb5/oel/build/tmp/deploy/ipk/qemuppc
> >| NOTE: Add ppc7400 feed with URL
> >file:///media/sdb5/oel/build/tmp/deploy/ipk/ppc7400
> >| DEBUG: Python function write_package_manifest finished
> >| NOTE: Executing license_create_manifest ...
> >| DEBUG: Executing shell function license_create_manifest
> >| ls: cannot access
> >/media/sdb5/bld/tmp/sysroots/qemuppc/pkgdata/runtime-reverse/base-files: No
> >such file or directory
> >| readlink: missing operand
> >| Try 'readlink --help' for more information.
> >| basename: missing operand
> >| Try 'basename --help' for more information.
> >| WARNING: exit code 1 from a shell command.
> >| DEBUG: Python function do_rootfs finished
> >| ERROR: Function failed: license_create_manifest (log file is located at
> >/media/sdb5/bld/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.29007)
Now, this is the interesting part which, btw, happens on master too. That's
because you're installing from feeds and you're installing an older
version that has different packages than the latest (these are read from
package.manifest). The YP 1.5 core-image-minimal package.manifest
contains update-alternatives-cworth. The latest core-image-minimal does
not contain this package anymore. It contains update-alternatives-opkg.

The easiest way would be to add a check in license_create_manifest() to
just ignore packages that cannot be found. However, since we're dealing
with licenses here, I honestly don't know if this is the right way of
doing it...

laurentiu 



More information about the Openembedded-core mailing list