summaryrefslogtreecommitdiff
path: root/yarns/900-implements.yarn
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2016-03-14 19:40:56 +0000
committerNeil Williams <codehelp@debian.org>2016-03-14 19:42:13 +0000
commit3d683971875f4b9fbc98fa03148aa37b3e4fd820 (patch)
treee4bde21c6bf88cf871b365b61fbee26dcad6a868 /yarns/900-implements.yarn
parentb5fcad38d623d2a5f6bc0b36d53d2d7b3dbf9f83 (diff)
downloadvmdebootstrap-3d683971875f4b9fbc98fa03148aa37b3e4fd820.tar.gz
Add support for user-specific bootflagsvmdebootstrap-1.5
(Only for the first partition).
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r--yarns/900-implements.yarn5
1 files changed, 5 insertions, 0 deletions
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.