sunxi-media-create.sh: refactor rootfs installation