← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/lp-codeimport:charm-storage-brz into lp-codeimport:master

 

Colin Watson has proposed merging ~cjwatson/lp-codeimport:charm-storage-brz into lp-codeimport:master.

Commit message:
charm: Install brz on lp-codeimport-storage units

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/lp-codeimport/+git/lp-codeimport/+merge/439941

Otherwise bzr imports fail with `sh: 1: bzr: not found`, because pushing Bazaar branches needs `bzr` to be present on the server side.

(`brz` is not a typo; on jammy, the `bzr` command is provided by the `brz` package, a.k.a. Breezy.)
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/lp-codeimport:charm-storage-brz into lp-codeimport:master.
diff --git a/charm/lp-codeimport-storage/layer.yaml b/charm/lp-codeimport-storage/layer.yaml
index 590c59f..7b51a45 100644
--- a/charm/lp-codeimport-storage/layer.yaml
+++ b/charm/lp-codeimport-storage/layer.yaml
@@ -1,2 +1,7 @@
 includes:
     - layer:basic
+    - layer:apt
+options:
+    apt:
+        packages:
+            - brz