Commit Graph

225 Commits

Author SHA1 Message Date
Steve McIntyre 6f20b2d0b5 Change cpp usage in the Makefile to make error handling more reliable
Call cpp directly on our input task file instead of using it in a
pipeline. Not clear why this was ever done, and it obscures errors
like ENOENT (if the specified task file is missing).
2015-05-18 00:56:50 +01:00
Steve McIntyre 652bc73710 Update links for stretch 2015-05-03 21:29:54 +01:00
Steve McIntyre cd6276740e Make the mac netinst actually a netinst
INSTALLER_CD F needs to look like a netinst too
2015-03-27 14:07:15 +00:00
Steve McIntyre 7c0db7034b Add 586 kernels to replace 486 for i386 CDs 2014-10-31 15:27:13 +00:00
Steve McIntyre dceb0d9b67 Fix typos 2014-10-05 09:14:24 +01:00
Steve McIntyre 3855c0f58e Force MKISOFO=xorriso for arm64 too 2014-10-04 16:19:31 +01:00
Steve McIntyre d9504a3285 Improve correctstatus speed
Use "apt-cache show" instead of "dumpavail" in the Makefile.

Using "dumpavail" dumps all packages, while we're only interested in one
specific package. This wasts a log of cycles and time when many packages
need fixing.

Use "show $pkg" to directly dump only the requested package.

Use "--no-all-versions" to show only the candidate for installation.

Closes: #759343. Thanks to Philipp Hahn for the patch.
2014-09-10 16:43:52 +01:00
Steve McIntyre c379918467 Remove unused declaration of update_tasks 2013-11-05 01:24:38 +00:00
cd-builder user 677226f897 Tweak debootstrap handling:
The correct path for debootstrap code is /usr/share, not /usr/lib; use
that and assume it now.

Cope with the $(CODENAME) script not existing, and create a symlink to
sid where necessary. Just found in jessie - debootstrap needs
updating.
2013-05-07 00:29:55 +00:00
Steve McIntyre 9f329b5006 Check for DISKTYPE 2013-04-22 21:01:33 +00:00
Steve McIntyre 038c7d9c04 Remove the dpkg check for debootstrap version before passing the
--no-check-gpg option; we're not going to support debootstrap versions
so old that they don't support this flag, *and* the dpkg-query call
doesn't give us the right version anyway - we're using an extracted
copy from the archive, not the one that (might be) installed on our
build machine.
2013-04-19 16:26:36 +00:00
Raphaël Hertzog 417d8fd591 Tweak logic to handle keyring for APT and debootstrap
Use ARCHIVE_KEYRING_PACKAGE and ARCHIVE_KEYRING_FILE parameters
and always use the unpacked keyring instead of the system-wide one.

