Implementation of initrd repackaging