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                                .''`. 
[email protected]                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature

Reply via email to