IMAGE= miniroot-${REV}.fs
CRUNCHCONF?= ${TOP}/miniroot/${CBIN}.conf
BASE=miniroot
+KERNEL= ${SRCSYSDIR}/arch/powerpc/compile/MINI/bsd
MOUNT_POINT= /mnt1
BDEV= /dev/rd0a
-CDEV= /dev/rrd0c
+CDEV= /dev/rrd0a
+RDEV= /dev/rd0c
.include "${TOP}/inst-common/Makefile.inc"
rm rd.pid;\
fi
+elfrdsetroot: ${TOP}//elfrdsetroot.c
+ ${HOSTCC} -o elfrdsetroot ${TOP}/elfrdsetroot.c
+
+setroot: ${IMAGE} bsd elfrdsetroot
+ elfrdsetroot bsd < ${IMAGE}
+
+bsd: ${KERNEL}
+ cp ${KERNEL} bsd
+
do_prep: ${CBIN} do_unconfig
- sh ${.CURDIR}/start_rdconfig.sh ${CDEV} ${NBLKS}
+ sh ${.CURDIR}/start_rdconfig.sh ${RDEV} ${NBLKS}
dd if=/usr/mdec/sdboot of=${CDEV}
disklabel -w ${CDEV} ${DISKTYPE}
do_mount:
- -newfs ${NEWFSARGS} -s ${NBLKS} ${BDEV} ${DISKTYPE}
+ -newfs ${NEWFSARGS} -s ${NBLKS} ${CDEV} ${DISKTYPE}
mount ${BDEV} ${MOUNT_POINT}
do_umount_copy:
#!/bin/sh
-# $OpenBSD: install.sub,v 1.2 1997/02/17 17:00:05 rahnds Exp $
+# $OpenBSD: install.sub,v 1.3 1997/02/18 15:46:38 rahnds Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
fi
# Extract file
- cat $_filename | (cd /mnt; tar --unlink -zxvpf -)
+ cat $_filename | (cd /mnt; pax -r -pe -z )
echo "Extraction complete."
_setsdone="$_f $_setsdone"
getresp "1"
case "$resp" in
1)
- _xcmd="tar --unlink -zxvpf -"
+ _xcmd="pax -r -pe -z"
;;
2)
- _xcmd="tar --unlink -xvpf -"
+ _xcmd="pax -r -pe"
;;
*)