[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packages size versus files under dpkg control



On Thursday 15 September 2005 20:33, Roberto C. Sanchez wrote:
--cut--
> > I see nothing in Policy 6, Policy 10, or FHS which
> > answers the question, so either I am just not seeing it
> > or I am looking in the wrong place.  If W.B. or others
> > wish to comment, I would be interested in what they had
> > to say, because I am considering a future package which
> > would pose exactly this kind of problem.  Thanks.
>
> Would there be a problem with shipping the package with a file of the
> same name and size 0, then have the postinst generate the file and
> replace the empty file with the new file?  That also helps keeps things
> consistent as dpkg will automatically remove the generated file on
> package removal or purge.

this will break file hash verification, 
e.g. debsums <such-package> will complain.

-- 
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 



Reply to: