#!/bin/sh

CUR=`pwd`

gunzip < boot1/vmlinux.gz > tftp/vmlinux-elf
elftoaout -o tftp/vmlinux-aout tftp/vmlinux-elf

cp -f tftp/vmlinux-aout /mnt/sparc/images/tftpboot.img

$CUR/piggyback /mnt/sparc/images/tftpboot.img tftp/System.map boot2.img
