Skip to content

Do a separate build run for the cryptsetup udeb.

Matthew Garrett requested to merge mjg59-guest/cryptsetup:master into master

The cryptsetup udeb currently rlies on libargon2, which is higher performance than the code shipped with cryptsetup but which also has a hard dependency on pthreads. This means that trying to create a luks partition that uses argon2 (as is default when using the luks2 header format) fails in d-i because libgcc_s is unavailable. Given the choices of:

  1. Shipping libgcc_s.so in d-i
  2. Adding support to libargon2 for building without pthreads
  3. Building a cryptsetup udeb using the internal argon2 implementation

(3) seems like the easiest. This allows d-i to transition to using luks2 headers by default.

Merge request reports

Loading