[debhelper-devel] Bug#759886: Bug#759886: debhelper: please make mtimes of packaged files deterministic

Jérémy Bobbio lunar at debian.org
Sun Aug 31 22:18:48 UTC 2014


Joey Hess:
> Do you have a plan to get packages not using dh or cdbs to use this new
> command?

Its heart is a single find+xargs+touch command. I had in mind that
packages not using dh or cdbs could have their own way on how to make
the mtimes deterministic. Possibly by adding such a find command in
their debian/rules at the right location, but there might be other
solutions.

> I can think of 2 ways.. one is to add it to some existing command,
> perhaps renaming the command. I thought maybe dh_fixperms could be
> renamed to dh_fixmetadata. But, I think some will use dh_fixperms -X to
> exclude certian files from being fixed, and we would not want that to
> apply to mtime fixing.

dh_fixmtimes must be run right before building the .deb, or it's likely
that some other command will change the newly set mtimes. dh_fixperms is
currently run at an earlier step of the build process.

> My other idea is to make dh_fixmtimes set something that a later command
> (eg, dh_builddeb) could use and warn if it was not run.

Maybe it should be integrated to dh_builddeb, then?

-- 
Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20140831/5f66e4b3/attachment-0001.sig>


More information about the debhelper-devel mailing list