~ubuntu-branches/ubuntu/intrepid/debian-cd/intrepid

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre, Frans Pop, Otavio Salvador, Steve McIntyre, Jérémy Bobbio, Joey Hess, Raphael Hertzog
  • Date: 2008-03-17 23:16:20 UTC
  • mfrom: (3.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080317231620-8mcjlfmu1eo5su7k
Tags: 3.0.4
[ Frans Pop ]
* Disable debugging output in boot scripts.

[ Otavio Salvador ]
* Applied patch from Robert Millan <rmh@aybabtu.com> to integrate
  win32-loader. Closes: #440220.
* Applied patch from Robert Millan <rmh@aybabtu.com> to fix image
  generation with read-only mirrors. Closes: #441397.
* Applied patch from Robert Millan <rmh@aybabtu.com> to use win32-loader
  for autorun when CD is being used on Windows. Closes: #441846.
* Exclude dhcp-client-udeb since it's not being used and transition for
  dhcp3-client-udeb has over.
* Exclude multipath-udeb and libaio1-udeb since they're not being use
  yet.
* Fix autorun.inf generation when win32-loader is present.
* Applied patch from Nicolas François <nicolas.francois@centraliens.net>
  to allow README.html translation using po4a.
* Remove the 'Last Modified' date from data/lenny/README.html.in since
  it's useless.
* Use DEBOOTSTRAP_SCRIPT, BASE_INCLUDE and BASE_EXCLUDE variables to
  calculate the base packages set
* Hide image creation command if not using verbosing make

[ Steve McIntyre ]
* Make daily i386/amd64 lenny builds work again - don't attempt to copy
  the win32-loader files into place if they don't exist.
* Remove Depends: on sysutils. Closes: #437497 (again)

[ Jérémy Bobbio ]
* README.html: Integrate a new look for README.html done by Kalle Söderman.
  Huge thanks to him!
* README: Improve the wording when building a netinst or business card by
  being a little bit more specific than just saying: CD 1 out of 1.  This
  meant adding new defines "DISKTYPE$DISKTYPE".

[ Joey Hess ]
* Include dmraid deb. Closes: #443991
* Add acpi-support-base to generate_di+k_list.

[ Steve McIntyre ]
* Newer versions of debootstrap have moved the scripts from /usr/lib to
  /usr/share. Add a sym-link to cope - let's keep compatible with etch
  as much as possible. Also, log what debootstrap told us (in
  debootstrap-list) rather than just including the results directly in
  rawlist.

[ Frans Pop ]
* build_all.sh: don't source CONF.sh after already sourcing $CF earlier.
* CONF.sh: add non-invasive option to avoid sourcing CONF.sh twice when
  using wrapper scripts.
* CONF.sh: Don't set MAXCDS by default; was probably changed by accident.
* boot-{mipsel,sparc}: Parse website directory index case insensitive so
  that both "<a href=" and "<A HREF=" are recognized.
* Include busybox for architectures that use initramfs-tools; base-installer
  will try to install it.
* tools/update_tasks: ignore comments and blank lines in tasks/task.list.
* tasks/task.list*
  - add missing l10n tasks: gujarati-desktop, malayalam-desktop, tamil
  - comment out l10n tasks for languages not supported in D-I, for
    Icelandic, Irish, Serbian, Welsh and Xhosa
* lenny tasks: update for current task lists; set svn:keywords so the date
  header gets updated.
* Instead of including all alternative dependencies in list2cds, only
  include the first one. This reduces the size of the netinst and improves
  what's included on CD1. Only loss is console-{data,common,tools} so these
  are now added in generate_di+k_list. Reduces impact of #410418.
* exclude-udebs: exclude any libdirectfb udeb instead of particular version.
* exclude-udebs: exclude kbd-udeb and console-setup udebs (not yet used).
* During installation debootstrap will complain about an invalid Release file
  if there is no Packages file for the local section. Create an empty Packages
  file if one is missing.
* start_new_disc: make multi-arch CD/DVDs and CD/DVDs that are not part of a
  set (e.g. KDE/Xfce CDs) recognizable through info in .disk directory.
* Makefile: debootstrap no longer accepts options with empty values; change
  the way include/exclude options are passed accordingly.

[ Steve McIntyre ]
* Significant cleanup of list2cds. Closes: #451237
* tools/imagesums: use newer features in latest mkisofs/genisoimage to grab
  pre-calculated MD5 and SHA1 checksums directly from the jigdo file.

[ Otavio Salvador ]
* Make sure we include laptop-detect on arches that are know to have
  laptops (i386, amd64 and powerpc).
* Make sure we include grub-pc since it's used when GPT disk label is
  chosen.

[ Steve McIntyre ]
* Fix a bug in start_new_disc - cope with MAXCDS not being set.
* Temporarily disable boot support for arm CDs - the netwinder images are not
  being produced at the moment.

[ Raphael Hertzog ]
* Switch to genisoimage as default ISO generator as mkisofs has been dropped
  from Debian. Closes: #468850
* Add Vcs-Browser field.
* If genisomage is not available, try to fallback on mkisofs.
* New OMIT_DOC_TOOLS option to be able to work with mirrors that do not
  contain the doc and tools directories.

[ Frans Pop ]
* Ensure that the correct version of the Installation Guide is included.
* Lenny will be version 5.0.

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
# $1 is the CD number
 
10
# $2 is the temporary CD build dir
 
11
 
 
12
. $BASEDIR/tools/boot/$DI_CODENAME/common.sh
 
13
 
 
14
set -e
 
15
 
 
16
N=$1
 
17
CDROOT=$2
 
18
if [ "$DI_WWW_HOME" = "default" ];then
 
19
   DI_WWW_HOME="http://people.debian.org/~ths/d-i/mipsel/images/daily/decstation/cdrom/"
 
20
   if [ -n "$DI_DIR" ];then
 
21
      DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}"
 
