Re: How to get all dependent source packages

2009-07-19 Thread Osamu Aoki
Hi,

On Sun, Jul 19, 2009 at 11:34:33PM +0800, sha liu wrote:
> 2009/7/19 Osamu Aoki 
> > On Thu, Jul 16, 2009 at 07:46:59PM +0800, sha liu wrote:
> > If you are building installation image only, you may not need dpkg.
> 
> Why not? I thought installation image should prepare all essential  packages
> which definitely includes dpkg if it's a Debian image, right?

I thought you are building binary image file with CLFS.  This is not
Debian installer nor this is any Debian system.  So dpkg is not required.
 
> > Anyway, please google and ead things like:
> >  http://cross-lfs.org/view/clfs-embedded/x86/index.html

Have you done this?  As I found this now, it is a nice document.

You should also read http://trac.cross-lfs.org/ and their book.

You do not get single line answer if there is book for it.

I think you also need to learn some basics of Debian system by reading
Debian documentations.

Osamu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to get all dependent source packages

2009-07-19 Thread sha liu
2009/7/19 Osamu Aoki 

> Hi,
>
> On Thu, Jul 16, 2009 at 07:46:59PM +0800, sha liu wrote:
> > Hi everyone,
> >   What I want to do is:
> >   If I want to build a package(for example dpkg) from source, how
> > should I recursively get all the dependent *source* packages of it?
> > This means not only the direct dependency of the package but also the
> > dependent of the dependent...I know "apt-get build-dep" will only
> > *install* the dependent *binary* packages.
>
> Do you really mean "ALL".  You should start with build-essential
> packages if you mean to say all build-dep packages.  But I do not know
> why you do this.  You are doing cross compile.  I do not see point of
> downloading source for all build-dep.

I  just to build the dpkg. So I think getting all source packages of
build-dep is the first step. Then I'll build and install the build-dep and
finally build dpkg. Is this the way to go?

>
>
> I guess this is best answered by reading CLFS itself.  I am no expert.
>
> >   I want to do this because I need to build dpkg on a CLFS system
> > (think it as a minimal linux system without debianization), and it's
> > crazy to download all dependent source packages of dpkg, right?
>
> Not really if you need dpkg as you say for your system. After all you
> asked to have "Cross-Compiled Linux From Scratch" (a.k.a CLFS).
>
Yeah, I just realize that. Thanks for your re-confirmation :-)

>
> If you are building installation image only, you may not need dpkg.

Why not? I thought installation image should prepare all essential  packages
which definitely includes dpkg if it's a Debian image, right?

>
>
> Anyway, please google and ead things like:
>
>  http://cross-lfs.org/view/clfs-embedded/x86/index.html
>
> Osamu




--
Best,
Sha Liu


Re: How to get all dependent source packages

2009-07-18 Thread Osamu Aoki
Hi,

On Thu, Jul 16, 2009 at 07:46:59PM +0800, sha liu wrote:
> Hi everyone,
>   What I want to do is:
>   If I want to build a package(for example dpkg) from source, how
> should I recursively get all the dependent *source* packages of it?
> This means not only the direct dependency of the package but also the
> dependent of the dependent...I know "apt-get build-dep" will only
> *install* the dependent *binary* packages.

Do you really mean "ALL".  You should start with build-essential
packages if you mean to say all build-dep packages.  But I do not know
why you do this.  You are doing cross compile.  I do not see point of
downloading source for all build-dep.

I guess this is best answered by reading CLFS itself.  I am no expert.

>   I want to do this because I need to build dpkg on a CLFS system
> (think it as a minimal linux system without debianization), and it's
> crazy to download all dependent source packages of dpkg, right?

Not really if you need dpkg as you say for your system. After all you
asked to have "Cross-Compiled Linux From Scratch" (a.k.a CLFS).

If you are building installation image only, you may not need dpkg.

Anyway, please google and ead things like:

  http://cross-lfs.org/view/clfs-embedded/x86/index.html

Osamu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to get all dependent source packages

2009-07-16 Thread Alex Samad
On Thu, Jul 16, 2009 at 07:46:59PM +0800, sha liu wrote:
> Hi everyone,
>   What I want to do is:
>   If I want to build a package(for example dpkg) from source, how
> should I recursively get all the dependent *source* packages of it?
> This means not only the direct dependency of the package but also the
> dependent of the dependent...I know "apt-get build-dep" will only
> *install* the dependent *binary* packages.
>   I want to do this because I need to build dpkg on a CLFS system
> (think it as a minimal linux system without debianization), and it's
> crazy to download all dependent source packages of dpkg, right?


have you checked man apt-get look for build-dep

-- 
"If this were a dictatorship, it'd be a heck of a lot easier, just so long as 
I'm the dictator."

- George W. Bush
12/19/2000
Washington, DC


signature.asc
Description: Digital signature


How to get all dependent source packages

2009-07-16 Thread sha liu
Hi everyone,
  What I want to do is:
  If I want to build a package(for example dpkg) from source, how
should I recursively get all the dependent *source* packages of it?
This means not only the direct dependency of the package but also the
dependent of the dependent...I know "apt-get build-dep" will only
*install* the dependent *binary* packages.
  I want to do this because I need to build dpkg on a CLFS system
(think it as a minimal linux system without debianization), and it's
crazy to download all dependent source packages of dpkg, right?
--
Best,
Sha Liu