!53 Adjust to logging command changes in Anaconda (#1891621)

From: @dog-life 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-12-27 10:07:25 +00:00 committed by Gitee
commit 4378a06fe1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 4baedc326ae1e42ba2fb97772e970a696ca9caad Mon Sep 17 00:00:00 2001
From: Martin Kolman <mkolman@redhat.com>
Date: Tue, 27 Oct 2020 17:37:50 +0100
Subject: [PATCH] Adjust to logging command changes in Anaconda (#1891621)
The logic for the logging command changed in Anaconda and we need to
adjust accordingly. As we don't really need to handle the logging
command, we can do this by just dropping it from the list.
Resolves: rhbz#1891621
---
initial_setup/__init__.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/initial_setup/__init__.py b/initial_setup/__init__.py
index a418cbe..80b3a93 100644
--- a/initial_setup/__init__.py
+++ b/initial_setup/__init__.py
@@ -34,7 +34,6 @@ class InitialSetupError(Exception):
"lang",
"rootpw",
"timezone",
- "logging",
"selinux",
"firewall"]

View File

@ -1,11 +1,12 @@
Name: initial-setup
Version: 0.3.83
Release: 2
Release: 3
Summary: Initialize system configuration for a newly installed computer
License: GPLv2+
URL: https://github.com/rhinstaller/initial-setup
Source0: https://github.com/rhinstaller/initial-setup/archive/r0.3.83-1.tar.gz
Patch9001: initial-setup-add-support-openeuler.patch
Patch9002: Adjust-to-logging-command-changes-in-Anaconda.patch
%define debug_package %{nil}
@ -62,6 +63,9 @@ rm -rf %{buildroot}
%config %{_sysconfdir}/%{name}/conf.d/*
%changelog
* Wed Dec 27 2023 shechenglong <shechenglong@xfusion.com> - 0.3.83-3
- Adjust to logging command changes in Anaconda (#1891621)
* Tue Dec 14 2021 wangkai<wangkai385@huawei.com> - 0.3.83-2
- Remove old failing pre scriptlet