[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building gnupg-udeb with enable-minimal

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.


Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: