Commit Graph

100 Commits

Author SHA1 Message Date
Frans Pop c1c4988efa Split out languages supported by D-I and tasksel from task.list files
* Instead of duplicating what language tasks should be included in each
    task.list.* file, let update_tasks add them dynamically at runtime from a
    single list of languages supported by tasksel and D-I. This also makes
    maintaining the lists a lot less painful.
  * Indicate which tasks are "secondary" by adding a "-" suffix in task.list.*
    files instead of hardcoding it in update_tasks.
2008-12-05 14:12:10 +00:00
Steve McIntyre 4c0e41e465 * Add support for tracking which packages we've extracted binaries from,
so that we can archive them (both binaries and sources). If we need
    anything, we will list it in CD$N.pkgs_extracted so that external
    scripts can pick it up and do whatever's needed.
  * Minor changes to the interface of tools/which_deb to accommodate that:
    now just lists the files *within* the mirror; it's up to callers to
    prepend ${MIRROR} as needed.
2008-11-23 18:19:25 +00:00
Frans Pop a0a21c149c At least mention EXCLUDE in CONF.sh 2008-11-13 23:19:35 +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 ef7069ec7a CONF.sh updates
- change default CODENAME to lenny
- change example paths to mirror to /srv/mirror instead of /mirror
2008-10-14 08:40:58 +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
Steve McIntyre 0f046a93ab cleanup of CONF.sh 2008-07-29 18:58:45 +00:00
Steve McIntyre b402ea3ba7 * Applied patch from Robert Millan <rmh@aybabtu.com> to allow choice of
desktop when building for win32-loader. Closes: #491300.
2008-07-29 17:29:32 +00:00
Frans Pop d8c8f095e6 Support including packages from proposed-updates
This can be useful for pre-release testing of point releases, but should
be used with care when CDs are intended to be published.
2008-07-13 11:45:10 +00:00
Steve McIntyre 71039d6ead * Add support for dual-layer DVD, Blu-Ray and dual-layer Blu-Ray
discs. Nothing special, just extra sizes recognised.
2008-06-28 14:08:41 +00:00
Frans Pop 42b3e73167 Lenny will be version 5.0 2008-03-08 18:54:57 +00:00
Raphaël Hertzog 8fd196b6b0 Add new OMIT_DOC_TOOLS option to work with (partial) mirrors lacking the
doc and tools directories.
2008-03-05 21:17:42 +00:00
Frans Pop a39f2514a5 * CONF.sh: Don't set MAXCDS by default; was probably changed by accident. 2007-12-11 21:51:36 +00:00
Frans Pop 808cc88159 * CONF.sh: add non-invasive option to avoid sourcing CONF.sh twice when
using wrapper scripts.
2007-12-11 21:43:30 +00:00
Steve McIntyre 2fae5806e9 * Don't hack with the Release file unless EARLY_BUILD_HACK=1.
Closes: #423463
2007-05-12 00:33:34 +00:00
Steve McIntyre e48d79db5b Improve commenting around INSTALLER_CD option further 2007-01-24 15:38:30 +00:00
Steve McIntyre 67564df54c Improve commenting around INSTALLER_CD option 2007-01-24 14:43:44 +00:00
Frans Pop f245fa4115 * Remove SRCEXCLUDE which is no longer supported. 2007-01-18 23:32:23 +00:00
Frans Pop 0916c1be82 Envvar NOSOURCE was obsoleted; minor whitespace cleanup 2007-01-05 06:49:52 +00:00
Steve McIntyre d53fd344a7 Update CONF.sh, better commenting for EXCLUDE syntax 2006-12-29 05:59:45 +00:00
Steve McIntyre 9e51f3e13a Clean up comments in CONF.sh - remove outdated mention of jigdo-file 2006-12-21 14:36:45 +00:00
Steve McIntyre b600a32f13 * Update documentation to at least vaguely match how things work.
* Added support for hook scripts in a few places around the CD
 	creation process, to help people customise their CDs. Quite a
	lot of refactoring needed in make_disc_trees.pl needed to do that.
  * Removed more cruft:
    + old defs in CONF.sh
    + old defs and rules in the Makefile
    + tools/add_secured
