~aluria/charm-sysconfig:makefile-20.08

Last commit made on 2020-08-05
Get this branch:
git clone -b makefile-20.08 https://git.launchpad.net/~aluria/charm-sysconfig
Only Alvaro Uria can upload to this branch. If you are Alvaro Uria please log in for upload directions.

Branch merges

Branch information

Name:
makefile-20.08
Repository:
lp:~aluria/charm-sysconfig

Recent commits

00a7650... by Alvaro Uria

Standardize Makefile and tox.ini

1b3e8bb... by Xav Paice

Re-lint using Black standard

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-sysconfig/+git/charm-sysconfig-1/+merge/388354
Reviewed-by: Alvaro Uria <email address hidden>

daa3c31... by Xav Paice

Re-lint using Black standard

ce7ec51... by Arif Ali

Separate cpu-range to 2 separate variables

cpu-range to be deprecated in favour for the new variables
that is isolcpus and cpu-affinitty-range

Closes-Bug: #1859463

Reviewed-on: https://code.launchpad.net/~arif-ali/charm-sysconfig/+git/charm-sysconfig/+merge/386174
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: Adam Dyess <email address hidden>

630e338... by Arif Ali

Seperate cpu_range to 2 seperate variables

* isolcpus and cpu-affinity-range replaces reservation and cpu_range
* Add unit test for legacy reservation, and update standard test
* Update functional tests

237ca16... by Mauricio Faria de Oliveira

grub.j2: fix grub-config-flags that use $GRUB_CMDLINE_LINUX_DEFAULT

Reviewed-on: https://code.launchpad.net/~mfo/charm-sysconfig/+git/charm-sysconfig/+merge/386280
Reviewed-by: Xav Paice <email address hidden>
Reviewed-by: Zachary Zehring <email address hidden>
Reviewed-by: Adam Dyess <email address hidden>

0d9a37e... by Mauricio Faria de Oliveira

grub.j2: fix grub-config-flags that use $GRUB_CMDLINE_LINUX_DEFAULT

The suggestion in README.md to 'add or keep kernel parameters you
had previously configured' does not work -- it's actually ignored.

This happens because grub-config-flags is evaluated in grub.j2
after we already set GRUB_CMDLINE_LINUX_DEFAULT, so it is gone.

Using it it grub-config-flags does not keep the previous value.

To fix that, move it to the first thing done in grub.j2, and
change our first assignment of GRUB_CMDLINE_LINUX_DEFAULT to
include it.

And now that our first assignment includes it, make sure it
is cleared up (ignored) if grub-config-flags is not set.

This is to keep the current behavior to ignore/override it.

Signed-off-by: Mauricio Faria de Oliveira <email address hidden>

d1d75fd... by Alvaro Uria

Add focal support on func tests

3436a30... by Adam Dyess

Ported sysctl features to this charm harvested from sysctl charm

Reviewed-on: https://code.launchpad.net/~llama-charmers/charm-sysconfig/+git/charm-sysconfig/+merge/382243
Reviewed-by: Alvaro Uria <email address hidden>
Reviewed-by: Paul Goins <email address hidden>

91b9afe... by Alvaro Uria

Fix linting errors