~dnegreira/charm-sysconfig:1873028

Last commit made on 2020-04-16
Get this branch:
git clone -b 1873028 https://git.launchpad.net/~dnegreira/charm-sysconfig
Only David Negreira can upload to this branch. If you are David Negreira please log in for upload directions.

Branch merges

Branch information

Name:
1873028
Repository:
lp:~dnegreira/charm-sysconfig

Recent commits

c8c1908... by David Negreira

Update test to assert not only on xenial

Since we will need to disable the ondemand unit file on all
LTS releases, I am removing the assertion that this should be only
on Xenial series.

Signed-off-by: David Negreira <email address hidden>

bfd44ca... by David Negreira

Disable ondemand for all series

Disable ondemand systemd unit when a different governor is configured
for the current LTS releases as well as future ones as the ondemand
systemd unit is still included by default.

Closes-Bug: #1873028

Signed-off-by: David Negreira <email address hidden>

34bca16... by Edward Hope-Morley

Check file content sha256sum when deciding if they have changed

Reviewed-on: https://code.launchpad.net/~hopem/charm-sysconfig/+git/charm-sysconfig/+merge/379890
Reviewed-by: Jeremy Lounder <email address hidden>
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: Giuseppe Petralia <email address hidden>

4af46d5... by Wouter van Bommel

Fix testing for focal

Reviewed-on: https://code.launchpad.net/~woutervb/charm-sysconfig/+git/charm-sysconfig/+merge/380190
Reviewed-by: Jeremy Lounder <email address hidden>
Reviewed-by: Xav Paice <email address hidden>

ce427f3... by Edward Hope-Morley

Check file content sha256sum when deciding if they have changed

Only checking modify time is not enough since writing the
file with identical contents will give a different
modification time. Fix this by also checking contents.

Closes-Bug: #1864217

37a1e6f... by Xav Paice

Add systemd mask/unmask for ondemand service

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-sysconfig/+git/charm-sysconfig-1/+merge/380186
Reviewed-by: Wouter van Bommel <email address hidden>

bebaf32... by Xav Paice

Add systemd mask/unmask for ondemand service

When configuring the governor for CPU speed on Xenial, the ondemand
service can override settings since it runs after the cpufreq service.
This masks out the ondemand service to prevent that happening, replacing
previous iterations using update-rc.d to achieve the same thing.

Closes-Bug: #1863659

f41a64c... by Wouter van Bommel

Make Bionic the preferred series

e641866... by Wouter van Bommel

Fix testing for focal

With this commit bug LP: #1862272 will be resolved.
Focal is marked as xfail, since it is not officially released at this
point in time, requiring a --force option to get it deployed via juju.

0b1917c... by Edward Hope-Morley

Fix update-status hook

Reviewed-on: https://code.launchpad.net/~hopem/charm-sysconfig/+git/charm-sysconfig/+merge/379879
Reviewed-by: Alvaro Uria <email address hidden>
Reviewed-by: Xav Paice <email address hidden>