From 719af3a79b9241b3fd15fb051b02adb11fa7afa7 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 4 Sep 2013 13:20:23 -0500 Subject: [PATCH] add partprobe dependicy check noticed by https://github.com/kilwar- closes https://github.com/RobertCNelson/netinstall/issues/18 Signed-off-by: Robert Nelson --- mk_mmc.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 6c34b65..8dff912 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -99,15 +99,16 @@ detect_software () { check_for_command mkfs.vfat dosfstools check_for_command wget wget check_for_command dpkg dpkg + check_for_command partprobe parted check_for_command patch patch check_for_command mkimage u-boot-tools if [ "${NEEDS_COMMAND}" ] ; then echo "" echo "Your system is missing some dependencies" - echo "Ubuntu/Debian: sudo apt-get install wget dosfstools u-boot-tools" - echo "Fedora: as root: yum install wget dosfstools dpkg patch uboot-tools" - echo "Gentoo: emerge wget dosfstools dpkg u-boot-tools" + echo "Ubuntu/Debian: sudo apt-get install wget dosfstools u-boot-tools parted" + echo "Fedora: as root: yum install wget dosfstools dpkg patch uboot-tools parted" + echo "Gentoo: emerge wget dosfstools dpkg u-boot-tools parted" echo "" exit fi