Thanks to Robert Spencer <rspencer@lbsd.net> for the patch.
2013-04-19 13:03:59 +00:00
Raphaël Hertzog ef1e317123 Use ARCHIVE_KEYRING parameter to not hardcode debian-archive-keyring and let derivatives use their own keyring package. 2013-04-12 08:43:07 +00:00
Steve McIntyre b7ea5d5530 Fix cpp warning in Makefile. Closes: #704342 2013-03-19 15:41:47 +00:00
Steve McIntyre 7bccd7b9ca * Extract debian-archive-keyring when setting up apt to avoid error
messages about missing keys. Closes: #703431
2013-03-19 15:33:53 +00:00
Raphaël Hertzog 1c4f1894cf Use debootstrap --no-check-gpg by default since many local mirrors
are not signed (such as temporary mirrors created by simple-cdd).
2013-03-01 11:00:36 +00:00
Raphaël Hertzog b77a268aa2 Update Makefile to set MKISOFS to xorriso by default when building
images for i386/amd64. Otherwise a build that doesn't set MKISOFS
and MKISOFS_OPTS fails.
2013-03-01 08:00:03 +00:00
cd-builder user 21785c08e5 Fix typo that broke source builds 2013-02-05 10:34:29 +00:00
Steve McIntyre 183ce1c83f Fix minor logic hole in source matching 2013-02-01 03:49:49 +00:00
cd-builder user a2e6782770 Remove -e bashisms from Makefile 2012-09-17 00:49:36 +00:00
Steve McIntyre 9ccd9c397f Switch over to working with new task-* metapackages. Closes: #672941 2012-06-05 17:04:04 +00:00
cd-builder user b986ae70f2 Add FORCE_FAIL, flag to force early build failure for infrastructure debugging purposes 2012-03-13 14:34:22 +00:00
Steve McIntyre 21ce30d63d Add configuration for the snapshot.d.o URL 2011-07-01 12:36:59 +00:00
Steve McIntyre 264d8436bd Add links to snapshot.debian.org into jigdo files 2011-07-01 12:26:05 +00:00
Steve McIntyre a43a892d75 Wrap ARCHES in quotes as it may contain spaces 2011-06-10 17:00:00 +00:00
Steve McIntyre 6b960f35e9 Silly Makefile bug 2011-06-10 16:39:38 +00:00
Steve McIntyre 9cc05fedae Silly Makefile typos 2011-06-10 16:28:24 +00:00
Steve McIntyre d872cea0c1 Remove the checked-in firmware task altogether, as it's not
useful. Generate it when needed using the new script
tools/generate_firmware_task.
2011-06-10 16:21:32 +00:00
Steve McIntyre 9a8262b706 Move the "firmware" task into per-release task dirs like it should
have been to start with.
2011-06-10 12:44:20 +00:00
Steve McIntyre 6e44e0ff27 start wheezy development; svn cp squeeze wheezy and s/squeeze/wheezy/ 2011-02-07 22:30:21 +00:00
cd-builder user b51b010838 pass on the jigdo opts to the sizing code in make_disc_trees.pl 2011-01-08 23:32:45 +00:00
Steve McIntyre 8e1cbeed1f Extend the mkisofs-override code to work with multi-arch too 2010-12-27 23:17:44 +00:00
Steve McIntyre fc722916d0 * Add code to make isohybrid images for i386/amd64:
+ Makefile: Add support for overriding the MKISOFS and MKISOFS_OPTS
      variables on a per-arch basis
    + CONF.sh: add working examples for this
    + tools/boot/squeeze/boot-x86: if configured to use xorriso, add the
      extra command line options to add the isohybrid MBR. Also work
      around a difference in ISO directory naming between genisoimage and
      xorriso.
2010-12-24 23:28:44 +00:00
Steve McIntyre e7e5fec52f Pass the base mkisofs options into make_disc_trees too. 2010-11-27 18:28:45 +00:00
cd-builder user e531a557c2 Add tentative support for omitting 486-class kernel bits in a build 2010-10-18 14:26:39 +00:00
Steve McIntyre 771f754516 Add support for the kfreebsd ports. Closes: #593629 2010-08-20 15:04:23 +00:00
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
Steve McIntyre b9c25ca204 * Add support for forcing firmware packages onto CD#1:
+ Add "FORCE_FIRMWARE=1" to CONF.sh to turn this on
    + Will pick up on packages in the "firmware" task and install them
    + Will also add sym-links to them in CD1/firmware so that new d-i code
      can find them easily.
    + Will add a short sentence into README.html/README.txt
  * Add top-level control of which checksums are desired for output images
    see the CHECKSUMS setting in CONF.sh
  * Fix some bashisms in tools/apt-selection.
2010-05-27 00:52:25 +00:00
Steve McIntyre 52ff98b0de Create apt/preferences.d in APTTMP, keeps newer apt from printing a warning. 2009-08-23 11:08:30 +00:00
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
Frans Pop 27c98b9a17 Add support for and update to squeeze
The Debian version for squeeze has already been set:
http://lists.debian.org/debian-release/2009/01/msg00682.html
2009-02-15 22:42:47 +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 ef7d2a8032 Improve logging for task files manipulation 2008-12-28 10:51:49 +00:00
cd-builder user f6e4a7b16d Add support for extensions to imagesums 2008-12-17 23:34:11 +00:00
Frans Pop 464531dcd7 Duh! Let's copy the languagelist before we use it... 2008-12-05 19:22:22 +00:00
Frans Pop 086dc76302 Add suffix "generic" to default task files for naming consistency 2008-12-05 14:12:36 +00:00
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
Frans Pop e1a73fde15 Makefile: fix syntax error 2008-12-05 14:12:01 +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 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