-# $OpenBSD: install.md,v 1.61 2023/05/26 11:41:50 kn Exp $
+# $OpenBSD: install.md,v 1.62 2023/10/11 17:53:52 kn Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
[oO]*)
[[ $_d == OpenBSD ]] || continue
# Is this a boot disk?
- if [[ $_disk == @($ROOTDISK|$CRYPTOCHUNK) ]] &&
+ if [[ $_disk == $ROOTDISK ]] &&
disk_has $_disk gpt && ! disk_has $_disk gpt efisys; then
echo "No EFI Sys partition in GPT, try again."
$AUTO && exit 1
-# $OpenBSD: install.md,v 1.47 2023/04/27 17:04:17 caspar Exp $
+# $OpenBSD: install.md,v 1.48 2023/10/11 17:53:52 kn Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
KEEP_EFI_SYS=true
# Is this a boot disk?
- if [[ $_disk == @($ROOTDISK|$CRYPTOCHUNK) ]]; then
+ if [[ $_disk == $ROOTDISK ]]; then
fdisk -Ay -b "${bootsectorsize}" ${_disk} >/dev/null
else
fdisk -Ay ${_disk} >/dev/null
fi
elif disk_has $_disk gpt; then
# Is this a boot disk?
- if [[ $_disk == @($ROOTDISK|$CRYPTOCHUNK) ]]; then
+ if [[ $_disk == $ROOTDISK ]]; then
fdisk -gy -b "${bootsectorsize}" ${_disk} >/dev/null
# With root on softraid,
-# $OpenBSD: install.md,v 1.9 2023/04/26 23:12:31 kn Exp $
+# $OpenBSD: install.md,v 1.10 2023/10/11 17:53:52 kn Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
_d=whole
if disk_has $_disk gpt; then
# Is this a boot disk?
- [[ $_disk == @($ROOTDISK|$CRYPTOCHUNK) ]] && bootpart="-b ${bootsectorsize}"
+ [[ $_disk == $ROOTDISK ]] && bootpart="-b ${bootsectorsize}"
_type=GPT
fdisk $_disk
elif disk_has $_disk mbr; then