Commit Graph

677 Commits

Author SHA1 Message Date
Steve McIntyre 64bd969a0c * Fix up boot-alpha to calculate the size of the ramdisk needed, rather
than hard-coding to 16384. Also slight refactoring.
2007-03-20 01:01:16 +00:00
Steve McIntyre a2d50b9f65 * Fix a silly bug in start_new_disc that would break on discs with
local packages. Thanks to Ronny Aasen for the patch. Closes: #414818
  * Final *final* upload for etch; urgency high to get through the
    freeze.
2007-03-13 23:38:53 +00:00
Steve McIntyre 1fc78c6086 * Fix the extra_image() function in both boot-i386 and boot-amd64 to make
sure we don't end up overwriting extra images from one arch with those
    from the other. Now the multi-arch netinst should work for the installgui
    target for both arches
2007-03-13 02:21:13 +00:00
Steve McIntyre 9006e6dd31 * Add the DEFAULT64 handling to boot-amd64 as well as boot-i386; needed
in both so that things are setup the same regardless of the order in
    which the boot-$arch scripts are called
2007-03-13 01:06:07 +00:00
Steve McIntyre ec87877896 Fix path for creating splash image in boot-amd64. Closes: #413850. 2007-03-12 01:33:39 +00:00
Raphaël Hertzog 46369d0dc5 Disable pattern metacharacters in some regex with included variables.
Closes: #413506
2007-03-05 16:09:46 +00:00
Joey Hess 7b1b3973f8 * Updated isolinux.bin to the version from syslinux 3.31-3.
* Re-enable use of 64 bit detection, fixed now.
2007-03-01 19:18:45 +00:00
Steve McIntyre 2ca98a7f32 * Cope with rolling back more than one package in case we go well
over the disc size
  * Use a multiplier of 1.2 for HFS space - overkill, but it fixes
    the multi-arch DVD overflowing. Also log if we're doing HFS.
  * Tweak where we look for s390 boot files to make the weeklies work again.
2007-02-27 20:05:32 +00:00
Raphaël Hertzog a2d9587f1a Don't rely on PATH containing the tools directory. 2007-02-21 14:13:35 +00:00
Joey Hess f47d23be43 * Temporarily disable use of 64 bit detection due to syslinx's bug #410729. 2007-02-13 01:14:35 +00:00
Joey Hess 3d5259c5ef * Use the 64 bit autodetection feature of syslinux 3.31-2, if available,
to default to the 64 bit target in multiarch isos.
2007-02-04 23:41:44 +00:00
Steve McIntyre 06efc9c4d7 Add debug for when get_file_blocks fails 2007-01-22 23:06:30 +00:00
Steve McIntyre ba8e154a12 * In start_new_disc, make sure that we call the (badly-named) add-bin-doc
so that we get README.html and README.txt created even for source discs.
2007-01-02 01:56:44 +00:00
Steve McIntyre 55f4db876a + Slightly change the output naming of the disc images to make it safer
to produce more then one type of multi-arch disc
2006-12-30 15:13:07 +00:00
Joey Hess c7ece8748b * Added an update-tasks target to the Makefile and moved the code out of
file header comments to there. Fix some bugs in passing.
* List packages for the various specific desktop tasks ahead of the non-key
  packages for the general desktop task. Along with changes in tasksel 2.60
  this should lead to a generally more useful set of packages on the desktop
  CDs; instead of filling up with OOo, it will fill up with things specific
  to the desktop environment.
* Updated task lists.
2006-12-29 06:05:30 +00:00
Steve McIntyre 9d376d233e Re-indent add_packages 2006-12-29 05:57:21 +00:00
Steve McIntyre 17bb18194f * Re-implemented exclude/unexclude support in make_disc_trees.pl instead
of in list2cds. Slight changes in semantics - the new code supports
    regular expressions for matching package names (to make it easier to
    exclude groups of related packages), and EXCLUDE<m> should be used in
    preference to EXCLUDE for packages that are just being shifted to
    later in the set by using UNEXCLUDE<n>.
