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

David Nystrom david.c.nystrom at gmail.com
Wed Feb 5 18:00:25 UTC 2014


On 5 Feb 2014 15:43, "Laurentiu Palcu" <laurentiu.palcu at intel.com> wrote:
>
> 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.

Thanks Laurentiu,
The 1.5 repo reference was just to give you an easy testcase. Sorry for
creating  confusion.
My debug run above was done with a repo created by poky on the master
branch.

>
> 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...

Good point, I think it might be better to avoid creating a manifest, rather
than creating a potentially bogus manifest when using the FEEDS
functionality.

The per-package licenses should be already existing in the repo when using
a feed.

//DD

Br,
David
>
> laurentiu
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140205/0254524f/attachment-0002.html>


More information about the Openembedded-core mailing list