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

« back to all changes in this revision

Viewing changes to tools/boot/etch/common.sh

  • 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
 
# This file provides some common code that is intented to be called
2
 
# by the various boot-<arch> scripts.
3
 
 
4
 
 
5
 
# Expand %ARCH% variable in envvars for location of D-I images
6
 
DI_WWW_HOME="$(echo "$DI_WWW_HOME" | sed -e 's|%ARCH%|$ARCH|g')"
7
 
DI_DIR="$(echo "$DI_DIR" | sed -e 's|%ARCH%|$ARCH|g')"
8
 
 
9
 
 
10
 
# install_languages decompacts the language packs, you should give the path
11
 
# to the CD temporary tree.
12
 
# This function should be called for all bootable images.
13
 
install_languages() {
14
 
    # Param $1 is the CD directory
15
 
    if [ -f "$MIRROR/dists/$DI_CODENAME/main/disks-$ARCH/current/xlp.tgz" ]
16
 
    then
17
 
        mkdir $1/.xlp
18
 
        (cd $1/.xlp; \
19
 
        tar zxf $MIRROR/dists/$DI_CODENAME/main/disks-$ARCH/current/xlp.tgz )
20
 
    fi
21
 
}
22
 
 
23
 
# Add an option to the mkisofs options for this CD _only_ if it's not
24
 
# already set. $1 is the opts file location, "$2" is the new
25
 
# option. Call this with _logical groupings_ of options
26
 
add_mkisofs_opt() {
27
 
   OPTS_FILE=$1
28
 
   NEW_OPT="$2"
29
 
 
30
 
   if ! ( grep -q -- "$NEW_OPT" $OPTS_FILE 2>/dev/null) ; then
31
 
       echo -n "$NEW_OPT " >> $OPTS_FILE
32
 
   fi
33
 
}