From b49a2f5c556907d35fb5bc710db77dace69d5271 Mon Sep 17 00:00:00 2001 From: Jerry Date: Wed, 21 Jul 2021 22:31:19 +0800 Subject: [PATCH] add known_output --- src/pacroller/known_output.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/pacroller/known_output.py b/src/pacroller/known_output.py index 40e0adf..313b9a7 100644 --- a/src/pacroller/known_output.py +++ b/src/pacroller/known_output.py @@ -10,6 +10,9 @@ KNOWN_HOOK_OUTPUT = { '30-systemd-sysctl.hook': [ r'Not setting (.+) \(explicit setting exists\)\.', ], + '30-systemd-udev-reload.hook': [ + r'[ ][ ]Skipped: Device manager is not running\.', + ], '90-mkinitcpio-install.hook': [ r'==> Building image from preset: .+', r'==> Starting build: .+', @@ -38,6 +41,10 @@ _keyring_output = [ r'[ ]+-> .+', ] +_vbox_output = [ + r'0%\.\.\.10%\.\.\.20%\.\.\.30%\.\.\.40%\.\.\.50%\.\.\.60%\.\.\.70%\.\.\.80%\.\.\.90%\.\.\.100%', +] + KNOWN_PACKAGE_OUTPUT = { '': [], 'archlinux-keyring': _keyring_output, @@ -53,5 +60,10 @@ KNOWN_PACKAGE_OUTPUT = { 'fontconfig': [ r'Rebuilding fontconfig cache\.\.\.', ], + 'nvidia-utils': 'If you run into trouble with CUDA not being available, run nvidia-modprobe first\.', + 'virtualbox': _vbox_output, + 'virtualbox-ext-oracle': _vbox_output, + 'virtualbox-ext-vnc': _vbox_output, + 'virtualbox-ext-vnc-svn': _vbox_output, **KNOWN_PACKAGE_OUTPUT_OVERRIDE }