From 34904adb9d64a92be2ef3fafc11f34b15ea85ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 10 Oct 2018 17:44:19 +0200 Subject: [PATCH] ti-old-omap-card-part: Fix some late-night crap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- scripts/ti-old-omap-card-part.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ti-old-omap-card-part.sh b/scripts/ti-old-omap-card-part.sh index f5e6eb4..2cc7062 100755 --- a/scripts/ti-old-omap-card-part.sh +++ b/scripts/ti-old-omap-card-part.sh @@ -9,7 +9,7 @@ # includes . `dirname $0`/include/common-helpers.inc -. `dirname $0`/../tools.inc +. `dirname $0`/include/card-helpers.inc # overrride default SelectInOut - we have nothing to deploy here @@ -24,7 +24,7 @@ RootCardWriteCallback() { CheckPartitionTable "$DevicePath" # kill u-boot environment - EvalExAuto "dd if=/dev/zero of=$DevicePath ti-old-omap-card-part.sh bs=1024 count=1024" "\nKill u-boot environment..." + EvalExAuto "dd if=/dev/zero of=$DevicePath bs=1024 count=1024" "\nKill u-boot environment..." # Create the FAT partition of 64MB and make it bootable EvalExAuto "parted -s $DevicePath mklabel msdos && parted -s $DevicePath mkpart primary fat32 63s 64MB && parted -s $DevicePath toggle 1 boot" "\nCreate boot partition..." @@ -40,6 +40,6 @@ RootCardWriteCallback() { CheckPrerequisite "parted" CheckPrerequisite "dd" CheckPrerequisite "mkfs.vfat" -CheckPrerequisite "mkfs.vfat" +CheckPrerequisite "mke2fs.vfat" StartCardWrite