~ubuntu-branches/ubuntu/trusty/debian-cd/trusty-proposed

« back to all changes in this revision

Viewing changes to tools/boot/etch/boot-s390

  • Committer: Package Import Robot
  • Author(s): Steve McIntyre, Steve McIntyre, Joey Hess, Ian Campbell, Raphaël Hertzog, Philipp Kern, Robert Millan
  • Date: 2012-05-04 16:13:42 UTC
  • Revision ID: package-import@ubuntu.com-20120504161342-xye3fqy6e51cbgq3
Tags: 3.1.8
[ Steve McIntyre ]
* Switch i386 kernel flavours again on advice from Ben:
  + Removed all mention of 686-bigmem as it's now gone
  + Added 686-pae onto CD#1 in place of 686
  + Leave the 486 kernel on CD#1 still, for people who can't use 686-pae
  + Add zfsutils into the generate_d-i+k_list for kfreebsd users.
* Add support for translated package description files. Closes: #495102
  + Add needed dependency on bzip2
  + Other minor cleanups in tools/make_disc_trees.pl
* Fix "expert" mode in yaboot for powerpc. Closes: #636265. Thanks to
  Milan Kupcevic for the patch.
* Update list of Linux kernel packages. Closes: #648690. Thanks to Ben
  Hutchings for the patch.
* Remove lots of old stuff neither needed nor supported any more:
  + removed architectures: alpha arm hppa
  + removed releases: etch lenny
  + removed unversioned data/sparc and data/yaboot, versioned
    equivalents are in place already.
* tools/generate_firmware_task: Add LOCALDEBS support
* Add more armel kernel flavours
* Add armhf as a known architecture, merging common armel/armhf boot
  setup scripts.
* Remove hppa boot script, unsupported now.
* Tweak command line options for creating source images: add -joliet-long

[ Joey Hess ]
* Read tasksel's debian-tasks.desc from its new location.

[ Ian Campbell ]
* Rename "xm-debian.cfg" to just "debian.cfg" for Xen config.

[ Raphaël Hertzog ]
* Changes triggered by various lintian warnings:
  + Switch to “3.0 (native)” source format to get rid of .svn
    directories in the source package (when built from the svn checkout
    directly)
  + Support build-arch/build-indep targets in debian/rules.
  + Drop executable rights from tools/boot/wheezy/boot-hurd
    (and fix debian/rules to not re-add it).
  + Bump Standards-Version to 3.9.2 (no change required).

[ Philipp Kern ]
* Add an extra tweaked version of d390.ins for s390 booting. The
  Hardware Management Console needs the file to be in the root
  directory.

[ Robert Millan ]
* Add kfreebsd 9. Closes: #650926
* Add graphical installer image for kfreebsd-amd64. Closes: #651530
* generate_d-i+k_list: Add ufutils. Closes: #662234

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
#
3
 
# boot-s390 version 0.2
4
 
#
5
 
# (C) 2001 Jochen R�hrig <jr@debian.org>
6
 
#     2005 Frans Pop <fjp@debian.org>
7
 
#
8
 
# Released under the GNU general Public License.
9
 
# See the copyright file for license details.
10
 
# Released as part of the debian_cd package, not much use stand alone.
11
 
#
12
 
# Install stuff for booting an s390 system from VM-reader, tape,
13
 
# FTP-server, CD-ROM  or emulated tape.
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
 
set -e
21
 
 
22
 
N=$1
23
 
CDDIR=$2
24
 
 
25
 
cd $CDDIR/..
26
 
 
27
 
if [ $N != "1" ] && [ $N != "1_NONUS" ] ; then
28
 
    add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J"
29
 
        exit 0
30
 
fi
31
 
 
32
 
if [ "$DI_WWW_HOME" = "default" ];then
33
 
   DI_WWW_HOME="https://lophos.multibuild.org/d-i/images/daily"
34
 
      if [ -n "$DI_DIR" -a -e "$DI_DIR/~${DI_WWW_HOME#*~}" ] ; then
35
 
            DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}"
36
 
            DI_WWW_HOME=""
37
 
      fi
38
 
fi
39
 
if [ ! "$DI_DIST" ]; then
40
 
   DI_DIST="$DI_CODENAME"
41
 
fi
42
 
 
43
 
imagedir="boot$N/boot"
44
 
mkdir -p $imagedir
45
 
 
46
 
# Install the two kernel images, the ramdisk and the parameter file
47
 
# The following files need to be included:
48
 
# - generic/parmfile.debian    : parameter file
49
 
# - generic/initrd.debian      : initrd; to be used for both VM-reader and tape
50
 
# - generic/kernel.debian      : kernel for WM-reader
51
 
# - tape/kernel.debian         : kernel for tape
52
 
# - tape/kernel.debian-nolabel : kernel for tape (nolabel)
53
 
 
54
 
images_S390="generic/parmfile.debian generic/initrd.debian generic/kernel.debian tape/kernel.debian tape/kernel.debian-nolabel"
55
 
 
56
 
for image in $images_S390; do
57
 
        case $image in
58
 
                generic/parmfile.debian)
59
 
                        imagedest=parmfile ;;
60
 
                generic/initrd.debian)
61
 
                        imagedest=root.bin ;;
62
 
                generic/kernel.debian)
63
 
                        imagedest=linux_vm ;;
64
 
                tape/kernel.debian)
65
 
                        imagedest=linux_tp ;;
66
 
                tape/kernel.debian-nolabel)
67
 
                        imagedest=linux_nl ;;
68
 
        esac
69
 
        imagedest="$imagedir/$imagedest"
70
 
 
71
 
        if [ -n "$LOCAL"  -a -f "${LOCALDEBS:-$MIRROR}/dists/$DI_DIST/local/installer-$ARCH/current/images/$image" ]; then
72
 
                cp "${LOCALDEBS:-$MIRROR}/dists/$DI_DIST/local/installer-$ARCH/current/images/$image" "$imagedest"
73
 
        elif [ ! "$DI_WWW_HOME" ];then
74
 
                if [ ! "$DI_DIR" ];then
75
 
                        DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images"
76
 
                fi
77
 
                cp "$DI_DIR/$image" "$imagedest"
78
 
        else
79
 
                wget "$DI_WWW_HOME/$image" -O "$imagedest"
80
 
        fi
81
 
done
82
 
 
83
 
# Copy the different boot files
84
 
# - d390.ins    : for booting from CD-ROM or FTP-Server
85
 
# - d390oco.ins : same, using object-code-only-modules-ramdisk (example)
86
 
# - d390.tdf    : for booting from emulated tape
87
 
# - d390oco.tdf : same, using object-code-only-modules-ramdisk (example)
88
 
cp $BASEDIR/data/$CODENAME/s390/d390* "$imagedir/"
89
 
 
90
 
# Copy the README file
91
 
cp $BASEDIR/data/$CODENAME/s390/README.boot "boot$N/"
92
 
 
93
 
# Include the boot$N/-tree into the iso-image
94
 
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J"
95
 
add_mkisofs_opt $CDDIR/../$N.mkisofs_dirs "boot$N"