add our obs repo to cmdeploy init
This commit is contained in:
parent
ecb5ef8a10
commit
616a42c8f3
@ -522,6 +522,23 @@ def deploy_chatmail(config_path: Path) -> None:
|
|||||||
packages="postfix",
|
packages="postfix",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Add our OBS repository for dovecot_no_delay
|
||||||
|
files.put(
|
||||||
|
name = "Add Deltachat OBS GPG key to apt keyring",
|
||||||
|
src = importlib.resources.files(__package__).joinpath("obs-home-deltachat.gpg"),
|
||||||
|
dest = "/etc/apt/keyrings/obs-home-deltachat.gpg",
|
||||||
|
user="root",
|
||||||
|
group="root",
|
||||||
|
mode="644",
|
||||||
|
)
|
||||||
|
|
||||||
|
files.line(
|
||||||
|
name = "Add DeltaChat OBS home repository to sources.list",
|
||||||
|
path = "/etc/apt/sources.list",
|
||||||
|
line = "deb [signed-by=/etc/apt/keyrings/obs-home-deltachat.gpg] https://download.opensuse.org/repositories/home:/deltachat/Debian_12/ ./",
|
||||||
|
ensure_newline = True,
|
||||||
|
)
|
||||||
|
|
||||||
apt.packages(
|
apt.packages(
|
||||||
name="Install Dovecot",
|
name="Install Dovecot",
|
||||||
packages=["dovecot-imapd", "dovecot-lmtpd", "dovecot-sieve"],
|
packages=["dovecot-imapd", "dovecot-lmtpd", "dovecot-sieve"],
|
||||||
|
0
cmdeploy/src/cmdeploy/obs-home-deltachat.gpg
Normal file
0
cmdeploy/src/cmdeploy/obs-home-deltachat.gpg
Normal file
Loading…
Reference in New Issue
Block a user