From 30f69b669c9132f739a49067b44dcd8c46e2545a Mon Sep 17 00:00:00 2001 From: Sylvain Date: Fri, 6 May 2016 14:34:11 +0200 Subject: [PATCH] =?UTF-8?q?change=20file=20type=20check=20on=20xubuntu=201?= =?UTF-8?q?6.04=C2=A0for=20.img?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit file _build_arm_steps/2016-05-06_yunohost_rasbian-jessie.img _build_arm_steps/2016-05-06_yunohost_rasbian-jessie.img: DOS/MBR boot sector; partition 1 : ID=0xc, start-CHS (0x0,130,3), end-CHS (0x8,40,32), startsector 8192, 122880 sectors; partition 2 : ID=0x83, start-CHS (0x8,40,33), end-CHS (0x15,194,6), startsector 131072, 4074121 sectors may be file command changed output for img file. --- build_arm_image/autosizer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_arm_image/autosizer.sh b/build_arm_image/autosizer.sh index 1816a88..f7726bc 100755 --- a/build_arm_image/autosizer.sh +++ b/build_arm_image/autosizer.sh @@ -22,7 +22,7 @@ if [[ -z $strImgFile ]]; then exit fi -if [[ ! -e $strImgFile || ! $(file $strImgFile) =~ "x86" ]]; then +if [[ ! -e $strImgFile || ! $(file $strImgFile) =~ "DOS/MBR boot sector" ]]; then echo "Error : Not an image file, or file doesn't exist" exit fi