If you prefer using mkisofs (part of cdrtools ), use the following steps to repackage the image :
utils system upgrade initiate