summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2022-02-22 20:47:06 -0700
committerChad Smith <chad.smith@canonical.com>2022-02-22 21:18:06 -0700
commita458b6f57db3d38e42ece34e6d9a3eeb51bf4ec9 (patch)
tree01b09aa1708b4c0c5d4dcc3fc414d99b5dd44094
parent183c94d944dc493089cbde602011b8aa47874b1b (diff)
downloadcloud-init-git-a458b6f57db3d38e42ece34e6d9a3eeb51bf4ec9.tar.gz
retain commented APT partner pocket in sources listubuntu/22.1-1-gb3d9acdd-0ubuntu1_21.10.1
revert of upstream 0362abcd
-rw-r--r--debian/changelog5
-rw-r--r--debian/patches/retain-apt-partner-pocket.patch25
-rw-r--r--debian/patches/series1
3 files changed, 29 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index d3e10419..73f8295b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,8 @@
cloud-init (22.1-1-gb3d9acdd-0ubuntu1~21.10.1) impish; urgency=medium
+ * d/patches/retain-apt-partner-pocket.patch:
+ - Jammy dropped commented APT partner pocket. Retain this comment on
+ stable releases.
* d/apport-launcher.py fix format for unittests
* d/cloud-init.templates: Move LXD to back of datasource_list
* New upstream snapshot. (LP: #1961446)
@@ -54,8 +57,6 @@ cloud-init (22.1-1-gb3d9acdd-0ubuntu1~21.10.1) impish; urgency=medium
- fix parallel tox execution (#1214)
- sources/azure: refactor _report_ready_if_needed and _poll_imds (#1222)
[Chris Patterson]
- - Do not support setting up archive.canonical.com as a source (#1219)
- [Steve Langasek]
- Vultr: Fix lo being used for DHCP, try next on cmd fail (#1208) [eb3095]
- sources/azure: refactor _should_reprovision[_after_nic_attach]() logic
(#1206) [Chris Patterson]
diff --git a/debian/patches/retain-apt-partner-pocket.patch b/debian/patches/retain-apt-partner-pocket.patch
new file mode 100644
index 00000000..1544af59
--- /dev/null
+++ b/debian/patches/retain-apt-partner-pocket.patch
@@ -0,0 +1,25 @@
+Description: Retain commented APT partner pocket in sources.list template
+Author: chad.smith@canonical.com
+Origin: backport
+Forwarded: not-needed
+Last-Update: 2022-02-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: cloud-init/templates/sources.list.ubuntu.tmpl
+===================================================================
+--- cloud-init.orig/templates/sources.list.ubuntu.tmpl
++++ cloud-init/templates/sources.list.ubuntu.tmpl
+@@ -43,6 +43,13 @@ deb {{mirror}} {{codename}}-updates mult
+ deb {{mirror}} {{codename}}-backports main restricted universe multiverse
+ # deb-src {{mirror}} {{codename}}-backports main restricted universe multiverse
+
++## Uncomment the following two lines to add software from Canonical's
++## 'partner' repository.
++## This software is not part of Ubuntu, but is offered by Canonical and the
++## respective vendors as a service to Ubuntu users.
++# deb http://archive.canonical.com/ubuntu {{codename}} partner
++# deb-src http://archive.canonical.com/ubuntu {{codename}} partner
++
+ deb {{security}} {{codename}}-security main restricted
+ # deb-src {{security}} {{codename}}-security main restricted
+ deb {{security}} {{codename}}-security universe
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 00000000..335769f2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+retain-apt-partner-pocket.patch