summaryrefslogtreecommitdiff
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:01:58 +0100
commita8762f3be215678a6806cabe49647083f42323a8 (patch)
tree914f00373b3aace1471ba442b99016f83c06a029 /scripts/lib/mic/kickstart
parentd486db593e6643bd10b8fe90257d547a9f341043 (diff)
downloadopenembedded-core-a8762f3be215678a6806cabe49647083f42323a8.tar.gz
openembedded-core-a8762f3be215678a6806cabe49647083f42323a8.tar.bz2
openembedded-core-a8762f3be215678a6806cabe49647083f42323a8.zip
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. 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):
return retval
+ def get_rootfs(self):
+ """
+ Acessor for rootfs dir
+ """
+ return self.rootfs
+
+ def set_rootfs(self, rootfs):
+ """
+ Acessor for actual rootfs dir, which must be set by source
+ plugins.
+ """
+ self.rootfs = rootfs
+
def get_size(self):
"""
Accessor for partition size, 0 or --size before set_size().