summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2015-09-16 03:32:27 +0000
committerallanjude <allanjude@FreeBSD.org>2015-09-16 03:32:27 +0000
commita0b376093c5032d9a5868f11d0b129292d338e40 (patch)
treee7ba6920f90713c321b76d7680aa1aec06b66ff5 /usr.sbin/bsdinstall
parent6093eb3b9f4368a35ac09c85817008b52cb55718 (diff)
downloadFreeBSD-src-a0b376093c5032d9a5868f11d0b129292d338e40.zip
FreeBSD-src-a0b376093c5032d9a5868f11d0b129292d338e40.tar.gz
Add a number of models to the bsdinstall GPT hack blacklist
PR: 194359 Approved by: bapt (mentor) MFC after: 2 weeks Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3525
Diffstat (limited to 'usr.sbin/bsdinstall')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/auto28
1 files changed, 27 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/auto b/usr.sbin/bsdinstall/scripts/auto
index 166823d..5ac16cd 100755
--- a/usr.sbin/bsdinstall/scripts/auto
+++ b/usr.sbin/bsdinstall/scripts/auto
@@ -201,6 +201,19 @@ if f_interactive; then
;;
esac
;;
+ "Hewlett-Packard")
+ case "$sys_model" in
+ "HP ProBook 4330s")
+ dialog_workaround "$msg_gpt_active_fix"
+ retval=$?
+ f_dprintf "gpt_active_fix_prompt=[%s]" "$retval"
+ if [ $retval -eq $DIALOG_OK ]; then
+ export ZFSBOOT_PARTITION_SCHEME="GPT + Active"
+ export WORKAROUND_GPTACTIVE=1
+ fi
+ ;;
+ esac
+ ;;
esac
#
# Motherboard Models
@@ -208,7 +221,20 @@ if f_interactive; then
case "$sys_mb_maker" in
"Intel Corporation")
case "$sys_mb_product" in
- "DP965LT")
+ "DP965LT"|"D510MO")
+ dialog_workaround "$msg_gpt_active_fix"
+ retval=$?
+ f_dprintf "gpt_active_fix_prompt=[%s]" "$retval"
+ if [ $retval -eq $DIALOG_OK ]; then
+ export ZFSBOOT_PARTITION_SCHEME="GPT + Active"
+ export WORKAROUND_GPTACTIVE=1
+ fi
+ ;;
+ esac
+ ;;
+ "Acer")
+ case "$sys_mb_product" in
+ "Veriton M6630G")
dialog_workaround "$msg_gpt_active_fix"
retval=$?
f_dprintf "gpt_active_fix_prompt=[%s]" "$retval"
OpenPOWER on IntegriCloud