[pve-devel] applied-series: [PATCH container 0/5] update & cleanup for our hooks

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Nov 5 16:08:04 CET 2019


On 11/5/19 1:58 PM, Wolfgang Bumiller wrote:
> This should deduplicate some code in our hooks and add support for
> `lxc.hook.version`. That way users can use newer hook versions without
> breaking the PVE hooks in the process.
> 
> Patches 2 & 4 are best viewed with -w. I'm attaching -w of 2 below, 4
> isn't that tragic.
> 
> Wolfgang Bumiller (5):
>   add PVE::LXC::Tools
>   change hooks to use new helper
>   tools: add device file iterator, and cgroup_do_write
>   autodev hook: use new helpers and whitespace fixup
>   config: whitelist lxc.hook.version
> 
>  src/PVE/LXC/Config.pm     |   1 +
>  src/PVE/LXC/Makefile      |   7 +-
>  src/PVE/LXC/Tools.pm      | 133 +++++++++++++++++++++++++++++++
>  src/lxc-pve-autodev-hook  | 115 ++++++++-------------------
>  src/lxc-pve-poststop-hook | 154 ++++++++++++------------------------
>  src/lxc-pve-prestart-hook | 161 ++++++++++++--------------------------
>  6 files changed, 276 insertions(+), 295 deletions(-)
>  create mode 100644 src/PVE/LXC/Tools.pm
> 

applied series, thanks!




More information about the pve-devel mailing list