diff --git a/bundles/apt/metadata.py b/bundles/apt/metadata.py index 23d300c..bf1fa14 100644 --- a/bundles/apt/metadata.py +++ b/bundles/apt/metadata.py @@ -10,6 +10,10 @@ defaults = { 'vars.sudo': True, 'check_interval': '1d', }, + 'current kernel': { + 'vars.command': 'ls /boot/vmlinuz-* | sort -V | tail -n 1 | xargs -n1 basename | cut -d "-" -f 2- | grep -q "^$(uname -r)$"', + 'check_interval': '1h', + }, }, }, }