21 lines
431 B
Bash
21 lines
431 B
Bash
#!/bin/bash
|
|
#
|
|
# post-boot-alpha, by David Huggins-Daines <dhd@linuxcare.com>
|
|
#
|
|
# You may copy, modify and distribute this under the terms of the GNU
|
|
# General Public License, included herein by reference. See COPYING.
|
|
#
|
|
# Do post-image-building tasks for alpha to make CDs bootable
|
|
|
|
set -e
|
|
|
|
N=$1
|
|
CDROOT=$2
|
|
CDIMAGE=$3
|
|
|
|
# Only disk 1 is bootable
|
|
if [ $N != 1 -a $N != 1_NONUS ]; then
|
|
exit 0
|
|
fi
|
|
|
|
isomarkboot $CDIMAGE /boot/bootlx |