im using Parrot os (parrotsec.org).

How can I resize the image so that I have more space on my root partition?

Raspbain does this automatically on boot up. but Parrot OS doesn't how would i do this.