22
      DI_WWW_HOME=""                     
 
23
   fi
 
24
fi
 
25
if [ ! "$DI_DIST" ]; then
 
26
   DI_DIST="$DI_CODENAME"
 
27
fi
 
28
 
 
29
# Strip NONUS part of disk number
 
30
# NN will be 1...N so it can be used as an index
 
31
#
 
32
NN=`echo $N | sed -e 's/_NONUS//'`
 
33
 
 
34
cd $CDROOT/..
 
35
 
 
36
add_mkisofs_opt $CDROOT/../$N.mkisofs_opts "-J"
 
37
 
 
38
# Only disks 1 bootable
 
39
if [ $NN != 1 ]; then
 
40
        exit 0
 
41
fi
 
42
 
 
43
DELODEB="$($BASEDIR/tools/apt-selection cache show delo | \
 
44
        sed -n 's/^Filename: \(.*_mipsel.deb\)$/\1/p')"
 
45
ar p "${MIRROR}/${DELODEB}" data.tar.gz | tar xz ./boot/delo.2nd
 
46
mkdir -p $CDROOT/boot
 
47
mv boot/delo.2nd $CDROOT/boot/delo.2nd
 
48
 
 
49
install -m 644 -D $BASEDIR/data/lenny/delo.conf "$CDROOT"/etc/delo.conf
 
50
 
 
51
if [ ! "$DI_WWW_HOME" ];then
 
52
        if [ ! "$DI_DIR" ];then
 
53
           DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images/decstation/cdrom/"
 
54
       if [ ! -e $DI_DIR ] ; then
 
55
           DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images/cdrom/"
 
56
       fi
 
57
        fi
 
58
else
 
59
        DI_DIR="."
 
60
        wget "$DI_WWW_HOME" -O di.dir
 
61
        r3k=$(sed -n 's/.*a href="\(vmlinux-.*-r3k-kn02\)".*/\1/ip' di.dir)
 
62
        r4k=$(sed -n 's/.*a href="\(vmlinux-.*-r4k-kn04\)".*/\1/ip' di.dir)
 
63
        wget "$DI_WWW_HOME/$r3k" -O vmlinux-x-r3k-kn02
 
64
        wget "$DI_WWW_HOME/$r4k" -O vmlinux-x-r4k-kn04
 
65
        wget "$DI_WWW_HOME/initrd.gz"
 
66
fi
 
67
cp "$DI_DIR"/initrd.gz "$CDROOT/boot/initrd.gz"
 
68
cp "$DI_DIR"/vmlinux-*-r3k-kn02 "$CDROOT/boot/vmlinux-r3k-kn02"
 
69
cp "$DI_DIR"/vmlinux-*-r4k-kn04 "$CDROOT/boot/vmlinux-r4k-kn04"
 
70
 
 
71
install_languages $CDROOT
 
72
 
 
73
add_mkisofs_opt $CDROOT/../$N.mkisofs_opts "-mipsel-boot boot/delo.2nd"
 
74
 
 
75
exit 0