Support lzma ramdisk

Change-Id: I1584828fed2f0a547b1b4b1f8afdaac09b631a7f