From c55e5535a2428ffab5ac7b959ebae15556fb96f0 Mon Sep 17 00:00:00 2001
From: Patrik Lundin <patlu@sunet.se>
Date: Mon, 10 Oct 2022 16:06:16 +0200
Subject: [PATCH] Add gpg to cosmos bootstrap script

Without this Debian 11 fails to bootstrap:
```
/etc/cosmos/gpg.d/50gpg: 36: gpg: not found
```
---
 global/overlay/etc/cosmos/apt/bootstrap-cosmos.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/global/overlay/etc/cosmos/apt/bootstrap-cosmos.sh b/global/overlay/etc/cosmos/apt/bootstrap-cosmos.sh
index 24369bb5..d3c4b808 100755
--- a/global/overlay/etc/cosmos/apt/bootstrap-cosmos.sh
+++ b/global/overlay/etc/cosmos/apt/bootstrap-cosmos.sh
@@ -31,7 +31,7 @@ export DEBIAN_FRONTEND='noninteractive'
 
 apt-get -y update
 apt-get -y upgrade
-for pkg in rsync git git-core wget; do
+for pkg in rsync git git-core wget gpg; do
    apt-get -y install $pkg
 done
 dpkg -i cosmos_1.5-1_all.deb