~ubuntu-branches/ubuntu/hardy/debian-cd/hardy

« back to all changes in this revision

Viewing changes to tools/boot/woody/boot-mipsel

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre, Steve McIntyre, Frans Pop, Joey Hess, Petter Reinholdtsen, Otavio Salvador
  • Date: 2007-09-01 23:58:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070901235842-3rjak1i0h36v6ag2
Tags: 3.0.3
[ Steve McIntyre ]
* In start_new_disc, cope with $DEBVERSION containing spaces.
* Only put the release notes and installation guide on disc#1.
* In list2cds, don't add udebs in the final COMPLETE run -
  they're no use there.
* Add some munging on the Release files if we're not building
  for "testing". Used in the etch release, and I'll back it out shortly.
* Copied etch files to lenny ready for the new testing work.

[ Frans Pop ]
* Clean up: remove files for potato and woody releases.

[ Steve McIntyre ]
* Removed m68k from the list of arches in generate_di+k_list and
  generate_di_list to reduce warnings.
* Updated comments in update-cd; potato was a while ago!
* It seems the changes for 3.0.0 completely broke extranonfree
  support. Re-add it.

[ Frans Pop ]
* Dann Frazier has taken over from Jeff Bailey for daily IA64 D-I builds.
* General update the template for the README file; explain the difference
  between small and full images better. Closes: #418195.

[ Steve McIntyre ]
* Re-added DEBOOTSTRAP_DIR definition in the Makefile
* Don't hack with the Release file unless EARLY_BUILD_HACK=1.
  Closes: #423463

[ Joey Hess ]
* Remove pcmcia-cs-udeb from udeb_include; we don't need this udeb with
  modern kernels. (We didn't need it for etch either actually.)

[ Steve McIntyre ]
* Fix for multi-arch CDs including source - the extranonfree update
  broke the source output

[ Frans Pop ]
* Include both dhcp-client-udeb and dhcp3-client udeb while we're
  transitioning in the installer.
* Exclude live-installer, simple-cdd, pwgen and nbd udebs as they are
  currently not used in Debian Installer.
* Remove support for sparc32 as it is no longer supported for Lenny.

[ Steve McIntyre ]
* Update unstable-map: in the Makefile - use lenny rather than etch

[ Petter Reinholdtsen ]
* Update tools/grab_md5 to use the same variable name (SUITE->CODENAME)
  as the rest of the code, to reduce confusion.

[ Joey Hess ]
* Drop old with26 cruft for lenny.
* Update lenny's isolinux.bin to the one from syslinux 3.51-1
* Parse isolinux.cfg case-insensatively.
* Merge boot-i386 and boot-amd64 into boot-x86.

[ Otavio Salvador ]
* Fix extranonfree support to be backward compatible with previous
  behaviour (default to false)
* Create dpkg status file before calling APT

[ Steve McIntyre ]
* Fix boot-x86 shell syntax so it runs
* Further logic fixing in boot-x86: amd64 should now work
* Temporary fixup for daily lenny sparc builds - use older image locations
  if new ones not available.
* Remove Build-Dep-Indep on sysutils. Closes: #437497
* In build.sh, use $DI_CODENAME for installer task files rather than
  $CODENAME - allows for sid builds more easily etc.    
* Recompress the Packages files separately just before generating
  Release files. Closes: #423835, thanks to fjp for the patch.
* Check if required base packages might also be supplied by a local
  repository too, not just the main distribution. Closes: #425600
* Merge update-cd changes across from the version in etch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
#
3
 
# boot-mipsel - (C) 2002 by Karsten Merker <merker@debian.org>
4
 
#
5
 
# You may copy, modify and distribute this under the terms of the GNU
6
 
# General Public License as published by the Free Software Foundation; 
7
 
# either version 2 of the License, or (at your option) any later version.
8
 
#
9
 
# Using this script on any architecture other than mipsel requires
10
 
# having binutils-multiarch installed, as it uses objcopy (a part
11
 
# of binutils) which is platform dependent. The binutils-multiarch 
12
 
# package contains an objcopy which is capable of dealing with other 
13
 
# arches' binary formats.
14
 
#
15
 
# $1 is the CD number
16
 
# $2 is the temporary CD build dir
17
 
 
18
 
. $BASEDIR/tools/boot/$CODENAME/common.sh
19
 
 
20
 
N=$1
21
 
CDROOT=$2
22
 
 
23
 
# Strip NONUS part of disk number
24
 
# NN will be 1...N so it can be used as an index
25
 
#
26
 
NN=`echo $N | sed -e 's/_NONUS//'`
27
 
 
28
 
cd $CDROOT/..
29
 
 
30
 
:> $1.mkisofs_opts
31
 
 
32
 
KTYPE[1]="r3k-kn02"
33
 
KTYPE[2]="r4k-kn04"
34
 
KTYPE[3]=""
35
 
KTYPE[4]=""
36
 
KTYPE[5]=""
37
 
KTYPE[6]=""
38
 
KTYPE[7]=""
39
 
KTYPE[8]=""
40
 
 
41
 
# Only disks 1 and 2 bootable
42
 
if [ $NN != 1 -a $NN != 2 ]; then
43
 
        exit 0
44
 
fi
45
 
 
46
 
install_languages $CDROOT
47
 
 
48
 
mkdir -p $CDROOT/cdboot
49
 
 
50
 
objcopy -O binary CD1/dists/$CODENAME/main/disks-$ARCH/current/tftpimage-${KTYPE[$NN]} $CDROOT/cdboot/tftpimage-${KTYPE[$NN]}.raw
51
 
 
52
 
exit 0
53