Commit Graph

35 Commits

Author SHA1 Message Date
cd-builder user 370193149e More changes needed for the netinst including firmware. Set up build "C" to work the same as build "2" in most respects. 2010-05-27 13:33:26 +00:00
Frans Pop 45ae0b76bc Add path when sourcing CONF.sh for compatibility with dash
Spotted by Ian Campbell.
2009-08-07 14:06:09 +00:00
Frans Pop 1eac5a9d65 Generate tasks dynamically; separate task files per distro release
All tasks files are moved to ./tasks/<codename> subdirectories so they
can be more easily kept up-to-date with specific distro releases.

Always generate the debian-installer and tasksel tasks dynamically:
- all task files for the desired suite are copied to the working
  directory at the beginning of each build, and are used from there;
- the debian-installer and tasksel tasks are no longer included in
  releases but are always created automatically at build time; this
  means users no longer need to run the generate_di_* scripts or the
  update_tasksel script;
- the popcon task file will remain included as a static file, but plan
  is to add an option to update it automatically for each build; reason
  is that updating it requires network access.

Bump version to 3.1.
2008-11-13 23:19:30 +00:00
Frans Pop d48db452d6 Make use of MAXISOS and MAXJIGDOS more consistent 2008-10-14 08:21:57 +00:00
Frans Pop 13f5f20f46 Allow to skip generating MD5 and SHA1 sums files 2008-09-20 19:36:42 +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
Frans Pop 404c54f656 build.sh: use correct generate_di+k_list for netinst CD
After the earlier change in generate_di+k_list in this release, this
script should also use the debian-installer+kernel task for the
requested codename, and not the used D-I release. This brings the
building of netinst CDs back in line with full CDs.
2008-07-18 15:19:30 +00:00
Frans Pop 5c7c79d9f1 Architectures to build need to be passed as a single argument
Additional changes:
- fail if more than one argument is passed
- update comment describing script
2008-05-20 09:27:01 +00:00
Steve McIntyre fdf55985a4 * In build.sh, use $DI_CODENAME for installer task files rather than
$CODENAME - allows for sid builds more easily etc.
2007-08-26 15:01:10 +00:00
Steve McIntyre 58e9b0005c Remove the SKIPMIRRORCHECK variable, now completely obsolete 2006-12-23 00:48:33 +00:00
Steve McIntyre a3ca8e7c21 Make the choice of config file more explicit 2006-12-08 11:40:16 +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 0d08a2a2d7 Fix simple logic problem: s/// 2006-12-04 11:41:28 +00:00
Joey Hess 6dc383b0df typo 2006-11-30 03:25:39 +00:00
Joey Hess 39ae9a2797 * build.sh: Don't force IMAGETARGET to bin-official_images when NOSOURCE
is set, if IMAGETARGET is also already set, as in a kde cd build.
2006-11-29 22:57:52 +00:00
Steve McIntyre 2e1eef1c87 List which config file we're using 2006-11-23 00:34:27 +00:00
Frans Pop 522032c9af Don't check mirror for source if NOSOURCE is set; improved error checking for mirror checks 2006-10-07 00:11:28 +00:00
Frans Pop fbcc342efa Introduce new environment variable NOSOURCE that allows to build CD images
using a local mirror that does not contain source files. This new variable
obsoletes setting IMAGETARGET, though that is still supported for backwards
compatibility.
2006-10-01 19:39:11 +00:00
Steve McIntyre c093888cb2 Checking in JTE work to the trunk. 2005-12-07 00:09:39 +00:00
Santiago Garcia Mantinan 1619ec160a Add tools/calc script to update .calc files with up to date estimations on
the iso size parameters.
Update .calc files with up to date estimations.
Update debian-installer tasks.
2004-10-06 20:38:25 +00:00
Santiago Garcia Mantinan fdb0ab06ed Change build.sh to allow building non complete CDs, like netinsts. 2004-08-20 09:19:49 +00:00
Petter Reinholdtsen ae64f372b5 Use DI_CODENAME to locate the installation system. This make it
possible to use debian-installer with Woody CDs.
2004-07-11 09:34:59 +00:00
Steve McIntyre 70d317d202 Added support for SIZE_MULT_x when calculating full disc sizes. Best
use is on m68k and powerpc images where HFS hybrid metadata seems to
add ~10% to the size of the image.
2004-07-09 14:50:34 +00:00
Petter Reinholdtsen e2d87d10ae Make it possible to change which images to build using CONF.sh. 2004-06-29 22:15:58 +00:00
Petter Reinholdtsen 3ec0227ca8 Make it possible to give different CONF.sh files to build.sh. 2004-06-29 22:13:17 +00:00
Raphaël Hertzog f39afce541 - SKIPMIRRORCHECK=yes can disable the mirror check in build.sh
- Fix a bug that prevented udebs to be included.
2003-01-19 15:00:40 +00:00
Tollef Fog Heen 40c7cb2411 Patch courtesy of Petter Reinholdtsen, hand-applied because of conflicts.
- Preserve timestamps when copying files into the CDs
 - Make sure build.sh can run in -e (stop on error) mode
 - Report if packages needed by debootstrap is missing on a CD
 - Report how much space is reserved on each CD
 - Handle boot-floppy directories without documentation
2002-07-11 22:01:44 +00:00
Steve McIntyre 5b892f4ae9 Added support for DVD-sized images. Specify default image sizes in
CONF.sh as DEFBINSIZE and DEFSRCSIZE

build.sh and build_all.sh now use these settings to calculate the
packages and source files to go on each disk, using bc - shell
arithmetic cannot cope with > 32-bit numbers

use the md5sum from the textutils package - dpkg's md5sum cannot
handle large files.
2002-04-07 16:26:59 +00:00
Steve McIntyre 07417d6ed1 Cope with missing boot images
Look for boot sizes on more than just the first 4 CDs
2001-12-16 23:15:07 +00:00
Ben Collins 22d6caf0e7 Edited boot-alpha
Added extra file to help fine tune each arch's CD size
2000-06-11 13:12:56 +00:00
Ben Collins faf851e3dd oops 2000-05-22 14:47:28 +00:00
Ben Collins 3855489bec Better guess at the size of bin CD 1 2000-05-22 13:09:59 +00:00
Raphaël Hertzog a02ac07d1c * Reversed some changes made by Dan. Corrected build_all.sh
& build.sh with good sizes.
2000-05-01 09:16:59 +00:00
Dan Jacobowitz 0b6a1c2ebf PowerPC boot support 2000-05-01 04:59:02 +00:00
Adam Di Carlo e83ef58217 Initial revision 1999-11-11 17:10:37 +00:00