From 33b3f0eb04201214f7a653db329f7ec23e1c1973 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Sun, 13 Mar 2016 14:55:08 +0000 Subject: Fix issue with fstab entry for boot partition - When bootsize and boottype are passed, the fstab entry for boot partition is getting written with fstype as 'None' leading to boot failures. Fix this. - Also don't fail boot flag check if partition flag information comes out from parted as 'boot, lba' instead of 'boot' Sunil Mohan Adapa Bug: #815255 --- yarns/900-implements.yarn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yarns/900-implements.yarn') diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn index 657101e..57889ab 100644 --- a/yarns/900-implements.yarn +++ b/yarns/900-implements.yarn @@ -109,7 +109,7 @@ Check partition boot flag. IMPLEMENTS THEN partition (\d+) has the boot flag set parted --script "$IMAGE" print | - awk -v "PART=$MATCH_1" '/^ [0-9]+ / && $1 == PART && $7 == "boot"' | + awk -v "PART=$MATCH_1" '/^ [0-9]+ / && $1 == PART && $7 ~ "^boot,?$"' | grep . Check filesystem on a partition. This checks the actual filesystem, -- cgit v1.2.1