Commit Graph

14 Commits

Author SHA1 Message Date
Steve McIntyre ad1906c27b Even more accurate size estimation; reduce how much we need to run mkisofs 2006-12-11 17:52:25 +00:00
Steve McIntyre 277fc58f3d When rolling back, cope with package names that are not regexp friendly 2006-12-11 15:47:18 +00:00
Steve McIntyre 50058df56f * Improve performance: rewritten tools/make_disc_trees in perl so we
can call add_packages directly as a perl function rather than via
    fork/exec all the time. Re-arranged tools/add_packages to make
    this work.
  * Improved logging in add_packages.
2006-12-10 18:57:29 +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 9faa83afcf Fix the new Packages file generation to cope with LOCAL packages
too. A simple change to add checking for /local/ ; hopefully it will
do the trick.
2005-12-14 01:38:40 +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
Christopher Lawrence e81ac28c70 Added support for a local mirror of security.debian.org. Setting
$SECURITY to the path of the mirror will include any updated packages
in the Packages file for the given distribution and architecture.
2002-03-21 18:30:24 +00:00
Raphaël Hertzog bd78332c87 * Accept non-us section name (even if non-US is the official name to use). 2001-08-21 19:07:43 +00:00
Raphaël Hertzog 8d5ca3775b * Fixed a bug where some symlinks where not created because the
directory where they should be created didn't exist yet.
2001-03-18 19:01:36 +00:00
Raphaël Hertzog 9ad3d70bc4 * Fixes several bug caused by changes in the way binary-all packages
are referred to in the Packages files. Closes: #76178
* Does now handle sources for a local repository correctly. Closes: #76179
* Fix a bug in make extras. Closes: #76181
* Added a commodity local symlink for old-fashioned tools like multi_cd
  which want local packages in dists/local/local. Closes: #76186
* Many thanks to Vladimir Michl who provided me patches for the 4 bug
  mentionned above.
* Changed mirror_check to use case insensitive pattern matching for
  detecting headers. Closes: #70838
* Documentation updates about the SIZELIMIT stuff and bootable CDs.
  Closes: #72067, #68913
2000-11-12 22:41:45 +00:00
Steve McIntyre 03b9552049 Cope with field case change in the Packages file: Filename to FileName. Match this field case-insensitively. 2000-09-05 23:12:54 +00:00
Raphaël Hertzog 898a7e92f8 * Patch from Joey Hess for LOCALDEBS.
* Patch from Michael Schlueter for a bugfix related to forcenonusoncd1.
* Patch from myself : s/*.packages/?.packages/ in tools/scanpackages !
  It's a problem that appeared with the use of FORCENONUSONCD1 and LOCAL.
2000-06-30 00:04:03 +00:00
Raphaël Hertzog 8f95811e0c * Corrected the way it handles arch=all packages. It was assuming that
such a package would always live in binary-all, but apparently that's
  not the case. I'm now checking if the file in binary-$ARCH is a
  symbolic before assuming that.
2000-01-21 21:22:03 +00:00
Adam Di Carlo e83ef58217 Initial revision 1999-11-11 17:10:37 +00:00