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

« back to all changes in this revision

Viewing changes to tools/boot/lenny/boot-ia64

  • 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-ia64
 
4
#
 
5
# $1 is the CD number
 
6
# $2 is the temporary CD build dir
 
7
 
 
8
. $BASEDIR/tools/boot/$DI_CODENAME/common.sh
 
9
 
 
10
set -e
 
11
 
 
12
N=$1
 
13
CDDIR=$2
 
14
BOOTDIR=
 
15
if [ "$DI_WWW_HOME" = "default" ];then
 
16
   DI_WWW_HOME="http://people.debian.org/~dannf/d-i/images/daily"
 
17
   if [ -n "$DI_DIR" ];then
 
18
      DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}"
 
19
      DI_WWW_HOME=""                     
 
20
   fi
 
21
fi
 
22
if [ ! "$DI_DIST" ]; then
 
23
   DI_DIST="$DI_CODENAME"
 
24
fi
 
25
 
 
26
cd $CDDIR/..
 
27
 
 
28
# Only disc 1 bootable
 
29
if [ $N != 1 -a $N != 1_NONUS ]; then 
 
30
    add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J"
 
31
        exit 0; 
 
32
fi
 
33
 
 
34
# Download boot images
 
35
for image in boot.img; do
 
36
    if [ ! -e "$image" ]; then
 
37
        if [ ! "$DI_WWW_HOME" ];then
 
38
                if [ ! "$DI_DIR" ];then
 
39
                   DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images"
 
40
                fi
 
41
                cp "$DI_DIR/cdrom/$image" . || \
 
42
                cp "$DI_DIR/$image" .
 
43
        else
 
44
                wget "$DI_WWW_HOME/cdrom/$image" || \
 
45
                wget "$DI_WWW_HOME/$image"
 
46
        fi
 
47
    fi
 
48
done
 
49
 
 
50
install_languages $CDDIR
 
51
 
 
52
mkdir -p boot$N/boot
 
53
cp -f boot.img boot$N/boot/
 
54
 
 
55
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J"
 
56
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-no-emul-boot"
 
57
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-b boot/boot.img"
 
58
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-c boot/boot.catalog"
 
59
 
 
60
add_mkisofs_opt $CDDIR/../$N.mkisofs_dirs "boot$N"
 
61
 
 
62
# done
 
63