2006-12-29 05:56:43 +00:00
Steve McIntyre 4d4bba1b7e Don't list the md5sum.txt file inside itself, it will always fail 2006-12-29 02:50:35 +00:00
Steve McIntyre 35743cde5f As a last-minute step before building images, fill in the TOTALNUM
value in the README files in the root of each image.
2006-12-29 02:44:22 +00:00
Steve McIntyre cccbdd469f Gunzip the installation manual in .txt and .pdf format, so it's useful
on other platforms too.
2006-12-29 01:48:26 +00:00
Frans Pop 7af2565ecf * Add linux-image-2.6-prep for powerpc. 2006-12-29 01:14:28 +00:00
Steve McIntyre eb1131b3df Make make_disc_trees.pl and start_new_disc fail better on errors 2006-12-23 03:03:58 +00:00
Steve McIntyre 528c0072f2 remove Suggests on delo - we grab and use the correct version direct
from the archive instead these days
2006-12-23 03:02:37 +00:00
Steve McIntyre 342bcac67b don't suggest binutils-multiarch, we haven't needed that for mipsel CDs since woody 2006-12-23 01:17:47 +00:00
Steve McIntyre 37a2704f3b Remove scansources ; no longer used 2006-12-23 00:55:48 +00:00
Steve McIntyre 9ae3366b88 Lose the "|| true" when we call boot-$arch; make sure we fail if it fails... 2006-12-23 00:00:36 +00:00
Steve McIntyre 82aa893404 Minor update to boot-sparc 2006-12-22 14:24:28 +00:00
Steve McIntyre 5f185be61f Removed old "set -x" 2006-12-21 16:19:34 +00:00
Steve McIntyre 4a2a622525 Make the boot scripts more consistent in how they call add_mkisofs_opt 2006-12-21 16:05:32 +00:00
Steve McIntyre 67d9909bbe Make sure the mkisofs options file goes in the right place 2006-12-21 15:27:50 +00:00
Steve McIntyre 77e3c9015c Add extra logic to source-tracking code. If we have more than 1 binary
arch along with source, there's a chance that the different arches may
have refs to a particular binary package (and hence its source) at
completely different points. Rather than just go with the one we find
first (from the first binary ref), make sure that the source will
match up with the earliest binary record, measured across all arches.

As noticed on the multi-arch DVD; make sure that source:kde-i18n makes
it into the package list before amd64:kde-i18n-ar.
2006-12-21 03:45:01 +00:00
Steve McIntyre 74e9050525 rearrange to make sure is set before we set 2006-12-20 11:02:59 +00:00
Steve McIntyre 4bb6ee2bbe Always create an empty mkisofs_dirs file for each image; stop warnings about missing files later when we source them in 2006-12-19 17:15:16 +00:00
Steve McIntyre 61c1630ab1 Cosmetic fix - list source in too in debug 2006-12-19 15:57:15 +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
Steve McIntyre 7b6988d66d Make list2cds more verbose in log output, especially when dependencies have failed so a package can't be added 2006-12-18 13:40:53 +00:00
Steve McIntyre 05905f9e37 Better estimation for HFS media (m68k/ppc) 2006-12-12 02:10:53 +00:00
Steve McIntyre 95ffabb409 * Don't put ppc boot files on discs >1.
* Add more hfs options to m68k discs, to match ppc.
2006-12-12 02:09:34 +00:00
Steve McIntyre ad1906c27b Even more accurate size estimation; reduce how much we need to run mkisofs 2006-12-11 17:52:25 +00:00
Steve McIntyre 8b318a9693 Tweak the size-checking threshold to make things faster 2006-12-11 15:50:49 +00:00
Steve McIntyre 277fc58f3d When rolling back, cope with package names that are not regexp friendly 2006-12-11 15:47:18 +00:00
Steve McIntyre e1116e39e4 typo fix 2006-12-10 22:37:38 +00:00
Steve McIntyre 96608804fc Remove the old shell version of make_disc_trees
Missed changing one of the invocations of add_packages - now fixed
2006-12-10 22:36:08 +00:00
Steve McIntyre 52d0a9f08b Round off the DVD size in blocks 2006-12-10 22:23:51 +00:00
Steve McIntyre cf079be95b Re-add the build date to .disk/info, lost in the merge 2006-12-10 21:27:06 +00:00
Steve McIntyre 5b26423869 Minor tweaks for businesscard CDs 2006-12-10 20:12:46 +00:00
Steve McIntyre 7780369fd4 * When we've finished making a CD tree in make_disc_trees.pl,
re-compress the gzipped Sources and Packages. Workaround for bug
    #402482 in busybox gunzip code.
