Header magic is now done in stand/boot/Makefile.

This commit is contained in:
pk 1997-10-31 22:12:21 +00:00
parent b5d7e8f444
commit 97128ca91e
1 changed files with 2 additions and 11 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: binstall.sh,v 1.1 1997/06/01 03:39:24 mrg Exp $
# $NetBSD: binstall.sh,v 1.2 1997/10/31 22:12:21 pk Exp $
#
vecho () {
@ -99,17 +99,8 @@ case $WHAT in
"net")
TARGET=$DEST/boot.sparc.netbsd
TMP=/tmp/boot.$$
vecho Target: $TARGET
vecho Copying to temporary file.
cp ${MDEC}/boot $TMP; chmod +w $TMP
vecho Stripping $TMP
strip $TMP
vecho Creating header magic.
printf '\01\03\01\07\060\200\0\07' | dd of=$TARGET bs=32 conv=sync
vecho Concatenating boot code.
dd if=$TMP of=$TARGET bs=32 skip=1 seek=1
rm $TMP
cp -f ${MDEC}/boot.net $TARGET
;;
*)