bug: broken versions of sfdisk (2.17.2)

See: https://github.com/RobertCNelson/netinstall/issues/20

Reported-by: Stephen Koone <skoone@fastmail.us>
Reported-by: Matthew Sears <msears@powermonitors.com>
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 11 years ago
parent 6d037544e0
commit c701b731da

@ -96,6 +96,16 @@ detect_software () {
echo ""
exit
fi
unset test_sfdisk
test_sfdisk=$(LC_ALL=C sfdisk -v 2>/dev/null | grep 2.17.2 | awk '{print $1}')
if [ "x${test_sdfdisk}" = "xsfdisk" ] ; then
echo ""
echo "Detected known broken sfdisk:"
echo "See: https://github.com/RobertCNelson/netinstall/issues/20"
echo ""
exit
fi
}
local_bootloader () {

Loading…
Cancel
Save