mmstick / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
615 stars 50 forks source link

Generates non-reproducible Installed-Size field #176

Closed guillemj closed 3 years ago

guillemj commented 3 years ago

The generated Installed-Size field appears to be created using an out of date algorithm, which produces unreproducible values depending on the file system type and settings.

The current algorithm used by dpkg-gencontrol is described in the deb-substvars(5) man page, the Debian policy is currently out of date, see the following Debian policy bug for the reference to the discussion that prompted the change.

kornelski commented 3 years ago

I've tweaked it to be more like the docs say, but it's only an estimate anyway.