diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-03-30 21:17:20 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-01 08:14:58 +0100 |
commit | 67ec097bc3d1734dc5a1c7162a7c99b57d45afe8 (patch) | |
tree | e1e6c39cfaf6548dae9f480333c9065619ccab78 /meta | |
parent | 5efb8e039bf89858e81d75a4bde033efc3350a67 (diff) | |
download | poky-67ec097bc3d1734dc5a1c7162a7c99b57d45afe8.tar.gz |
wic: remove prepare_empty_partition_squashfs
There is not much sense in creation of empty squashfs
partition. It's also not possible to create empty squashfs
partition of specified size.
Even more, prepare_empty_partition_squashfs method is
absolutely broken. It raises exception when called and
even its signature differs from the rest of of similar
methods. It means that nobody uses it and it's safe
to remove it.
Removed prepare_empty_partition_squashfs method and
testing of empty squashfs partition.
(From OE-Core rev: 9152960f250cb4df1e559d747fb09005675a0d75)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index c160f5f62d..df5e060fb0 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py | |||
@@ -729,8 +729,7 @@ part /etc --source rootfs --ondisk mmcblk0 --fstype=ext4 --exclude-path bin/ --r | |||
729 | 'part emptyvfat --fstype vfat --size 1M\n', | 729 | 'part emptyvfat --fstype vfat --size 1M\n', |
730 | 'part emptymsdos --fstype msdos --size 1M\n', | 730 | 'part emptymsdos --fstype msdos --size 1M\n', |
731 | 'part emptyext2 --fstype ext2 --size 1M\n', | 731 | 'part emptyext2 --fstype ext2 --size 1M\n', |
732 | 'part emptybtrfs --fstype btrfs --size 100M\n', | 732 | 'part emptybtrfs --fstype btrfs --size 100M\n']) |
733 | 'part emptysquash --fstype squashfs --size 1M\n']) | ||
734 | wks.flush() | 733 | wks.flush() |
735 | cmd = "wic create %s -e %s -o %s" % (wks.name, img, self.resultdir) | 734 | cmd = "wic create %s -e %s -o %s" % (wks.name, img, self.resultdir) |
736 | self.assertEqual(0, runCmd(cmd).status) | 735 | self.assertEqual(0, runCmd(cmd).status) |