!365 os config adjust

From: @sun_hai_10 
Reviewed-by: @zhangqiumiao 
Signed-off-by: @zhangqiumiao
This commit is contained in:
openeuler-ci-bot 2024-08-21 08:33:35 +00:00 committed by Gitee
commit 46d989efc4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 11 additions and 7 deletions

View File

@ -1,7 +1,7 @@
%define _empty_manifest_terminate_build 0
Name: anaconda
Version: 36.16.5
Release: 23
Release: 24
Summary: Graphical system installer
License: GPLv2+ and MIT
URL: http://fedoraproject.org/wiki/Anaconda
@ -196,8 +196,8 @@ cp %{SOURCE5} %{SOURCE5}_tmp
# install openEuler conf for anaconda
%ifarch x86_64
sed -i "/^additional_arguments =*/ s/$/ crashkernel=512M/" %{SOURCE1}
sed -i "/^additional_arguments =*/ s/$/ panic=3 nmi_watchdog=1/" %{SOURCE2}
sed -i "/^additional_arguments =*/ s/$/ panic=3 nmi_watchdog=1/" %{SOURCE3}
sed -i "/^additional_arguments =*/ s/$/ panic=3 nmi_watchdog=1 quiet/" %{SOURCE2}
sed -i "/^additional_arguments =*/ s/$/ panic=3 nmi_watchdog=1 quiet/" %{SOURCE3}
sed -i "/^additional_arguments =*/ s/$/ crashkernel=512M/" %{SOURCE5}
%endif
@ -307,6 +307,12 @@ update-desktop-database &> /dev/null || :
%{_prefix}/libexec/anaconda/dd_*
%changelog
* Wed Aug 21 2024 sunhai <sunhai10@huawei.com> - 36.16.5-24
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: os config adjust
* Sat Dec 23 2023 sunhai <sunhai10@huawei.com> - 36.16.5-23
- Type:bugfix
- ID:NA

View File

@ -6,8 +6,7 @@ profile_id = EulerOS
[Profile Detection]
# Match os-release values.
os_id = EulerOS
variant_id = server
os_id = euleros
[Installation System]
can_detect_enabled_smt = False

View File

@ -6,8 +6,7 @@ profile_id = HCE
[Profile Detection]
# Match os-release values.
os_id = HCE
variant_id = server
os_id = hce
[Installation System]
can_detect_enabled_smt = False