lp:~oddbloke/charms/trusty/ubuntu-repository-cache/add-rsync-timeout
- Get this branch:
- bzr branch lp:~oddbloke/charms/trusty/ubuntu-repository-cache/add-rsync-timeout
Branch merges
- Robert C Jennings (community): Approve
- Adam Israel (community): Approve
-
Diff: 107 lines (+38/-15)2 files modifiedhooks/hooks.py (+3/-2)
lib/ubuntu_repository_cache/mirror.py (+35/-13)
Branch information
- Owner:
- Dan Watkins
- Status:
- Development
Recent revisions
- 200. By Dan Watkins
-
Fix default peer selection so it doesn't happen if an empty list of peers is specified.
- 195. By José Antonio Rey
-
Daniel Watkins 2015-06-02 Revert "storage.
linux.util: Fix swapped is_device_mounted regex logic (lp:1370053)"
Daniel Watkins 2015-06-03 Update charm-helpers.
Daniel Watkins 2015-06-03 Remove superseded patches.
Daniel Watkins 2015-06-03 Refresh and apply remaining patches. - 194. By José Antonio Rey
-
Daniel Watkins 2015-06-01 Set PATH in templates/
cron/ubuntu- repository- cache_rsync. cron. - 193. By Robert C Jennings
-
Fix apt warning when pre-install payloads add apt sources
When a pre-install script is added (via exec.d/
*/charm- pre-install)
that creates apt source list files under /etc/apt/sources. list.d/
those files will be backed up during charm setup. The backup is made
prior to changing the apt sources url to the archive url the
charm will be pulling metadata from (to avoid a chicken or egg
issue during charm deployment where the VM would try to point to the
archive mirror to be served by the charm).Prior to this patch, the backup file ended in the name of the service
and 'apt-get update' would throw a warning like:
N: Ignoring file 'foo.listubuntu-repository- cache' in directory
'/etc/apt/sources. list.d/ ' as it has an invalid filename extension By adding '.save' to the end of the backup file the warning is eliminated.
Additionally, the comment in change_aptsources_ url() was corrected.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)