[pkg-gnupg-maint] Bug#814027: Bug#814027: "ts209" d-i image failed to build due to size
Martin Michlmayr
tbm at cyrius.com
Wed Feb 17 23:31:52 UTC 2016
* Werner Koch <wk at gnupg.org> [2016-02-16 08:33]:
> What about using a smaller version of libgcrypt for d-i? My current 1.7
> version using standard options has a stripped size of 1.1 MiB. By using
> these options:
>
> ./configure --enable-maintainer-mode \
> --enable-ciphers=cast5,des,aes \
> --enable-digests=sha1,sha256,sha512 \
> --enable-kfds=s2k,pkdf2 \
> --disable-padlock-support --disable-aesni-support \
> --disable-drng-support \
> --disable-avx-support --disable-avx2-support \
> --disable-pclmul-support
>
> I get down to a stripped size of the SO of 551 KiB on amd64.
>
> We would need to tweak GnuPG a bit to work with that version. Right now
> it complains about missing MD5 at runtime. But that should be fixed
> anyway.
>
> Would that be a way forward?
I'm not sure if it will help in my particular case (I can try,
though), but I think this should be done anyway. Do you (or Daniel)
want to file a bug on libgcrypt once GnuPG has been tweaked?
--
Martin Michlmayr
http://www.cyrius.com/
More information about the pkg-gnupg-maint
mailing list