Re: [poky] Bashism in rootfs_deb.bbclass

From: Richard Purdie <richard@openedhand.com>
Date: Tue Aug 21 2007 - 10:52:04 EDT

On Tue, 2007-08-21 at 08:41 -0500, Matt Hoosier wrote:
> On 8/20/07, Richard Purdie <richard@openedhand.com> wrote:
> > On Fri, 2007-08-17 at 22:51 -0500, Matt Hoosier wrote:
> > > The i686 staging directory's apt-rootfs.conf seems to insert a correct prefix:
> > [...]
> > > And the run.do_rootfs script sets that APT configuration to be used:
> > >
> > > export APT_CONFIG="/home/hoosier/poky/build/tmp/staging/etc/apt/apt-rootfs.conf"
> >
> > Is one of these a typo or are these two different paths (one with
> > i686-linux in and one without)?
>
> I haven't forgotten about this, rather just haven't had a chance to
> prod at the dpkg-based rootfs again. Thanks for spotting what I hope
> is a typo.

tmp/staging/etc/apt/apt-rootfs.conf is the correct path and there isn't
an apt-rootfs.conf in my local builds's i686-linux staging area if that
helps.

I wondered if there was some issue with builds on non-debian systems so
I tried deb based images on a slackware box. I found two issues:

1. apt-ftparchive wasn't being built by apt-native due to problems
linking db-native (which apt-native didn't DEPEND on).

2. I was seeing random failures in the image creation with what looked
file filesystem or memory corruption. I remembered we run all this under
fakeroot and upgrading to a newer version of that seemed to fix things.

Both issues are fixed in poky trunk. I don't know if either is related
to the problem you're seeing but they're probably worth watching out
for.

Cheers,

Richard

-- 
To unsubscribe send a mail to poky+unsubscribe@o-hand.com
Received on Tue, 21 Aug 2007 15:52:04 +0100

This archive was generated by hypermail 2.1.8 : Tue Aug 21 2007 - 12:00:06 EDT