just the create_compressed_fs part has to be changed to the mksquashfs utility.
(of course the squashfs module has to be in the initrd)

that's basically it