Commit Graph

1075 Commits

Author SHA1 Message Date
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 2ef5d3288c Fix word-splitting regexp in generate_di_list.
Closes: #758512. Thanks to Philipp Hahn for the patch.
2014-08-20 14:24:38 +01:00
Steve McIntyre 8d39e31372 Fix up Gnome CD set installing xfce; Closes: #756774 2014-08-07 01:57:28 +01:00
Steve McIntyre 0008c25464 Fix changelog date for 3.1.15. Closes: #751814 2014-08-07 01:48:17 +01:00
Steve McIntyre aca9be06f2 Ready release 3.1.15 2014-06-03 16:01:05 +01:00
Steve McIntyre d57840bf32 Fix building desktop CDs with easy-build.sh
Closes: #740558, patch from Samuel Thibault
2014-06-03 15:53:01 +01:00
Steve McIntyre e4fdc94a23 Remove mention of delo.2nd from hppa boot script
Must have been a cut and paste error from a mips script. :-(
2014-05-30 12:08:51 +01:00
Steve McIntyre e53f3e1ad6 Cope with changes from move to isolinux 6.x. Closes: #746746 2014-05-18 01:31:29 +01:00
Steve McIntyre 17af9c76a1 Update from kfreebsd-9 to kfreebsd-10 2014-05-12 15:45:39 +01:00
Steve McIntyre c0813db7f7 Fixes for booting on hppa architecture. Closes: #743879 2014-04-08 18:44:36 +01:00
Steve McIntyre 6b0e67d201 Factor out the xorriso version-checking code 2014-04-08 18:32:13 +01:00
Steve McIntyre ec29afa4cf Bugfix: work on multi-arch enabled build systems 2014-04-08 18:18:44 +01:00
Raphaël Hertzog 0cfa70e113 Fix code extracting the xorriso version
The code was assuming that the first line of output was something like
this (and this is the case of the cd builder machine that uses a custom
built xorriso):
> GNU xorriso 1.2.6 : RockRidge filesystem manipulator, libburnia project.

But the output of the version packaged in Debian does not have the GNU
string:
> xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.

We fix this issue by extracting the version from the line starting with
"xorriso version" which does not have this discrepancy.
2014-03-27 15:55:36 +01:00
Steve McIntyre 78b84f92a9 Make kfreebsd & hurd images usbkey-bootable. Closes: #739422
debian-installer now has extra steps to create a grub_embed file which
can be passed to xorriso's --embedded-boot option. Add corresponding
code in debian-cd to use it to make images USB bootable.

Patch from Samuel Thibault.
2014-02-19 00:03:19 +00:00
Steve McIntyre 57fe59f92f Add "UEFI" text to the UEFI installer menu title
to make it easier for end users to distinguish between UEFI and BIOS
boot.
2014-02-11 01:59:54 +00:00
Steve McIntyre 93b35677fe Prepare 3.1.14 release 2014-01-14 17:20:17 +00:00
Steve McIntyre 546559365e Fix syntax bug in try_di_image_cache()
Add warnings if download links we're using are insecure (i.e. not
https). May turn these into errors later...
2013-12-16 15:15:53 +00:00
Steve McIntyre 835cbca01b Pull out some more common code into common.sh to simplify the various
boot-$arch scripts
2013-12-16 14:05:35 +00:00
Steve McIntyre 08c66eaf07 * tools/update_tasks: don't hard-code the default desktop to use,
instead work it out directly from the dependencies of the task-desktop
  package.
