From be2148f03551f25609271955263222650a77daa5779fed2373dec4eb4767d0a7 Mon Sep 17 00:00:00 2001 From: Martin Wilck Date: Mon, 21 Nov 2022 16:41:37 +0000 Subject: [PATCH] Accepting request 1037144 from home:dimstar:Factory - Update disable_hp-upgrade.patch: Log the 'openSUSE disabled this for security message' is 'info', not 'error'. IMHO, an Error condition is something a user/admin is supposed to fix here, this is merely an information that this is unsupported. Do not add this to the journal as error OBS-URL: https://build.opensuse.org/request/show/1037144 OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=231 --- disable_hp-upgrade.patch | 2 +- hplip.changes | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/disable_hp-upgrade.patch b/disable_hp-upgrade.patch index 8157857..8034ded 100644 --- a/disable_hp-upgrade.patch +++ b/disable_hp-upgrade.patch @@ -7,7 +7,7 @@ Index: b/upgrade.py log.set_level('debug') + -+log.error("HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.suse.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an openSUSE software package manager like YaST or zypper.") ++log.info("HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.suse.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an openSUSE software package manager like YaST or zypper.") +clean_exit(1) + + diff --git a/hplip.changes b/hplip.changes index face0ce..f111979 100644 --- a/hplip.changes +++ b/hplip.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 21 16:13:36 UTC 2022 - Dominique Leuenberger + +- Update disable_hp-upgrade.patch: Log the 'openSUSE disabled this + for security message' is 'info', not 'error'. + ------------------------------------------------------------------- Thu Sep 29 12:58:15 UTC 2022 - Hans-Peter Jansen