2006-12-10 20:00:37 +00:00
Steve McIntyre 50058df56f * Improve performance: rewritten tools/make_disc_trees in perl so we
can call add_packages directly as a perl function rather than via
    fork/exec all the time. Re-arranged tools/add_packages to make
    this work.
  * Improved logging in add_packages.
2006-12-10 18:57:29 +00:00
Steve McIntyre eb73154582 Reimplement make_disc_trees in perl for better performance. More to come... 2006-12-10 15:26:19 +00:00
Steve McIntyre f6e24e76fa Cosmetic changes to listcds 2006-12-10 15:13:12 +00:00
Steve McIntyre 60eef836ce * Lower-case package names at various points to work around apt bug
#402354. Fixes the long-standing warnings from list2cds about "Use
    of uninitialized value in string comparison", and allows some poor
    packages to make it onto CDs for the first time...
2006-12-10 02:18:28 +00:00
Steve McIntyre b9280f8c80 * Add Packages and Sources files to the Release file; clean up the
checksums. Closes: #402267
2006-12-09 22:31:23 +00:00
Steve McIntyre 44b17db956 Don't check source-only discs for installability of base 2006-12-08 16:00:36 +00:00
Steve McIntyre d3aa586a36 Fix simple cut-n-paste error 2006-12-08 13:55:52 +00:00
Steve McIntyre 7c746a97e9 Slightly cleaner handling of mkisofs_opts and _dirs 2006-12-08 12:17:24 +00:00
Steve McIntyre e9be1e7c20 Make the FAQ extraction not be verbose 2006-12-08 11:56:52 +00:00
Steve McIntyre 2d1735aa21 Make sure we use the specified mkisofs in make_disc_trees
Make the missing-base-files debootstrap errors less scary-looking
2006-12-08 09:46:18 +00:00
Steve McIntyre 73f3f85b6b Match *CD rather than CD for the 650MB image size, so the KDE builds work 2006-12-08 00:48:08 +00:00
Steve McIntyre 634682f779 Fixing oversights from the big merge 2006-12-07 23:51:14 +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
Frans Pop 5f62118c2c Daily builds for amd64 now done by Andreas Barth; with thanks to Kurt Roeckx 2006-12-07 01:01:01 +00:00
Steve McIntyre 4c83b14ad9 Fix md5sum file format 2006-12-05 17:52:07 +00:00
Steve McIntyre a689886868 Fix typo bug, improve error handling 2006-12-04 17:23:57 +00:00
Colin Watson 7a843520eb * Include prep support on powerpc images again. 2006-12-04 10:30:40 +00:00
Frans Pop 82d1b005fc * tools/generate_di+k_list: no longer include kernel-image packages for
powerpc as we don't support 2.4 based installs anymore. Closes #401429.
2006-12-03 19:11:45 +00:00
Steve McIntyre a12fe9fd65 Minor cleanup of the image sums stuff 2006-12-03 16:40:12 +00:00
Steve McIntyre 93fe864b6f * Another devel branch merge: Change tools/grab_md5 to also look for
md5sums in the installer suite as well as the archive suite in
    case they're different. Also removed old woody support, to clean
    up the code a little. Updated Makefile and update-cd to match the
    command-line interface change.
2006-11-30 22:13:42 +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
Steve McIntyre ff845c2120 * Dump the mkisofs command-line used for each CD into .disk/mkisofs
as we make it. Closes: #258099
2006-11-28 00:19:55 +00:00
Steve McIntyre 4ded5ac8d9 * Add bpalogin near the top of the task list, as requested a long time
ago. Closes: #231583
2006-11-27 23:46:07 +00:00
Steve McIntyre 27f9fc5ef5 s/raw/iso/ 2006-11-27 17:03:22 +00:00
Steve McIntyre 3f2f6c11e3 Don't attempt to make ppc CDs bootable after #1 2006-11-27 09:43:10 +00:00
Steve McIntyre 9b44f8f3e0 Fix f1.txt mods - only apply on CD1 2006-11-27 09:36:49 +00:00
Steve McIntyre 4c31948c4b Quick fix 2006-11-27 04:16:52 +00:00
Steve McIntyre 1586e5757b Try again on .disk/cd_type 2006-11-27 03:22:34 +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
Steve McIntyre 38aa21763a * DEVEL BRANCH MERGE: Change mkisofs_opts usage: add a shell function
for the boot-$arch scripts to use rather than simply appending to the
    $N.mkisofs_opts file directly. Needed for forthcoming multi-arch
    support.
