summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-12-13 22:20:24 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-18 18:03:58 +0000
commit20748d8ddcd41c5c6897d1a711cf157ab1080f9a (patch)
tree186aaad5be94053dfd347f668bb9b49f3b3fda6c /scripts/lib/wic
parentcce54f6a19e0fcc511d328aabca32af7d99b631b (diff)
downloadpoky-20748d8ddcd41c5c6897d1a711cf157ab1080f9a.tar.gz
wic: partition.py: Update comments slightly
First, we support squashfs as root, so mention that. Second, the btrfs rootfs creation function had a copy/paste of the previous function comment, remove the irrelevant line. (From OE-Core rev: 7cdd4034b3e6ff4e13d491dfba24906afe495e2d) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r--scripts/lib/wic/partition.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index 66e61ba70c..8731238337 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -202,7 +202,7 @@ class Partition():
202 Prepare content for a rootfs partition i.e. create a partition 202 Prepare content for a rootfs partition i.e. create a partition
203 and fill it from a /rootfs dir. 203 and fill it from a /rootfs dir.
204 204
205 Currently handles ext2/3/4, btrfs and vfat. 205 Currently handles ext2/3/4, btrfs, vfat and squashfs.
206 """ 206 """
207 p_prefix = os.environ.get("PSEUDO_PREFIX", "%s/usr" % native_sysroot) 207 p_prefix = os.environ.get("PSEUDO_PREFIX", "%s/usr" % native_sysroot)
208 p_localstatedir = os.environ.get("PSEUDO_LOCALSTATEDIR", 208 p_localstatedir = os.environ.get("PSEUDO_LOCALSTATEDIR",
@@ -275,8 +275,6 @@ class Partition():
275 native_sysroot, pseudo): 275 native_sysroot, pseudo):
276 """ 276 """
277 Prepare content for a btrfs rootfs partition. 277 Prepare content for a btrfs rootfs partition.
278
279 Currently handles ext2/3/4 and btrfs.
280 """ 278 """
281 du_cmd = "du -ks %s" % rootfs_dir 279 du_cmd = "du -ks %s" % rootfs_dir
282 out = exec_cmd(du_cmd) 280 out = exec_cmd(du_cmd)