Commit Graph

20 Commits

Author SHA1 Message Date
Steve McIntyre 7bd5c98491 * On release builds, use the full version number including all the dots
(e.g. 6.0.0 for the squeeze release instead of 600).
2010-09-14 20:23:12 +00:00
Steve McIntyre 7f32c206e3 When generating both iso and jigdo files, make sure that the iso files
are at least as new as the jigdo files, as this helps people
mirroring. Closes: #587774
2010-07-02 22:43:46 +00:00
Steve McIntyre 880875a3e4 fix indentation 2010-07-02 22:15:21 +00:00
Frans Pop 78905cc873 make_image: avoid code duplication and improve whitespace consistency 2008-12-05 09:08:16 +00:00
Frans Pop b094f77592 make_image: ensure correct quoting of variables when calling genisoimage
By first assembling the command in a variable and then using eval to execute it
we avoid both duplication and errors passing quoted options in $MKISOFS_OPTS.
2008-12-05 09:08:13 +00:00
Frans Pop d48db452d6 Make use of MAXISOS and MAXJIGDOS more consistent 2008-10-14 08:21:57 +00:00
cd-builder user 7462c548dc * Improve control over production of iso and jigdo files. Replace the
simple DOJIGDO config option with MAXISOS and MAXJIGDOS, allowing
    more flexibility. Allows us to only produce a small number of iso
    images for less-popular architectures but still produce all the jigdo
    files, saving a lot of disk space.
2008-09-10 22:16:18 +00:00
Steve McIntyre 55f4db876a + Slightly change the output naming of the disc images to make it safer
to produce more then one type of multi-arch disc
2006-12-30 15:13:07 +00:00
Steve McIntyre 35743cde5f As a last-minute step before building images, fill in the TOTALNUM
value in the README files in the root of each image.
2006-12-29 02:44:22 +00:00
Steve McIntyre a269a8fd4c Merge of changes from Steve's development branch to take us to
debian-cd version 3.0.0. Highlights:

  * Support now added for multi-arch CDs/DVDs, including mixed
    binary/source discs. Multi-arch discs should be bootable on those
    multiple arches, modulo boot-sector clashes. Extra support added
    in boot-i386 and boot-amd64 to make the 2 main arches happily
    co-exist.

  * Disc sizing is now much more intelligent - sizes are defined
    depending on the disk type chosen at the start, and discs are now
    filled exactly to those sizes while files are added rather than
    the old up-front guessing method. Equally, the metadata on the
    disc (Packages, Packages.gz, Sources, Sources.gz, md5sums.txt) is
    generated as much as possible while this is happening to make the
    sizing code incredibly accurate. Using this method of disc sizing
    means that customising discs should be much easier/safer - either
    add custom contents at the start and debian-cd will fill the
    remainder of the disc, or afterwards roll back the packages on the
    disc and add extras later.

  * Source is now treated as (almost) just another arch, with most of
    the special casing for source hidden internally. If asking for
    source-only discs, they will simply be built using all the
    available sources. If combined with other arches, the sources will
    automatically be chosen to match the binary packages. Meeting GPL
    requirements was never so easy!

  * Removed lots of old cruft to clean up the codebase:
    + non-US support
    + woody support
    + lots of old support scripts that have been made redundant
    + significantly simpler Makefile, much easier to follow
    + old boot-$ARCH.calc files for estimating boot-file sizes are now
      (obviously) obsolete and therefore gone
2006-12-07 23:09:01 +00:00
Steve McIntyre ff845c2120 * Dump the mkisofs command-line used for each CD into .disk/mkisofs
as we make it. Closes: #258099
2006-11-28 00:19:55 +00:00
Steve McIntyre 4c31948c4b Quick fix 2006-11-27 04:16:52 +00:00
Steve McIntyre 42583ba7b4 * Stop using the silly .raw extension for output images, use .iso instead
* Improve support for different disk types. Specify DISKTYPE in CONF.sh,
    and it will affect both the output name later (so it's now possible to
    distinguish between CDs and DVDs). Defaults to CD if not otherwise
    set. DISKTYPE will be used more in the future for sizing too, but that
    merge can wait a while longer yet. Closes: #361422
  * Use DISKTYPE and COMPLETE values to create the file .disk/cd_type for
    the installer to use.
2006-11-27 03:19:31 +00:00
Steve McIntyre 38aa21763a * DEVEL BRANCH MERGE: Change mkisofs_opts usage: add a shell function
for the boot-$arch scripts to use rather than simply appending to the
    $N.mkisofs_opts file directly. Needed for forthcoming multi-arch
    support.
2006-11-27 02:15:29 +00:00
Otavio Salvador 97739af224 * Applied patches that are being in use at O.S. Systems and that are
useful to others:
  - allow to use different name for final iso image;
  - allow to set the script to be used in debootstrap to check if all
    base need package are present;
2006-09-18 12:29:57 +00:00
Steve McIntyre 773b972935 Fix the "shortinfo" output in jigdo files 2005-12-18 19:34:35 +00:00
Steve McIntyre 2358dd635e * MAJOR CHANGE: Stop using apt-ftparchive to generate the Packages
files on each CD/DVD; instead grab the details for each package
  directly from the Packages file in the archive. MUCH MUCH faster,
  and uses less code too. Affected scripts:

  + tools/scanpackages now just generates Release files. argv[1] used
    to be "scan" or "install", but no longer used

  + tools/add_debs slightly simplified - old code removed

  + tools/add_packages now dumps out Packages file fragments as each
    .deb and .udeb is copied into the temporary trees

  + WARNING: Any uses of the "before-scanpackages" hook may now break
    - shout if you're affected.
2005-12-13 02:04:33 +00:00
Steve McIntyre b10be4a9dc Fixed shell bug in DOJIGDO=1 mode, should now work... 2005-12-12 01:12:28 +00:00
Steve McIntyre 5e16cfe7f9 Quote the params to make_image to make sure they work... 2005-12-08 23:46:42 +00:00
Steve McIntyre 1f19193d3c Split out the actual ISO/jigdo creation code from the Makefile into
tools/make_image
2005-12-08 22:55:19 +00:00