Commit Graph

33 Commits

Author SHA1 Message Date
Cyril Brulebois 59978789f0 apt-selection: order contrib before non-free*
Components are ordered “main contrib non-free” almost everywhere, let's
use the standard order here too. There should be no functional changes.

Note: This controls the sources.list file used during the build, but
doesn't control “deb cdrom:” lines in sources.list during or after
installation, which are the result of running apt-cdrom (which sorts
components alphabetically, see its pkgCdrom::ReduceSourcelist function).
2023-01-27 07:38:40 +01:00
Cyril Brulebois cc53129b15 apt-selection: mark local repositories as trusted
Without this, apt won't like local repositories.
2023-01-23 19:30:42 +01:00
Steve McIntyre e57aa6fa72 Add non-free-firmware support
List the desired non-free sections to use in NONFREE_COMPONENTS in
CONF.sh, default to "non-free non-free-firmware" by default until
things are all migrated.
2022-10-08 17:48:59 +01:00
Steve McIntyre 5e3dec1796 Use $CODENAME/updates for security pre-bullseye
or $CODENAME-security for bullseye onwards.
2021-08-15 11:48:46 +01:00
John Paul Adrian Glaubitz eb68c7621b Add support for unreleased packages from Debian Ports 2017-09-07 22:19:13 +02:00
John Paul Adrian Glaubitz 47f7b12a36 Add support for unreleased packages from Debian Ports 2017-09-06 13:06:45 +02:00
Steve McIntyre 66154bff85 Add initial support for including backports in a build
So far only tested with a single image - targeting a netinst with some
updated packages
2016-09-20 01:46:15 +01:00
Steve McIntyre 348f4b31d1 Remove broken trailing space from cut and paste error 2014-04-09 02:24:44 +01:00
Steve McIntyre ec29afa4cf Bugfix: work on multi-arch enabled build systems 2014-04-08 18:18:44 +01:00
Steve McIntyre 1da261e07e Make sure that when we call apt, we tell it to *not* use localised
package descriptions; this causes issues during build. See #712435 in
apt.
2013-06-17 15:33:46 +01:00
Steve McIntyre c46f7c0cf6 * Add version-tracking into dependency sorting. Closes: #687949)
+ Use/parse output from a newer version of apt so that "apt-cache
      depends" will include version information on dependencies.
    + All tracking of packages now include versions, so we pass around
      hashes of {package name, comparison op, version} everywhere instead
      of simply passing package names as strings.
    + Add the APT::Cache::ShowVersion=1 option to apt-cache calls to
      turn on version reporting. Needs a locally-patched version of apt
      *for now*, but expecting that to be fixed for the Wheezy
      release. The new code degrades gracefully if version info is not
      available.
    + Add a dependency on libdpkg-perl for version comparison code.
2012-09-26 18:18:47 +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 16525fc87c * Remove bashism in tools/apt-selection. Closes: #530972 2009-08-04 21:55:03 +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 642626a4be Merged a patch from Otavio:
* Create dpkg status file before calling APT
2007-08-08 12:55:36 +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
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
Tollef Fog Heen 916440cf9a add support for excluding contrib. 2002-12-07 10:22:40 +00:00
Raphaël Hertzog 5ddbb8223c * Added support for sarge and debian-installer. 2002-10-10 12:56:48 +00:00
Raphaël Hertzog 139fd6593f * Fix handling of NONFREE/EXTRANONFREE variable.
* Update the order of the boot images for i386 :
  1: isolinux multiboot
  2: vanilla
  3: compact
  4: idepci
  5: bf2.4
* Put ISOLINUX=1 by default. Added it to CONF.sh.
2002-04-13 12:17:57 +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 d9b5e6200a * Drop slink support.
* Drop dpkg-multicd support.
* Uses apt-ftparchive instead of dpkg-scan{packages,sources}
* Try to use extra override file (for Task: fields), not tested.
2001-10-06 15:55:12 +00:00
Raphaël Hertzog 52eddd6c2c * Make sure we install base packages from debootstrap on first CD
* Little fixes.
* Only includes latest version of a package when concurrent versions
  are available (in a local repository for example)
2001-06-10 14:56:26 +00:00
Raphaël Hertzog 84c05090cb * Fixed outstanding bugs.
* Simplified a regexp in tools/apt-selection
* Modified the install/boot.bat provided on the first CD
2001-01-27 17:32:34 +00:00
Raphaël Hertzog b53f3c80e1 * Fixed Joey's patch. ${LOCALDEBS:-$MIRROR} is correct syntax. 2000-07-06 10:32:27 +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 5d4ff3914e * Added support for EXTRANONFREE. Hope it works :-) 2000-06-06 17:19:27 +00:00
Ben Collins a2ccae3471 * Added two new variables, COPYLINK and APTTMP. I had to do this with my
setup which consists of an NFS mounted archive, the NFS mount was also
  used for the tmp space since it had room, and the iso images were
  created on the local drive, where it also had room. DOing symlink was
  crazy and didn't work too well, and the apt stuff could not be on the
  NFS tmp since apt's locking doesn't work on NFS. Problem solved, this
  should work exactly like it did before with these defaults though.
  COPYLINK basically makes a full copy of the files instead of hardlinking
  or symlinking.
2000-03-14 04:02:29 +00:00
Ben Collins 734ad566dd apt-select: if no NONFREE, then only do main/contrib
boot-sparc: fixups for new CD layout
2000-03-09 21:06:03 +00:00
Raphaël Hertzog 92504f2149 * Many modifications to support the inclusion of local packages
available in dists/$CODENAME/local/binary-$ARCH.
* Updated documentation in several places.
* Updated CONF.sh.
* Added an empty task.
2000-03-07 18:59:31 +00:00
Raphaël Hertzog 93f96e4f49 * Added tools/pi-makelist this time.
* Removed set -e from tools/apt-selection. Apt must be able to fail ...
* Added a separate pi-makelist target.
* Updated the README with Pseudo Image Kit information.
2000-02-26 11:41:10 +00:00
Raphaël Hertzog 1f41fe62d6 * Added set -e for shell scripts.
* Now generate *.list for Pseudo Image Kit.
* Added files for woody.
* Updated the README* files.
* Added some .cvsignore files.
2000-02-19 17:52:52 +00:00
Adam Di Carlo e83ef58217 Initial revision 1999-11-11 17:10:37 +00:00