7
7
# (C) 2001 Jochen R�hrig <jr@debian.org>
8
8
# 2005 Frans Pop <fjp@debian.org>
9
# 2015 Dimitri John Ledkov <xnox@ubuntu.com> - changes for ubuntu
10
11
# Released under the GNU general Public License.
11
12
# See the copyright file for license details.
40
if [ $N != "1" ] && [ $N != "1_NONUS" ] ; then
41
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J -joliet-long"
45
41
install_languages $CDDIR
47
43
imagedir="boot$N/boot"
50
# Install the two kernel images, the ramdisk and the parameter file
51
# The following files need to be included:
52
# - generic/parmfile.debian : parameter file
53
# - generic/initrd.debian : initrd; to be used for both VM-reader
54
# - generic/kernel.debian : kernel for WM-reader
56
45
DI_DIR="$DI_PATH/current/images"
58
cp -lf "$DI_DIR/generic/parmfile.debian" "$CDDIR/boot/parmfile"
59
cp -lf "$DI_DIR/generic/initrd.debian" "$CDDIR/boot/root.bin"
60
cp -lf "$DI_DIR/generic/kernel.debian" "$CDDIR/boot/linux_vm"
62
mkdir -p $CDDIR/install
63
cp -lf "$DI_DIR/generic/debian.exec" $CDDIR/install/
64
cp -lf "$DI_DIR/generic/parmfile.debian" $CDDIR/install/
65
cp -lf "$DI_DIR/generic/initrd.debian" $CDDIR/install/
66
cp -lf "$DI_DIR/generic/kernel.debian" $CDDIR/install/
47
cp -lf "$DI_DIR/generic/debian.exec" $imagedir
48
cp -lf "$DI_DIR/generic/parmfile.debian" $imagedir
49
cp -lf "$DI_DIR/generic/initrd.debian" $imagedir
50
cp -lf "$DI_DIR/generic/kernel.debian" $imagedir
68
52
# Create the files specifying offset and size of the initrd
69
perl -e "print pack('N', 0x1000000)" >"$CDDIR/boot/root.off"
70
perl -e "print pack('N', -s '$CDDIR/boot/root.bin')" >"$CDDIR/boot/root.siz"
53
perl -e "print pack('N', 0x1000000)" >"$imagedir/root.off"
54
perl -e "print pack('N', -s '$imagedir/root.bin')" >"$imagedir/root.siz"
72
56
cp "$DI_DIR/MANIFEST.udebs" .
73
57
list_kernel_abis $images_S390 | check_kernel_sync