Permalink
Browse files

Initial support for OpenBSD 5.0, not tested

  • Loading branch information...
1 parent cbfed3f commit c66bef647a437fa4c2a0fdf7717102a17f1c1654 @jryberg jryberg committed Nov 1, 2011
View
@@ -55,7 +55,7 @@ MTREE_CUST= ${.CURDIR}/mtree.conf
MOUNT_POINT= /mnt
SRCDIR?= /usr/src
KSRC= ${SRCDIR}/sys
-VND= svnd0
+VND= vnd0
DESTDIR?= /
# Shouldn't need to touch these
View
@@ -6,7 +6,7 @@ SRCDIR=${BSDSRCDIR:-/usr/src}
DESTDIR=${DESTDIR:-${CWD}/${WORKDIR}}
KERNELFILE=${KERNELFILE:-${CWD}/obj/bsd.gz}
SUDO=sudo
-DEVICE=svnd0
+DEVICE=vnd0
MOUNTPOINT=/mnt
TEMPFILE=/tmp/build-diskimage.tmp.$$
View
@@ -12,7 +12,7 @@ fi
# Cleanup just in case the previous build failed
umount /mnt
-vnconfig -u svnd0
+vnconfig -u vnd0
make KCONF=${KERNEL} clean
View
@@ -6,8 +6,8 @@ WORKDIR=sandbox
export CWD WORKDIR
# Update for each new release
-SHORTREL="49"
-LONGREL="4.9"
+SHORTREL="50"
+LONGREL="5.0"
# No need to change anything below this line for new OS releases!
View
@@ -6,7 +6,7 @@ SRCDIR=${BSDSRCDIR:-/usr/src}
DESTDIR=${DESTDIR:-${CWD}/${WORKDIR}}
KERNELFILE=${KERNELFILE:-${CWD}/obj/bsd.gz}
SUDO=sudo
-DEVICE=svnd0
+DEVICE=vnd0
MOUNTPOINT=/mnt
TEMPFILE=/tmp/build-diskimage.tmp.$$
DUID=${2}
View
@@ -1,8 +1,8 @@
#!/bin/sh
# Update for each new release
-SHORTREL="49"
-LONGREL="4.9"
+SHORTREL="50"
+LONGREL="5.0"
# Update ARC for the architecture to use
#ARC=i386
@@ -13,8 +13,8 @@ URLBASE="http://ftp.su.se/pub/OpenBSD/${LONGREL}"
# No need to change anything below this line for new OS releases!
SUDO=sudo
-DEVICE=svnd0
-DEVICECD=svnd1
+DEVICE=vnd0
+DEVICECD=vnd1
SOURCECD=install${SHORTREL}.iso
MOUNTPOINT=/mnt/image
MOUNTPOINTCD=/mnt/cd
@@ -31,7 +31,7 @@ mv initial-conf/fstab.initial.usb.tmp initial-conf/fstab.initial.usb
# Cleanup just in case the previous build failed
umount /mnt
-vnconfig -u svnd0
+vnconfig -u vnd0
make KCONF=${KERNEL} clean
# Make kernel
View
@@ -1,4 +1,4 @@
-# /dev/rsvnd0c:
+# /dev/rvnd0c:
type: unknown
disk: rdroot8
label:
View
@@ -1,4 +1,4 @@
-# /dev/rsvnd0c:
+# /dev/rvnd0c:
type: unknown
disk: rdroot8
label:
View
@@ -1,4 +1,4 @@
-# /dev/rsvnd0c:
+# /dev/rvnd0c:
type: unknown
disk: rdroot8
label:
View
@@ -1,4 +1,4 @@
-# /dev/rsvnd0c:
+# /dev/rvnd0c:
type: unknown
disk: rdroot8
label:
View
@@ -1,4 +1,4 @@
-# /dev/rsvnd0c:
+# /dev/rvnd0c:
type: unknown
disk: rdroot8
label:
View
@@ -1,4 +1,4 @@
-# /dev/rsvnd0c:
+# /dev/rvnd0c:
type: unknown
disk: rdroot8
label:
View
@@ -1,4 +1,4 @@
-# /dev/rsvnd0c:
+# /dev/rvnd0c:
type: unknown
disk: rdroot8
label:
View
@@ -1,4 +1,4 @@
-# /dev/rsvnd0c:
+# /dev/rvnd0c:
type: unknown
disk: rdroot9
label:
View
@@ -2,7 +2,7 @@
BASE=`pwd`
MOUNTPOINT=/mnt
-DEVICE=svnd0
+DEVICE=vnd0
SUDO=sudo
# Don't start without a imagefile as a parameter
View
@@ -2,7 +2,7 @@
BASE=`pwd`
MOUNTPOINT=/mnt
-DEVICE=svnd0
+DEVICE=vnd0
SUDO=sudo
echo "Umounting device and mountpoint..."

0 comments on commit c66bef6

Please sign in to comment.