[elbe-devel] [PATCH] debinstaller: add --batch as gpg option

Torben Hohn torben.hohn at linutronix.de
Fri Nov 23 10:32:37 CET 2018


On Wed, Nov 21, 2018 at 05:23:24PM +0100, Manuel Traut wrote:
> it is needed to run inside e.g. docker with no interactive terminal
> 
> Signed-off-by: Manuel Traut <manut at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> ---
>  elbepack/debinstaller.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/elbepack/debinstaller.py b/elbepack/debinstaller.py
> index 96d1d841..0160f6dc 100644
> --- a/elbepack/debinstaller.py
> +++ b/elbepack/debinstaller.py
> @@ -100,6 +100,7 @@ def setup_apt_keyring(gpg_home, keyring_fname):
>  
>      gpg_options = '--keyring "%s" --no-auto-check-trustdb ' \
>                    '--trust-model always --no-default-keyring ' \
> +                  '--batch ' \
>                    '--homedir "%s"' % (ring_path, gpg_home)
>  
>      trustkeys = os.listdir("/etc/apt/trusted.gpg.d")
> -- 
> 2.19.1
> 

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20181123/d3f6cafc/attachment.sig>


More information about the elbe-devel mailing list