2006-12-19 01:58:41 +00:00
Frans Pop 7741fc3c83 CONF.sh: don't determine ARCHES if already set; don't export CPU and KERNEL 2006-12-18 15:22:35 +00:00
Frans Pop 9227f45460 * CONF.sh: case can handle empty variables fine; whitespace cleanup 2006-12-18 15:14:49 +00:00
Steve McIntyre 27bf152cb6 Don't set DI_CODENAME separately by default 2006-12-18 14:38:10 +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 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
Joey Hess 80ea9ced5d * Add new language tasks to task.list.
* Add files to support building KDE CDs/DVDs. These would be images
  hardcoded to install the KDE desktop task, and to create them, configure
  CONF.sh as follows:
    TASK=tasks/Debian_etch-kde
    KERNEL_PARAMS='tasksel/first="kde-desktop, standard"'
    MAXCDS=1
    NOSOURCE=1
2006-11-15 23:07:42 +00:00
Frans Pop fdbcef329a Set correct version for Etch (4.0) 2006-11-14 10:14:30 +00:00
Steve McIntyre 11cc7d189a * s/sarge/etch/ and s/3.1/3.2/ in CONF.sh
* Last upload ready for the etch release (hopefully)
2006-10-08 12:54:49 +00:00
Steve McIntyre 9bb616bedf Minor changes to README.html.in and generation of README.html: cope
with unofficial, official beta and official release CDs better. Let's
not repeat the sarge mistake. Closes: #312604
2006-10-05 23:08:09 +00:00
Steve McIntyre c065e67805 * Update the suggested DVD size in CONF.sh to a saner number
* Re-sync CONF.sh over debian/CONF.sh
2006-10-05 22:55: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 f74103a020 Fix in shell logic for ARCH detection; make sure we don't have a
non-zero exit code, as build.sh will fail then.
2006-06-08 00:46:58 +00:00
Steve McIntyre 0376061922 Add better GNU/kFreeBSD support in setting ARCH in CONF.sh.
Closes: #327470
2006-06-08 00:26:24 +00:00
Steve McIntyre f7a94acfc8 Cope with mipsel boot images moving location. Closes: #349563 2006-01-24 00:08:23 +00:00
Steve McIntyre f14e1a50c5 Last bits of JTE merge 2005-12-07 00:28:18 +00:00
Joey Hess c55c1cc139 * Since debootstrap is in sbin, add sbin to PATH.
* Remove other random hadcoded paths to programs in bin.
2005-09-14 18:28:10 +00:00
Joey Hess c540a0d13e * Now build etch CDs by default.
* Remove DH_CODENAME unset from CONF.sh, to allow it to be passed in
  via the environemtn. Closes: #326814
2005-09-07 19:18:41 +00:00
Joey Hess 1904f2c2b8 * Now build etch CDs by default. Closes: #326814 (except the unset bit
possibly)
2005-09-07 19:14:12 +00:00
Steve McIntyre 6c649c1932 Added patch from Frans Pop (#320206) to make EXCLUDEs use $CODENAME
Update changelog - the sed hack for the sarge release has been removed again
2005-07-30 00:00:47 +00:00
Joey Hess 5d29448ae3 - Use dpkg --print-architecture instead of now-deprecated
--print-installation-architecture
2005-06-12 22:57:24 +00:00
Steve McIntyre 74ed0539fd Multiple changes before final release:
* Add release notes to CD#1 on full CD/DVD sets, and link them from
    README.html
  * Tweak the generated Release files to be "stable" rather than
    "testing"
  * Added Sven's patch: a pegasos forth boot script
2005-06-04 14:36:59 +00:00
Joey Hess dab6547bfa - debian-installer task files renamed to include distro name and branched
for etch.
2005-05-15 16:46:50 +00:00
Joey Hess 42a763d6e7 - Add OMIT_MANUAL variable, which can be set to 1 to drop the install
manual from small CDs to save space. We will probably be adding several
      new translations, and possibly PDFs, and that would use too much space
      on the small CDs.
    - Also make the README link to the manual on the Debian web site if
      OMIT_MANUAL=1.
    - Update the README to mention manual translations are available.
2005-03-03 02:03:45 +00:00
Joey Hess f2a09e36ce fix YA accidental commit of this file 2005-02-04 19:55:43 +00:00
Joey Hess df15e58082 Exclude more new kernel images from CD1. 2005-02-04 19:54:19 +00:00
Joey Hess 30cd72ddd5 fix accidental commit 2004-09-23 16:11:22 +00:00