[elbe-devel] [PATCH 8/9] rfs: Drop gpg from debootstrap include

John Ogness john.ogness at linutronix.de
Mon Mar 6 11:50:46 CET 2023


On 2023-03-04, Bastian Germann <bage at linutronix.de> wrote:
> As apt-key is not used except for pbuilder, drop it from the default
> debootstrap includes. This will enable stripped-down systems not to
> install it with its dependencies.

This comment does not match the code. You are dropping the gpg package,
not the apt package.

> Signed-off-by: Bastian Germann <bage at linutronix.de>
> ---
>  elbepack/rfs.py | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/elbepack/rfs.py b/elbepack/rfs.py
> index 6978fa5d9b..6b5613d8c8 100644
> --- a/elbepack/rfs.py
> +++ b/elbepack/rfs.py
> @@ -186,10 +186,8 @@ class BuildEnv:
>              strapcmd += f" --variant={self.xml.text('target/debootstrap/variant')}"
>  
>          # Should we include additional packages into bootstrap?
> -        includepkgs = "gpg"  # These are the packages which are included in any case
>          if self.xml.has("target/debootstrap/include"):
> -            includepkgs += f", {self.xml.text('target/debootstrap/include')}"
> -        strapcmd += f" --include=\"{includepkgs}\""
> +            strapcmd += f" --include=\"{self.xml.text('target/debootstrap/include')}\""
>  
>          # Should we exclude some packages from bootstrap?
>          if self.xml.has("target/debootstrap/exclude"):

John


More information about the elbe-devel mailing list