[elbe-devel] [PATCH 8/9] rfs: Drop gpg from debootstrap include
Bastian Germann
bage at linutronix.de
Sat Mar 4 11:28:58 CET 2023
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.
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"):
--
2.39.2
More information about the elbe-devel
mailing list