[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can debian-cd build *.jigdo and *.template files without building the iso's ?



On Mon, Apr 04, 2011 at 12:12:36PM -0400, Scott A wrote:
>Lets say I have amd64-BD1.iso.  Can I use debian cd to build a first 8G iso
>from it?
>
>I took a look at the source code and I believe it is possible but I wanted
>to be sure before I really dug into it.
>
>Can debian-cd build  *.jigdo and *.template files without building the iso's
>?

Yes, that's exactly what we do for the BD jigdos every week.

>Can it do that without a local archive?

Nope, that's the hard bit. It needs access to all the needed files.

>Where is the code that interfaces with popcon and chops  up the repository?

Follow the code path through the Makefile - we use the task(s)
specified, #including other files as necessary, to generate a list of
all the packages that are wanted (rawlist). That's cleaned up
(genlist), then we sort dependencies (tools/sort_deps) and make
temporary disc trees (tools/make_disc_trees.pl). Once we have the
trees made, we run tools/make_image to actually generate the ISO/jigdo
images as required.

>Can debian-cd  play with a mounted iso as the archive (use a mounted BD iso
>to make a 15G iso ) or I use apache? file:/ versus http://
>sudo mount -o loop /.../*BD.iso /mnt/debian

Potentially, but the code to work that way may have rotted since we
don't use it in production. The normal method is to build on the same
filesystem as the archive you're using, then you can use hard
links. There are also some bits of the archive that we need at runtime
that *don't* get put on the CDs/DVDs.

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"The problem with defending the purity of the English language is that
 English is about as pure as a cribhouse whore. We don't just borrow words; on
 occasion, English has pursued other languages down alleyways to beat them
 unconscious and rifle their pockets for new vocabulary."  -- James D. Nicoll


Reply to: