An extra bug fix is required if you're building squashfs-based image. Here are details:
Hadn't pushed this change to my github page yet.