Commit Graph

450 Commits

Author SHA1 Message Date
Frans Pop 5d95644996 boot-hppa: stop passing redundant boot parameters
With current initramfs support neither root= nor ramdisk_size= are
needed anymore.
2008-12-05 09:08:23 +00:00
Frans Pop ae69a5b14e boot-hppa: support KERNEL_PARAMS
This is mainly to have the desktop= option passed correctly.
Also switch to space separation in -hppa-cmdline for consistency with
other architectures.
2008-12-05 09:08:20 +00:00
Frans Pop 9ed57cc189 Fix x86 m-a breakage in workaround due to file renames 2008-11-26 12:46:58 +00:00
Frans Pop 03adf99b41 Prepare for *text.cfg to *txt.cfg rename by D-I 2008-11-23 21:34:39 +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 16f9407423 Prepare for adamd*.cfg to amdad*.cfg rename by D-I 2008-11-23 11:53:57 +00:00
Frans Pop bc419dbf37 Workaround issue with isolinux on amd64/i386 multi-arch images
Modify the syslinux configuration for amd64/i386 multi-arch images
and use ifcpu64.c32 to autodetect 32/64-bit systems when a user hits
enter from the isolinux help screens.

Based on research done and info provided by Franklin Piat.
2008-11-19 16:08:22 +00:00
Frans Pop 262e02ffca Fix i386/amd64 multi-arch support
Currently the isolinux configuration only gets created correctly if the
two arches are specified in the order "amd64 i386". Change the lenny x86
boot script so it works the other way around too.
2008-11-15 01:08:15 +00:00
Frans Pop a8f0d9d14b Remove remaining remnants of pre-split-config support 2008-11-15 01:08:12 +00:00
Frans Pop 88824982ba Fix error in expansion of %ARCH% variables in D-I image location envvars 2008-11-14 20:14:35 +00:00
Frans Pop 1a47dd2a93 Avoid adding an EOL at the end of f3/f4 syslinux help files 2008-11-13 00:23:16 +00:00
Frans Pop e37c9d5a1f Indentation fix 2008-11-13 00:23:14 +00:00
Frans Pop 5beea509c7 Improve code readability 2008-11-12 20:33:42 +00:00
Frans Pop 747426afb6 More no longer needed compatibility code cleanup 2008-11-12 20:33:39 +00:00
Frans Pop bac7536f0f Clean up no longer needed compatibility code in lenny x86 boot script 2008-11-12 18:06:29 +00:00
Raphaël Hertzog 5aa7863d82 Also extract isolinux.bin from the syslinux package in the case of etch
CD images (since it's no more provided by debian-cd itself).
2008-11-07 16:32:06 +00:00
Raphaël Hertzog 7b28512cf9 Don't try to copy sbm on etch CD images as it got removed. 2008-11-07 15:53:36 +00:00
Frans Pop bb9fad3216 Allow multi-arch builds using D-I images from official mirrors or local D-I images
This is made possible by allowing to include a "%ARCH%" placeholder in the
environment variables DI_WWW_HOME and DI_DIR which is expanded to the correct
value at runtime.

Supported for Etch and later.
2008-10-14 08:22:00 +00:00
Frans Pop 07a91b45e3 Drop support for building Sarge CDs 2008-10-14 08:02:21 +00:00
Steve McIntyre 45617b2d30 * Support KERNEL_PARAMS for powerpc, alpha and sparc (Closes: #416230)
Thanks to Vagrant Cascadian for the patch.
2008-10-12 23:30:19 +00:00
Frans Pop 9202a3e6e8 Also remove advanced syslinux config files for gtk
Note that AFAICT removing these files is unnecessary as they should not
be included in the tarball if the file f3.txt.withgtk is not present.
2008-09-21 22:02:22 +00:00
Frans Pop 1dd8261809 Update for syslinux config file rename in D-I
The files (ad)amd.cfg were renamed to (ad)amdtext.cfg for consistency.
2008-09-21 22:02:10 +00:00
Frans Pop 704a350c35 Make sure directory to unpack syslinux in exists
Also make indentation consistent
2008-09-18 18:26:14 +00:00
Steve McIntyre 3580191792 Remove all mention of sbm; no longer needed 2008-09-16 15:29:55 +00:00
Steve McIntyre 60dbf627e2 * Major licensing problem cleanup: (Closes: #497270)
+ Remove binary blobs from the package; pull those files from the
      .debs in the archive as needed (isolinux.bin, vesamenu.c32)
    + sbm.bin *not* yet worked out, so drop it for now
    + Pull out the code to find the right deb and put it in a new helper
      shell script (tools/which_deb), called from Makefile and boot-* as
      needed.
2008-09-15 23:09:18 +00:00
cd-builder user b598c30a47 * Add the "-joliet-long" option when making images with Joliet names.
Some packages with ridiculously long names are not unique in the
    first 64 characters, so normal Joliet sorting fails.
2008-09-08 21:53:45 +00:00
Steve McIntyre b402ea3ba7 * Applied patch from Robert Millan <rmh@aybabtu.com> to allow choice of
desktop when building for win32-loader. Closes: #491300.
2008-07-29 17:29:32 +00:00
Frans Pop 787f433fe6 Correct location of images for ia64 2008-07-16 20:02:15 +00:00
Frans Pop 311d0a1273 Daily builds for ia64 have moved 2008-07-16 20:02:11 +00:00
Frans Pop 76dab60727 Daily builds for m68k have moved 2008-07-16 20:02:08 +00:00
Steve McIntyre b4fd0dfd9b use isolinux rather than 2008-06-08 22:32:11 +00:00
Steve McIntyre 55bd8d23b1 better anchor for search 2008-06-08 22:17:30 +00:00
Steve McIntyre 83ac3d95a3 Add support for custom kernel params for all isolinux configurations 2008-06-08 22:13:42 +00:00
Joey Hess 977746d1c1 Path to sparc daily builds has changed. 2008-06-05 22:45:11 +00:00
Santiago Garcia Mantinan c580e320e8 Start to add armel support. 2008-05-04 17:38:52 +00:00
Joey Hess f91df1f669 Add support for a split syslinux.cfg file, which will later be provided
to support the syslinux vesa menu.
2008-05-01 20:52:03 +00:00
Steve McIntyre 8ced9d59fc Disable the other m68k option 2008-04-01 23:12:40 +00:00
Steve McIntyre 5747f296cb Temporarily disable boot support on problematic arches 2008-03-31 13:04:42 +00:00
Steve McIntyre 5498cc1e5b * Temporarily disable boot support for arm CDs - the netwinder images are not
being produced at the moment.
2008-03-05 00:14:25 +00:00
Frans Pop bd1da0c827 * boot-{mipsel,sparc}: Parse website directory index case insensitive so
that both "<a href=" and "<A HREF=" are recognized.
2007-12-12 00:45:02 +00:00
Steve McIntyre 921d112d91 Try again to make lenny/sid i386 builds work again 2007-09-18 09:48:49 +00:00
Steve McIntyre c81d64da56 * Make daily i386/amd64 lenny builds work again - don't attempt to copy
the win32-loader files into place if they don't exist.
2007-09-17 10:52:03 +00:00
Otavio Salvador f2026f7c5f * Fix autorun.inf generation when win32-loader is present. 2007-09-13 18:28:21 +00:00
Otavio Salvador 8a0984b325 * Applied patch from Robert Millan <rmh@aybabtu.com> to use win32-loader
for autorun when CD is being used on Windows. Closes: #441846.
2007-09-12 16:31:27 +00:00
Joey Hess 23f2e94046 fix bashism 2007-09-10 18:10:16 +00:00
Otavio Salvador fbdb7b30fd * Applied patch from Robert Millan <rmh@aybabtu.com> to integrate
win32-loader. Closes: #440220.
2007-09-10 17:47:16 +00:00
Frans Pop 08f297d554 * Disable debugging output in boot scripts. 2007-09-02 17:18:06 +00:00
Steve McIntyre 2996bf0a1e Invert the -e test 2007-08-11 23:23:25 +00:00
Steve McIntyre e53fc89e17 * Temporary fixup for daily lenny sparc builds - use older image locations
if new ones not available.
2007-08-11 12:57:12 +00:00
Steve McIntyre 5655b191d5 Further logic fixing in boot-x86: amd64 should now work 2007-08-10 23:44:14 +00:00
Steve McIntyre c40e37b066 Fix boot-x86 shell syntax so it runs 2007-08-09 21:28:10 +00:00
Joey Hess 6560eb096d * Merge boot-i386 and boot-amd64 into boot-x86. 2007-08-02 03:47:50 +00:00
Joey Hess 0b03aad504 * Parse isolinux.cfg case-insensatively. 2007-08-02 02:43:19 +00:00
Joey Hess cd50dfba26 * Drop old with26 cruft for lenny. 2007-08-02 02:28:02 +00:00
Frans Pop 79c1614a0a Use correct version of boot configuration files 2007-07-26 08:18:52 +00:00
Frans Pop 7a414b8567 Partial reversion, we can always simplify further later 2007-07-26 01:53:36 +00:00
Frans Pop cb5987f544 - Remove support for sparc32
- Structure of D-I images was simplified, so adapt to that
- Fix some broken references to etch in lenny boot-sparc script
- Hope after all this things will still work...
2007-07-26 01:22:33 +00:00
Frans Pop ff146a5d79 Disable sparc32 for Lenny images as it is no longer supported 2007-07-18 07:39:59 +00:00
Frans Pop fdb006760d Dann Frazier has taken over from Jeff Bailey for daily IA64 D-I builds 2007-05-03 22:00:21 +00:00
Frans Pop fff66f0336 - Also export COMPLETE for use in the README file template
- Clean up: remove files for potato and woody release
2007-04-10 23:31:01 +00:00
Steve McIntyre 09e495846f * Copied etch files to lenny ready for the new testing work. 2007-04-10 23:21:31 +00:00
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 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
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
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 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 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 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 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
Colin Watson 7a843520eb * Include prep support on powerpc images again. 2006-12-04 10:30:40 +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 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
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 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
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
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
Colin Watson 277eecc730 * Remove init=/linuxrc from hppa. 2006-09-15 09:07:20 +00:00
Petter Reinholdtsen 758e9dc0bb * Correct splash screen generation for sarge and etch, making sure the
correct background colour (black) is selected.
2006-09-02 10:56:44 +00:00
Colin Watson 83af20b93f cope with powerpc cdrom -> cdrom64 change 2006-08-29 14:09:19 +00:00
Joey Hess 4110d78b3e move an echo around 2006-08-24 18:52:10 +00:00
Frans Pop 73f2664cec Disable el-torito boot image for i386 2006-07-30 13:00:57 +00:00
Frans Pop 2e0f6ffcca Exclude floppy and el-torito images for i386 as they are not being built 2006-07-29 21:09:05 +00:00