From 3d683971875f4b9fbc98fa03148aa37b3e4fd820 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Mon, 14 Mar 2016 19:40:56 +0000 Subject: Add support for user-specific bootflags (Only for the first partition). --- yarns/900-implements.yarn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'yarns/900-implements.yarn') diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn index 57889ab..a629dc9 100644 --- a/yarns/900-implements.yarn +++ b/yarns/900-implements.yarn @@ -112,6 +112,11 @@ Check partition boot flag. awk -v "PART=$MATCH_1" '/^ [0-9]+ / && $1 == PART && $7 ~ "^boot,?$"' | grep . + IMPLEMENTS THEN partition (\d+) has the lba flag set + parted --script "$IMAGE" print | + awk -v "PART=$MATCH_1" '/^ [0-9]+ / && $1 == PART && $8 ~ "^lba?$"' | + grep . + Check filesystem on a partition. This checks the actual filesystem, not a type declared in the partition table. -- cgit v1.2.1