All of lore.kernel.org
 help / color / mirror / Atom feed
* wrongly populated image
@ 2009-01-06 23:13 Robert Schuster
  2009-01-07  0:41 ` Robert Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Schuster @ 2009-01-06 23:13 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2186 bytes --]

Hi,
I have two problems with current OE. I am not sure if they are related
so I explain both. I am using the latest revision of bitbake-1.8 from
SVN and am building angstrom for the beagleboard.

1)
Whenever OE wants to build angstrom-feed-configs I get the following big
python error:

ERROR: Error in executing:
/home/rob/oe/org.openembedded.dev/packages/angstrom/angstrom-feed-configs.bb
ERROR: Exception:<type 'exceptions.TypeError'>
Message:do_split_packages() got an unexpected keyword argument 'allow_links'
ERROR: Printing the environment of the function
ERROR: 	0001:def populate_packages():
ERROR: 	0002:	etcdir = bb.data.expand('${sysconfdir}/opkg', d)
ERROR: 	0003:	do_split_packages(d, etcdir, '^locale-(.*)\.conf$',
'angstrom-locale-%s-config', 'Angstrom feed config for the %s locale',
extra_depends='', allow_links=True)
ERROR: 	0004:	import glob, stat, errno, re
ERROR: 	0005:
ERROR: 	0006:	workdir = bb.data.getVar('WORKDIR', d, 1)
ERROR: 	0007:	if not workdir:

I am not a python expert but this looks as if the function arguments are
used by names. However I see nothing special about 'allow_links' so I
wonder why it fails with this one. I am running this on a Debian
GNU/Linux amd64 box. Python is 2.5.2 if that helps.

I can get around this problem by temporarily declaring allow_links=True
in package.bbclass and remove that same string from the
do_split_packages call in angstrom-feed-configs.

This brought me to the next problem:

2)
I want to build a bootable image. I chose a rather small one and
everything looks fine when doing 'bitbake x11-image' (= no errors). I
get a my .tar file and unpack it on an SD card (like I did many times
before).
However booting fails because there is no 'init' executable on the
image. Upon inspection of *-x11-image-*-testlab/installed-packages.txt I
see that there is no busybox on the image. Also other important stuff
like the kernel and dropbear/openssh-sshd is missing. On the other hand
my new 'openjdk-6-jre' package is on the filesystem although I have
never asked to anyone to do this.

Anyone having an idea what could have gone wrong here?

Regards
Robert



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 268 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: wrongly populated image
  2009-01-06 23:13 wrongly populated image Robert Schuster
@ 2009-01-07  0:41 ` Robert Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schuster @ 2009-01-07  0:41 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2176 bytes --]

Hi,

Robert Schuster schrieb:
> 1)
> Whenever OE wants to build angstrom-feed-configs I get the following big
> python error:
> 
> ERROR: Error in executing:
> /home/rob/oe/org.openembedded.dev/packages/angstrom/angstrom-feed-configs.bb
> ERROR: Exception:<type 'exceptions.TypeError'>
> Message:do_split_packages() got an unexpected keyword argument 'allow_links'
> ERROR: Printing the environment of the function
> ERROR: 	0001:def populate_packages():
> ERROR: 	0002:	etcdir = bb.data.expand('${sysconfdir}/opkg', d)
> ERROR: 	0003:	do_split_packages(d, etcdir, '^locale-(.*)\.conf$',
> 'angstrom-locale-%s-config', 'Angstrom feed config for the %s locale',
> extra_depends='', allow_links=True)
> ERROR: 	0004:	import glob, stat, errno, re
> ERROR: 	0005:
> ERROR: 	0006:	workdir = bb.data.getVar('WORKDIR', d, 1)
> ERROR: 	0007:	if not workdir:
> 
> I am not a python expert but this looks as if the function arguments are
> used by names. However I see nothing special about 'allow_links' so I
> wonder why it fails with this one. I am running this on a Debian
> GNU/Linux amd64 box. Python is 2.5.2 if that helps.
> 
> I can get around this problem by temporarily declaring allow_links=True
> in package.bbclass and remove that same string from the
> do_split_packages call in angstrom-feed-configs.
> 
> This brought me to the next problem:
> 
> 2)
> However booting fails because there is no 'init' executable on the
> image. Upon inspection of *-x11-image-*-testlab/installed-packages.txt I
> see that there is no busybox on the image. Also other important stuff
> like the kernel and dropbear/openssh-sshd is missing. On the other hand
> my new 'openjdk-6-jre' package is on the filesystem although I have
> never asked to anyone to do this.
Cool, this patch fixed problem 2:

Module: openembedded.git
Branch: org.openembedded.dev
Commit: 9b1666b54a8474a8a95603726b634c071a1ec6ce
URL:
http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9b1666b54a8474a8a95603726b634c071a1ec6ce

Author: Koen Kooi <koen@openembedded.org>
Date:   Wed Jan  7 00:46:05 2009 +0100

task-base: bump PR


Regards
Robert


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 268 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-07  0:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-06 23:13 wrongly populated image Robert Schuster
2009-01-07  0:41 ` Robert Schuster

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.