[elbe-devel] [PATCH v2 8/9] rfs: Drop gpg from debootstrap include
Bastian Germann
bage at linutronix.de
Mon Mar 6 12:47:45 CET 2023
As apt-key is not used except for pbuilder, drop gpg from the default
debootstrap includes. This will enable stripped-down systems not to
install it with its dependencies.
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 638c40e666..1f5c8fb0a5 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"):
--
2.39.2
More information about the elbe-devel
mailing list