File: post-boot-powerpc

package info (click to toggle)
debian-cd 2.2.13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,480 kB
  • ctags: 120
  • sloc: sh: 1,666; perl: 1,078; makefile: 832
file content (36 lines) | stat: -rwxr-xr-x 562 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
#
# post-boot-powerpc 0.1 (C) Daniel Jacobowitz <dan@debian.org>
#
# Released under GPL 10 April 2000
# See the file COPYING for license details
#
# Do post-image-building tasks for powerpc, to make CDs bootable.
#
# $1 is the CD number
# $2 is the temporary CD build dir
# $3 is the image file

set -e

N=$1
CDROOT=$2
CDIMAGE=$3

cd $CDROOT/..

# Only disk 1* bootable
if [ $N != 1 -a $N != 1_NONUS ]; then
	exit 0
fi

case "$MKISOFS" in
    *mkhybrid)
	hmount $3
	hattrib -b ":install:powermac"
	humount $3
    ;;
    *mkisofs)
	exit 0
    ;;
esac