summaryrefslogtreecommitdiffstats
path: root/scripts/lib/mic/kickstart
diff options
context:
space:
mode:
authorJoão Henrique Ferreira de Freitas <joaohf@gmail.com>2014-03-29 00:12:07 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-30 10:10:35 +0100
commit3c0038488491374e745ebcfbd091c3f28cc8c089 (patch)
treef4f648636ff10efb3573bf8677e5ee24c1ea88e9 /scripts/lib/mic/kickstart
parent13afd358682b8edc5c6a33f64ab32977030bfd65 (diff)
downloadpoky-3c0038488491374e745ebcfbd091c3f28cc8c089.tar.gz
wic: Report all ROOTFS_DIR artifacts
When a .wks has more than one ROOTFS_DIR it's better to report all ROOTFS_DIR that was used to create the image. (From OE-Core rev: a8762f3be215678a6806cabe49647083f42323a8) Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic/kickstart')
-rw-r--r--scripts/lib/mic/kickstart/custom_commands/partition.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py b/scripts/lib/mic/kickstart/custom_commands/partition.py
index 887195fa60..6b575c0e8d 100644
--- a/scripts/lib/mic/kickstart/custom_commands/partition.py
+++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
@@ -59,6 +59,19 @@ class Wic_PartData(Mic_PartData):
59 59
60 return retval 60 return retval
61 61
62 def get_rootfs(self):
63 """
64 Acessor for rootfs dir
65 """
66 return self.rootfs
67
68 def set_rootfs(self, rootfs):
69 """
70 Acessor for actual rootfs dir, which must be set by source
71 plugins.
72 """
73 self.rootfs = rootfs
74
62 def get_size(self): 75 def get_size(self):
63 """ 76 """
64 Accessor for partition size, 0 or --size before set_size(). 77 Accessor for partition size, 0 or --size before set_size().