[Pkg-gnupg-maint] building gnupg-udeb with enable-minimal
Thijs Kinkhorst
thijs at debian.org
Mon Apr 9 16:06:54 UTC 2012
Op zondag 8 april 2012 17:55:51 schreef Joey Hess:
> > GnuPG has for a while now the configure switch --enable-minimal, which
> > builds a gnupg with as few options enabled as possible. I was wondering
> > if using this configure switch for the gnupg-udeb would make sense
> gnupg-udeb is only used by partman-crypto-loop, which uses it to
> generate a symmetric key file as follows:
>
> gpg --batch --no-options --no-random-seed-file --no-default-keyring \
> --keyring /dev/null --passphrase-fd 3 --symmetric -a
Thanks, very helpful to know.
> Reducing the size of this part of the installer saves space on the
> netinst and busnesscard CDs, so is desirable. If gpg had a
> --disable-public-key-crypto, I'd say build it with that. ;)
I'm afraid it doesn't, but with --enable-minimal and some further (yak?)
shaving the net result is a saving of 283k on both udebs gnupg produces:
-rwxr-xr-x 1 thijs thijs 817K Mar 10 18:16 gpg
-rwxr-xr-x 1 thijs thijs 282K Mar 10 18:16 gpgv
-rwxr-xr-x 1 thijs thijs 549K Apr 9 15:48 gpg
-rwxr-xr-x 1 thijs thijs 267K Apr 9 15:48 gpgv
It will be part of the next upload.
Thijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20120409/9added90/attachment.pgp>
More information about the Pkg-gnupg-maint
mailing list