mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 00:32:13 +02:00
wic/engine: use 'linux-swap' for swap file system
[YOCTO #13312] see https://bugzilla.yoctoproject.org/show_bug.cgi?id=13312 wic/engine.Disk._get_part_image was looking at variable fstypes for supported fstype which is 'swap' but image build with 'linux-swap'. supported fstype should be 'linux-swap'. (From OE-Core rev: 7e6da22fe4faf841bcec02e55f376b4dae04d6a8) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8ec9acb55d
commit
a94e0e14e1
@@ -541,7 +541,7 @@ def wic_write(args, native_sysroot):
|
||||
"""
|
||||
Write image to a target device.
|
||||
"""
|
||||
disk = Disk(args.image, native_sysroot, ('fat', 'ext', 'swap'))
|
||||
disk = Disk(args.image, native_sysroot, ('fat', 'ext', 'linux-swap'))
|
||||
disk.write(args.target, args.expand)
|
||||
|
||||
def find_canned(scripts_path, file_name):
|
||||
|
||||
Reference in New Issue
Block a user