2006-11-27 02:15:29 +00:00
Steve McIntyre 89235c1124 Try again for dates 2006-11-26 22:53:28 +00:00
Steve McIntyre 6f101339c8 Add the build date/time into a few more places so people can see them
more easily; add the build time into the .disk/info file.
2006-11-26 22:42:02 +00:00
Steve McIntyre 40c9c0b3d0 Typo fix 2006-11-25 03:20:51 +00:00
Steve McIntyre 04dcde6a8b * Split final md5sum of images out from Makefile into tools/imagesums;
if we've made jigdo files then *don't* waste time running md5sum on
  the images as well!
2006-11-25 02:08:38 +00:00
Frans Pop 9924a80b78 * Include floppy disk images again for i386. 2006-11-23 00:42:39 +00:00
Steve McIntyre 3e59b569ea Current values 2006-11-17 00:35:50 +00:00
Frans Pop 2a9dbeb4d8 * Include "tape" images again for S/390. 2006-11-02 07:21:58 +00:00
Steve McIntyre b5de101510 Current boot- sizes 2006-10-31 00:06:55 +00:00
Frans Pop 8e15dce126 tools/generate_di+k_list: add new required packages for arm 2006-10-28 19:51:11 +00:00
Frans Pop 6813379884 - tasks/exclude-etch: clean out obsolete entries
- tools/generate_di+k_list: generic suffix was dropped for amd64 kernels
2006-10-28 16:45:07 +00:00
Frans Pop ddf215a939 Also remove no longer needed boot parameters for hppa 2006-10-22 22:42:44 +00:00
Joey Hess de0e745535 * Increase alpha hardcoded ramdisk_size to 20 mb, 16 is too small now. 2006-10-22 22:23:56 +00:00
Joey Hess 0ca08661f4 * Include brltty in generate_di+k_list. 2006-10-21 19:26:58 +00:00
Steve McIntyre 4a6935c1d3 * Merge patch from Petter to allow override of the default boot choice
in syslinux using the ISOLINUX_DEFAULT config option. Closes: #393229
2006-10-18 20:47:32 +00:00
Joey Hess af5b09d42d * Remove 2.2 kernel for mac from generate_di+k_list, as it's no longer in
the archive.
2006-10-16 18:10:18 +00:00
Joey Hess 2a8a711c0e * Remove 2.4 kernels from generate_di+k_list for i386. 2006-10-16 17:57:29 +00:00
Petter Reinholdtsen 99ca059cfa [ Petter Reinholdtsen ]
* Update tools/boot/*/boot-amd64 to use the correct isolinux
    splash image settings, and to insert $KERNEL_PARAMS correctly into
    isolinux.cfg.  Based on patches already implemented in boot-i386.
2006-10-15 16:44:41 +00:00
Steve McIntyre 5a80e07493 * Fix KERNEL_PARAM breakage. Thanks to Vagrant Cascadian for the patch,
closes: #387255
2006-10-08 11:25:42 +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
Petter Reinholdtsen 3e5007f99c Avoid hardcoded path introduced by mistake. 2006-09-26 16:35:20 +00:00
Otavio Salvador 97739af224 * Applied patches that are being in use at O.S. Systems and that are
useful to others:
  - allow to use different name for final iso image;
  - allow to set the script to be used in debootstrap to check if all
    base need package are present;
2006-09-18 12:29:57 +00:00
Colin Watson 277eecc730 * Remove init=/linuxrc from hppa. 2006-09-15 09:07:20 +00:00
Petter Reinholdtsen 13b0587c4d Include CD number in the fill level markers. 2006-09-02 10:57:48 +00:00