Do we need to add sys preparation step under provisioners during packer build

Do we need to add sys preparation step under provisioners during packer build ?
If yes could you please share more details on this