Commit Graph

21 Commits

Author SHA1 Message Date
Frans Pop e9c608e6b7 Add support for producing disks with (optional) extra variants
This patch from Ian Cambell adds the generic support code:
   * CONF.sh:		Add $(VARIANTS) configuration variable.
   * eash-build.sh:	Add command line parameter to enable variants.
   * Makefile:		Define VARIANT_xxx when preprocessing package list.
   * boot/?/common.sh:	Add a function for checking if a variant is enabled.
   * generate_di_list: 	Allow variant overrides in udeb exclusion list.

Variant support is documented in docs/README.variants

The intention is to use this support to add support for installing a
Xen guest from an ISO image.

The approach to use varriants was originally suggested by Frans Pop.
2009-08-09 14:32:55 +00:00
Steve McIntyre cd5a1d2c90 * Merge patches from Jonathan Hall:
+ Add better support for extra components, improve non-i386 mirror
    support (Closes: 514237)
  + tools/update_tasks no longer assumes i386 for all builds (Closes: #513497)
  + tools/which_deb no longer assumes i386 for all builds (Closes: #513498)
* For source-only builds, don't do any task updates as they're not
  useful anyway.
* Last high-urgency upload, ready for Lenny!
2009-02-12 00:22:17 +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
Santiago Garcia Mantinan c580e320e8 Start to add armel support. 2008-05-04 17:38:52 +00:00
Steve McIntyre 8a277132e8 * Removed m68k from the list of arches in generate_di+k_list and
generate_di_list to reduce warnings.
2007-04-10 23:44:56 +00:00
Steve McIntyre a46520a7fd Remove sh from the arch list in generate_di_list, to make builds quieter 2006-11-30 21:50:29 +00:00
Frans Pop f2dbec3701 Add missing envvar checks in tools/generate_di*_list scripts 2006-02-06 11:17:58 +00:00
Steve McIntyre 361b828546 Typo fixes 2006-01-25 21:44:48 +00:00
Steve McIntyre 847cb4dcdf Make sure that all the scripts use Packages.gz rather than Packages
when looking up metadata in the archive - Packages is deprecated.
2006-01-25 21:08:05 +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 24d88a2b04 - Since amd64 is not on standard debian mirrors, and generate_d-i+k_list
must be runnable on them, make it chack for absence of amd64 Packages
      files and add a dummy kernel for amd64. This will need to be manually
      kept up-to-date by the amd64 people for now.
    - Didn't fix generate_di_list the same way, since doing so would be too
      hard. Next time tasks/debian-installer is updated using this script on
      a machine w/o the unofficial amd64 archive, the am64 info in the file
      will be lost.
    - Add DO NOT EDIT warning messages to generated files in cvs.
    - Check and revert manual modifications to tasks/base-sarge. This file is
      automatically generated and those mods would have been lost:
        - Add fileutils to generate_d-i+k_list, "until kernels get fixed",
          whatever that means.
        - arcboot was already in generate_d-i+k_list.
    - Update tasks/debian-installer+kernel using generate_d-i+k_list.
    - Sort package lists in tasks/base-sarge to ease comparisons when
      updating.
    - Update tasks/base-sarge for debootstrap 0.2.45. This includes the
      following removals:
         - aboot: already listed in debian-installer+kernel
         - gcc-3.2-base, libdb2, libgcrypt1, libgnutls7, libident,
           libdb2, libtasn1-0: obsolete
         - modconf: obsoleted by d-i
         - setserial: not base anymore
         - slang1: turned into slang1a-utf8
         - libident: not needed by base anymore
         - lilo: in debian-installer+kernel
         - mbr: not installed anymore
         - pcmcia-cs: in debian-installer+kernel
         - syslinux: not installed
         - "filesutils": typo; fileutils in generate_d-i+k_list for m68k
         - quik: in debian-installer+kernel
         - yaboot: in debian-installer+kernel
         - arcboot: in debian-installer+kernel
         - delo: in debian-installer+kernel
      And the following additions:
         - libdb4.2, libgcrypt11, libgcrypt7, libgnutls10, libgnutls11,
           libgpg-error0, libtasn1-2: new libraries
         - console-tools: now installed by debootstrap even on s390
2005-01-02 23:31:45 +00:00
Steve McIntyre f398111b10 Added initial amd64 support 2004-12-08 23:23:09 +00:00
Petter Reinholdtsen 0df4d3b579 Typo. 2004-07-11 15:35:36 +00:00
Petter Reinholdtsen 979f6666f3 Better error messages when the config is missing or the mirror is incomplete. 2004-07-11 15:22:58 +00:00
Petter Reinholdtsen c2bd5f1e8d Avoid illegal dash (-) in cpp architecture defines. Patch from Colin Watson. 2004-07-11 09:44:00 +00:00
Petter Reinholdtsen c467ac350d Make generated debian-installer list easier to read by adding
arch info at the end of an #ifdef block.
2004-03-10 22:03:03 +00:00
Santiago Garcia Mantinan 80faafdf64 Add DI_CODENAME variable make it posible to build cds with a special
debian-installer version.
2004-03-08 13:43:40 +00:00
Joey Hess a594a25066 - Add my exclude_udebs lists, for general and i386, and modify
generate_di_list to not include udebs from those lists onto the
      cdrom, to save space on the netinst cds.
2003-12-24 17:19:14 +00:00
Josip Rodin 0a28a20b7f extended regexp isn't necessary, simply search for an empty pattern; formatting 2003-07-24 15:21:05 +00:00
Santiago Garcia Mantinan de073349e3 Debian-installer related changes (update) 2003-05-10 15:16:08 +00:00
Alastair McKinstry 28c81a492d Generate debian-installer task file for multiple archs 2003-03-08 14:08:00 +00:00