AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070921152210.1fc481c3@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E056C90FA@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Fri, 21 Sep 2007 15:24:04 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Subject: Re: still have troubles with debootstrap --unpack-tarball
Message-ID: <20070921152404.61b10447@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E056C90FA@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E056C90FA@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Fri, 21 Sep 2007 15:12:58 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> Andy,
>      I would like to get mk-mipsel-deb-rootfs working with the
> -unpack-tarball option but I hit a snag. 
> 
> I know I need to make some changes to the file to put the option ahead
> of etch and $ROOTFS in the script, but even after doing that I get a
> message that debootstrap can't find the packages.  Could it be that it
> is exploading the tarball at the top of the rootfs instead of in
> /var/cache/apt/archive?
> 
> Just thought I would ping you to see if you had some idea.
> 
> Larry

Damn it!  I'm missing out on the pizza and beer!  Oh well, I can do
some whiskey shots here at home and get just as wasted w/o drinking as
much liquid.  But where would the fun be in that.  I'll just work
instead.  I really want to get exim done and off my list.

Anyway, I have had that tarball method working at one time.  I don't
know if it was ever in the makefile(s), but it definitely worked.  You
just have to point debootstrap at the tarball.  And I think you need to
have the packages be at 0 depth in the tarball, ie., you have to cd to
the package directory and create the tarball there, like 

$ (cd linux/Pkgs/binary && tar cf /tmp/foozball.tar *.deb)
$ debootstrap blah blah --unpack-tarball /tmp/foozball.tar

Give something like that a try.  If you want, you can attach the
makefile and the deboostrap script to an email and I can look them over
if you still can't get it to work.

Cheers,

a
