[gobolinux-devel] Gen_FileHash()

Lucas C. Villa Real lucasvr at gobolinux.org
Thu Jan 25 17:44:45 UTC 2007


We have a function inside Scripts at Functions/File called
Gen_FileHash(). This function is used to create Resources/FileHash and
FileHash.sig, called by SignProgram.

I'm going to pack a new release of Scripts here, and I've found that
Gen_FileHash() currently uses 'ListProgramFiles --files', leaving
symlinks out of the game. This is a problem for our Scripts package,
which is shipped with some symlinks inside lib/python/site-packages
pointing to its bin directory. The symlinks are not taken into account
for the Hash generation, but VerifyProgram will abort when installing
that package, saying that there are some unknown files not listed in
the hash.

Is there a reason to use --files on ListProgramFiles that I'm not aware of?

-- 
Lucas
powered by /dev/dsp


More information about the gobolinux-devel mailing list