2013-11-05 01:29:40 +00:00
Steve McIntyre bc4d87e06f Remove s390 from the arch lists
Remove s390 from the arch lists in various scripts, as it's going
away. Support remains if specifically configured yet.
2013-10-16 23:28:08 +01:00
Steve McIntyre 700eb1571f Remove mention/support of old kfreebsd 8 kernels - they are not
created any more, and this is causing build failures.
2013-09-30 14:52:52 +01:00
Joey Hess 46f91f861d Add make and gcc back to forcecd1, to allow building out of tree kernel wifi modules.
I removed this and more earlier while cleaning out undocuented cruft. (I
have not added back module-assistant so far, since it needs build-essential
which would pull in additional dependencies.)
2013-09-04 16:39:39 -04:00
Steve McIntyre 86e670195c Remove mention/support of the s390(x) tape options
Not created by d-i any more, and this is causing build failures.
2013-06-24 11:48:57 +01:00
Steve McIntyre fe25734789 List Translation files in dists/$dist/Release too - apt looks there
now instead of in Index, apparently.
2013-06-17 15:35:45 +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 4907025c1f Don't assume loadlin.exe exists. Closes: #706156
When making a custom server netinstall ISO, it may be desired to not
have MS Windows files. Unfortunately there's currently no check for
loadlin.exe, so install.bat gets created regardless. Fix this.
2013-06-13 00:04:50 +01:00
Steve McIntyre f007eaed9d Build without isolinux/desktop. Closes: #706150
debian-cd currently expects there to always be isolinux/desktop/*
files and a dtmenu.cfg file, failing if they are missing. Make it so
debian-cd can cope whether those files are present or not.
2013-06-12 23:59:33 +01:00
Steve McIntyre 5f421639eb Move code hosting from svn to git 2013-06-08 00:30:03 +01:00
Steve McIntyre 5f0cdbd1ee * Start jessie work; copy things from the wheezy config for now.
* Remove older squeeze, lenny, etch dirs
2013-05-06 22:26:50 +00:00
Steve McIntyre 5b15d5ed2b Release 3.1.13 2013-04-30 21:55:51 +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
Steve McIntyre b24595ba88 Tweak handling of {udeb,base}_{include,exclude} files so multi-arch
builds should work better. Closes: #703436
2013-04-19 16:07:58 +00:00
Steve McIntyre 497a82d798 Allow for override of distro name etc. in grub.cfg for EFI boot too.
Closes: #705610
2013-04-19 15:01:01 +00:00
Steve McIntyre 708240f580 Add further support for missing win32-loader.ini. Closes: #705594 2013-04-19 14:52:21 +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 1b7e1c31a6 Fix typo in bug number 2013-04-01 13:44:00 +00:00
Steve McIntyre 0127c9c170 Ready for 3.1.12 release 2013-04-01 01:38:25 +00:00
Steve McIntyre 75007ece98 * Allow for override of DISKINFO base text; Closes: #695080 2013-04-01 01:26:54 +00:00
Steve McIntyre 2ab852fe07 Correct usage of dpkg-architecture to fix errors. Closes: 703487 2013-03-20 13:32:16 +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
Steve McIntyre 38ec979060 * Add extra text to boot messages on powerpc to tell people about how to
select a different desktop. Thanks to Rick Thomas for the
    text. Tweaked slightly to list the default on the current disc too.
2013-03-07 07:21:09 +00:00
Steve McIntyre 7ef1b0a5c8 * Update boot-mipsel and boot-hppa to use the which_deb script for
better safety when extracting boot loader files.
  * Update all the relevant boot-* scripts to do the right thing when
    extracting packages and sources, depending on
    $ARCHIVE_EXTRACTED_SOURCES as above
2013-03-07 06:34:07 +00:00
Raphaël Hertzog 4d8f781235 Update logic protecting lookup of syslinux's source in tools/boot/wheezy/boot-x86
Steve pointed out that this lookup is only here so that helper scripts
can grab those sources and make them available in a public location
such as http://cdimage.debian.org/cdimage/cd-sources/. The sources are
not embedded in the generated ISO and are thus not strictly needed
for building the ISO image.

This should happen even when we're not building source ISOs but it's
not needed if we don't have any similar policy in place. Thus CONF.sh
is now leaving $ARCHIVE_EXTRACTED_SOURCES unset by default and the
source will only be looked up if that value is set.
2013-03-01 13:22:22 +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 d07434cef1 Add dosfstools to Recommends since it's required by
tools/boot/wheezy/boot-x86 for EFI support. It can't be added to Depends
because it's not available on non-Linux systems.
2013-03-01 08:55:54 +00:00
Raphaël Hertzog d79ac8335d Update tools/boot/wheezy/boot-x86 to not look for syslinux's source
package if we're not including sources.
2013-03-01 08:50:34 +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
Steve McIntyre bd8597feaa Deal with syslinux version 5.x needing to install more files for
bootable x86 media. Thanks to Daniel Baumann for the path.
Closes: #699884
2013-02-12 13:43:29 +00:00
Steve McIntyre 4b512541d8 Make sure the DEBIAN_KERNEL placeholder in README.* is replaced;
switch from cpp to sed for that so it works inside quoted
text. Closes: #699198
2013-01-29 18:22:44 +00:00
Steve McIntyre 7a57363472 Update Vcs-Browser 2013-01-24 22:57:20 +00:00
Steve McIntyre 252013342e * Add support for Built-Using:
+ tools/sort_deps: parse out Built-Using from Packages files too and
      pass any such data on to tools/merge_package_lists
    + tools/merge_package_lists: if we have any built-using source
      packages listed when doing a combined binary/source set, add them in
      the same way as existing listed sources.
  * Other bug fixes in tools/merge_package_lists:
    + Fix handling of multi-line Binary: fields
    + Print out the accumulated size of source packages in output also
      (fix to printf format string)
2013-01-24 10:26:30 +00:00
Steve McIntyre 513f8c1191 When building source-only discs, cope with having multiple different
versions of a source package:

+ make_disc_trees.pl now tracks arrays of packages when parsing
  apt-cache output
+ We'll now pull in all the extra packages included in Sources.gz
  because of Built-Using.
2013-01-22 23:32:54 +00:00
Steve McIntyre 9b0889a250 Open for 3.1.12 after 3.1.11 release 2013-01-22 23:22:20 +00:00
Steve McIntyre cf9da2bcb8 Fix indentation 2013-01-20 01:18:52 +00:00
Steve McIntyre 35be7cbd78 Preparing 3.1.11 release 2013-01-20 01:10:37 +00:00
Steve McIntyre 4e7009403e Rearrange xorriso dependency 2013-01-15 02:09:36 +00:00
Steve McIntyre 1ed76605db document boot-x86 xorriso updates 2013-01-15 02:07:47 +00:00
Steve McIntyre 17f65ab8e2 Provide a better set of boot menus when booting via EFI. Previously
had a limited set of hard-coded menu entries - this was buggy and
didn't take into account all the possible boot variations. Now parse
the isolinux menus already provided in the d-i build and generate
equivalent grub menus, complete with themes for a reasonable layout
with graphics and titles.
2012-12-10 01:12:44 +00:00
Steve McIntyre 3e98cc6044 * Improve architecture support in which_deb. Closes: #695244
+ Check all the architectures available in the archive if we're not
    specifically told which to use (e.g. on source builds)
  + If we fail to find packages/sources for the specified package, say
    so and bail out properly.
2012-12-06 17:36:28 +00: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 b3436176c2 Add Recommends:mtools for EFI use 2012-09-26 09:27:53 +00:00
Steve McIntyre 579e443ca5 * Merge x86 EFI support from the EFI_support branch (Closes: #658352)
+ Pull in grub-efi for amd64 and i386
    + Lots of extra code in boot-x86:
      - pull grub EFI pieces out of the latest debian-cd_info.tar.gz
    	blobs in d-i, if they're there. If so, use them to make x86 images
	    bootable via EFI (both via CD and USB)
      - generate boot entries for grub on the fly; temporary code for now,
	    will switch to parsing the isolinux entries shortly instead.
      - depending more and more on xorriso rather than genisoimage...
2012-09-26 00:17:27 +00:00
Steve McIntyre 77a1ae8db1 Prepare 3.1.10 release 2012-08-24 13:50:35 +00:00
Steve McIntyre 50cd4d3e86 Prepare 3.1.10 release 2012-08-24 13:48:25 +00:00
Steve McIntyre a37770b429 Update the boot-load-size parameter for all ElTorito booting arches 2012-08-13 13:06:04 +00:00
Steve McIntyre 4d8a88e5da * Tweak boot-load-size for ia64 to make CDs boot again. Closes: #678883.
Thanks to Stephan Schreiber for the patch.
2012-08-07 20:48:16 +00:00
Steve McIntyre 747c65e354 * Tweak powerpc boot options, using 32/64 bit detection in yaboot at
boot time. Thanks to Milan Kupcevic for the patch. Closes: #678066
2012-08-04 17:47:47 +00:00
Steve McIntyre c245a5c696 Tweak sort_deps:
+ Track whether a dependency chain is caused by a hard dependency
  (Depends) or soft (Recommends/Suggests). If we fail to add a package
  down the chain on a *soft* dependency, don't invalidate the entire
  chain.
+ When checking OR dependencies, *first* check to see if any of the
  options are already installed *before* trying to install the first
  option. Helps a lot with circular deps such as task-lxde-desktop ->
  task-desktop -> (task-gnome-desktop | task-lxde-desktop | etc.); in
  this case, of course task-lxde-desktop should satisfy the OR dep.
2012-08-02 23:57:40 +00:00
Joey Hess 8ffd6507c3 Further trim forcd1, removing lots of historical cruft, and adding
comments explaining the rationalle for the remaining packages.
2012-07-07 23:47:02 +00:00
Joey Hess b70b03ad69 more forcd1 removals
discover, popularity-contest, wpasupplicant, openssh-server
  (in generate_di+k_list),
  gnupg (pulled in by debootstrap)
2012-07-07 23:30:46 +00:00
Steve McIntyre 5bf04cbd14 Explicitly add s390-tools and sysconfig-hardware for s390. 2012-07-07 23:12:24 +00:00
Steve McIntyre 71857cff6e Don't exclude all the udebs for s390. Some users really do need them
(loading from a CD/DVD used over the network). Bug #673576
2012-07-07 22:58:02 +00:00
Joey Hess 7a03cebf44 * Clean up forcd1, removing twm, wmaker, wmakerconf, pump,
menu (pulled in by desktop tasks),
  aptitude (pulled in by debootstap, and may be demoted to optional),
  alsa-utils, alsa-base (pulled in by task-desktop),
  mdetect, read-edid (no longer used by xorg),
  grub (handed by generate_di+k_list),
  deborphan, debfoster, localepurge (expert user stuff),
  chdrvfont (no such package any more)
* Updated generate_di+k_list to match more closely the current
  packages d-i apt-installs.
2012-07-07 22:36:24 +00:00
Steve McIntyre 00d738f5e2 Ready for release 3.1.9 2012-07-06 00:33:16 +00:00
Steve McIntyre a21c0b12ae Merge the latest versions of scripts and config into debian-cd 2012-07-06 00:31:26 +00:00
Steve McIntyre c92c20ad36 Add gtk initrd to hurd-i386 images. Closes: #635260
Thanks to Samuel Thibault for the patch.
2012-07-05 23:48:48 +00:00
Steve McIntyre e14db2ce84 Fix installer priority handling on pegasos. Closes: #679798.
Thanks to Milan Kupcevic for the patch.
2012-07-05 23:33:51 +00:00
cd-builder user 5fea0de336 * Add espeakup to forcd1, so we get speech synthesis for a11y early on full
CD/DVD sets. Closes: #678064
2012-06-26 13:36:37 +00:00
Steve McIntyre 9ccd9c397f Switch over to working with new task-* metapackages. Closes: #672941 2012-06-05 17:04:04 +00:00
Steve McIntyre 6686e2c66c Clean up handling of environment variable handling in perl tools. 2012-06-05 13:56:51 +00:00
Steve McIntyre 8ac07a76fd Describe discs appropriately depending on the kernel used.
Closes: #673975
2012-05-30 07:35:23 +00:00
Steve McIntyre 1660f5ea00 Add dependency on xorriso. Closes: #673656 2012-05-30 01:44:57 +00:00
Steve McIntyre 32a101d56c Add s390x as a known architecture, merging common s390/s390x boot
setup scripts.
2012-05-28 22:42:43 +00:00
Steve McIntyre d71b6ba997 Ready for 3.1.8 release (again) 2012-05-04 15:14:06 +00:00
Steve McIntyre 7971eee5f0 Minor formatting nit 2012-05-04 15:04:57 +00:00
Steve McIntyre 37ed286280 Ready for 3.1.8 release 2012-05-04 15:04:21 +00:00
Steve McIntyre ff3da67911 Tweak command line options for creating source images: add -joliet-long 2012-05-04 12:16:46 +00:00
Steve McIntyre 7ec30a2908 Remove boot-hppa 2012-03-16 14:51:38 +00:00
Steve McIntyre 730ee51310 Add armhf architecture 2012-03-16 14:43:18 +00:00
Steve McIntyre 31a7b9ed9b Add more armel kernel flavours 2012-03-16 14:32:39 +00:00
Steve McIntyre 9f52089e74 tools/generate_firmware_task: Add LOCALDEBS support 2012-03-05 13:41:01 +00:00
Steve McIntyre f0fab2ac91 generate_d-i+k_list: Add ufutils. Closes: #662234 2012-03-04 22:21:33 +00:00
Steve McIntyre 4241d811cb Add graphical installer image for kfreebsd-amd64. Closes: #651530 2012-03-03 22:50:10 +00:00
Steve McIntyre 353bad5355 Add kfreebsd 9. Closes: #650926 2011-12-08 15:34:14 +00:00
Steve McIntyre 38da832619 Add an extra tweaked version of d390.ins for s390 booting. The
Hardware Management Console needs the file to be in the root
directory.
2011-11-30 17:49:48 +00:00
Steve McIntyre 35ce658443 * Remove lots of old stuff neither needed nor supported any more:
+ removed architectures: alpha arm hppa
  + removed releases: etch lenny
  + removed unversioned data/sparc and data/yaboot, versioned
    equivalents are in place already.
2011-11-14 15:25:07 +00:00
Steve McIntyre 731cb5ec3e Update list of Linux kernel packages. Closes: #648690. Thanks to BEn
Hutchings for the patch.
2011-11-14 15:10:15 +00:00
Steve McIntyre d6ad2ed8e7 Add support for translated package description files. Closes: #495102
+ Add needed dependency on bzip2
+ Other minor cleanups in tools/make_disc_trees.pl
2011-11-14 00:14:30 +00:00