import kdump-anaconda-addon-006-16.20220714git7ca2d3e.el10

i10c-beta changed/i10c-beta/kdump-anaconda-addon-006-16.20220714git7ca2d3e.el10
MSVSphere Packaging Team 1 month ago
commit 0762bc5919
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/kdump-anaconda-addon-7ca2d3e.tar.gz

@ -0,0 +1 @@
629df2d3842be18a68b2ff5ad222000311d909ac SOURCES/kdump-anaconda-addon-7ca2d3e.tar.gz

@ -0,0 +1,29 @@
From aa335261b2c4771442d82ee1622f189603d4a43d Mon Sep 17 00:00:00 2001
From: Kairui Song <kasong@redhat.com>
Date: Wed, 2 Jun 2021 16:44:08 +0800
Subject: [PATCH 1/2] Make kdump options visible by default
Currently this addon is completely hidden unless kdump_addon=on
is set, make it visible by default. Kdump is still disabled by default,
just show the kdump tab.
Signed-off-by: Kairui Song <kasong@redhat.com>
---
com_redhat_kdump/service/initialization.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/com_redhat_kdump/service/initialization.py b/com_redhat_kdump/service/initialization.py
index 2bdbe6e..0e247df 100644
--- a/com_redhat_kdump/service/initialization.py
+++ b/com_redhat_kdump/service/initialization.py
@@ -27,6 +27,6 @@ __all__ = ["check_initial_conditions"]
def check_initial_conditions():
"""Can the Kdump service run?"""
- if not kernel_arguments.is_enabled("kdump_addon"):
+ if kernel_arguments.get("kdump_addon", 1) in ["0", "off", False]:
log.debug("The kdump add-on is disabled. Quit.")
sys.exit(1)
--
2.31.1

@ -0,0 +1,60 @@
From fd7b5edbb777d216ba9f94e5023f793fb01583cd Mon Sep 17 00:00:00 2001
From: Kairui Song <kasong@redhat.com>
Date: Wed, 21 Jul 2021 02:06:36 +0800
Subject: [PATCH 2/2] Enable kdump by default
Signed-off-by: Kairui Song <kasong@redhat.com>
---
com_redhat_kdump/service/kdump.py | 2 +-
com_redhat_kdump/service/kickstart.py | 2 +-
test/unit_tests/test_kickstart.py | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/com_redhat_kdump/service/kdump.py b/com_redhat_kdump/service/kdump.py
index 46e7242..4f4cdd1 100755
--- a/com_redhat_kdump/service/kdump.py
+++ b/com_redhat_kdump/service/kdump.py
@@ -41,7 +41,7 @@ class KdumpService(KickstartService):
def __init__(self):
"""Create a service."""
super().__init__()
- self._kdump_enabled = False
+ self._kdump_enabled = True
self.kdump_enabled_changed = Signal()
self._fadump_enabled = False
diff --git a/com_redhat_kdump/service/kickstart.py b/com_redhat_kdump/service/kickstart.py
index c2455a4..32c532f 100644
--- a/com_redhat_kdump/service/kickstart.py
+++ b/com_redhat_kdump/service/kickstart.py
@@ -36,7 +36,7 @@ class KdumpKickstartData(AddonData):
def __init__(self):
super().__init__()
- self.enabled = False
+ self.enabled = True
self.reserve_mb = "auto"
self.enablefadump = False
diff --git a/test/unit_tests/test_kickstart.py b/test/unit_tests/test_kickstart.py
index 49d73d2..f833504 100644
--- a/test/unit_tests/test_kickstart.py
+++ b/test/unit_tests/test_kickstart.py
@@ -26,12 +26,12 @@ class KdumpKickstartTestCase(TestCase):
self.assertEqual(output.strip(), dedent(ks_out).strip())
def test_ks_default(self):
- self.assertEqual(self._service.kdump_enabled, False)
+ self.assertEqual(self._service.kdump_enabled, True)
self.assertEqual(self._service.fadump_enabled, False)
self.assertEqual(self._service.reserved_memory, "auto")
self._check_ks_output("""
- %addon com_redhat_kdump --disable
+ %addon com_redhat_kdump --enable --reserve-mb='auto'
%end
""")
--
2.31.1

@ -0,0 +1,179 @@
From fa6c12ec72254696b76d947cb3cb63625ba162ab Mon Sep 17 00:00:00 2001
From: NorwayFun <72336380+NorwayFun@users.noreply.github.com>
Date: Mon, 1 Aug 2022 05:55:29 +0200
Subject: [PATCH] Georgian translation
---
po/ka.po | 69 +++++++++++++++++++++++++++++++++-----------------------
1 file changed, 41 insertions(+), 28 deletions(-)
diff --git a/po/ka.po b/po/ka.po
index 35d9b3b..b5099f5 100644
--- a/po/ka.po
+++ b/po/ka.po
@@ -1,21 +1,21 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+# Georgian translation of kdump-anaconda-addon
+# Copyright (C) 2022 THE kdump-anaconda-addon'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the kdump-anaconda-addon package.
+# Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2022.
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: kdump-anaconda-addon\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-01-13 18:03+0800\n"
"PO-Revision-Date: \n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
+"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>\n"
+"Language-Team: Georgian <(nothing)>\n"
"Language: ka\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Zanata 2.0.2\n"
-"Plural-Forms: nplurals=1; plural=0\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Poedit 3.1.1\n"
#: ../com_redhat_kdump/constants.py:42
msgid ""
@@ -24,39 +24,43 @@ msgid ""
"installation finished. For more details see the \"Notes on encrypted dump "
"target\" section in /usr/share/doc/kexec-tools/kexec-kdump-howto.txt."
msgstr ""
+"გამოიყენება დაშიფრული საცავი. დამპისთვს დაშიფრული საცავის გამოყენების "
+"მორგება საკმაოდ პრობლემატურია. დაყენების შემდეგ შეამოწმეთ, სწორად მუშაობს თუ "
+"არა kdump. მეტი დეტალებისთვის იხილეთ სექცია \"შენიშვნები დაშიფრული "
+"საცავისთვის\" ფაილში /usr/share/doc/kexec-tools/kexec-kdump-howto.txt."
#: ../com_redhat_kdump/service/kickstart.py:103
#, python-format
msgid "Invalid value '%s' for --reserve-mb"
-msgstr ""
+msgstr "'%s' -ის არასწორი მნიშვნელობა --reserve-mb -სთვის"
#: ../com_redhat_kdump/gui/spokes/kdump.py:51
msgid "_KDUMP"
-msgstr ""
+msgstr "_KDUMP"
#: ../com_redhat_kdump/gui/spokes/kdump.py:184
#: ../com_redhat_kdump/tui/spokes/kdump.py:93
msgid "Kdump is disabled"
-msgstr ""
+msgstr "Kdump გამორთულია"
#: ../com_redhat_kdump/gui/spokes/kdump.py:186
#: ../com_redhat_kdump/tui/spokes/kdump.py:95
msgid "Checking storage..."
-msgstr ""
+msgstr "საცავის შემოწმება..."
#: ../com_redhat_kdump/gui/spokes/kdump.py:188
#: ../com_redhat_kdump/tui/spokes/kdump.py:97
msgid "Kdump may require extra setup for encrypted devices."
-msgstr ""
+msgstr "დაშიფრული მოწყობილობებისათვის Kdump -ს.დამატებითი მორგება სჭირდება."
#: ../com_redhat_kdump/gui/spokes/kdump.py:189
#: ../com_redhat_kdump/tui/spokes/kdump.py:98
msgid "Kdump is enabled"
-msgstr ""
+msgstr "Kdump ჩართულია"
#: ../com_redhat_kdump/tui/spokes/kdump.py:48
msgid "Kdump"
-msgstr ""
+msgstr "Kdump"
#: ../com_redhat_kdump/tui/spokes/kdump.py:115 tmp/kdump.glade.h:11
msgid ""
@@ -65,23 +69,27 @@ msgid ""
"support and might not fit your use case. It is recommended to verify if the "
"crashkernel value is suitable after installation."
msgstr ""
+"გამოიყენება Kdump-ის მეხსიერების ავტომატური რეზერვაცია. Kdump გამოიყენებს "
+"crashkernel-ის kexec-tools პაკეტში ჩაწერილ მნიშვნელობას. ეს ყველაზე ადვილი "
+"მიდგომაა, რომელიც შეიძლება თქვენს შემთხვევას არ ერგებოდეს. გამოიყენება "
+"დაყენების შემდეგ crashkernel-ის მნიშვნელობის ადეკვატურობის შესაფასებლად."
#: ../com_redhat_kdump/tui/spokes/kdump.py:132
msgid "Enable kdump"
-msgstr ""
+msgstr "Kdump-ის ჩართვა"
#: ../com_redhat_kdump/tui/spokes/kdump.py:140
msgid "Enable dump mode fadump"
-msgstr ""
+msgstr "დამპის fadump რეჟიმის _ჩართვა"
#: ../com_redhat_kdump/tui/spokes/kdump.py:145
#, python-format
msgid "Reserve amount (%d - %d MB)"
-msgstr ""
+msgstr "რეზერვირებული რაოდენობა (%d - %d მბ)"
#: tmp/kdump.glade.h:1
msgid "KDUMP"
-msgstr ""
+msgstr "KDUMP"
#: tmp/kdump.glade.h:2
msgid ""
@@ -90,35 +98,40 @@ msgid ""
"determining the cause of the crash. Note that kdump does require reserving a "
"portion of system memory that will be unavailable for other uses."
msgstr ""
+"Kdump ბირთვის ავარიის დამპის შენახვის მექანიზმს წარმოადგენს. სისტემის "
+"ავარიის შემთხვევაში Kdump გადაიჭერს ინფორმაციას თქვენი სისტემიდან, რომელიც "
+"შეიძლება ძალიან მნიშვნელოვანი აღმოჩნდეს ავარიის მიზეზის დადგენისას. "
+"დაიმახსოვრეთ, რომ Kdump-ს სჭირდება სისტემური მეხსიერების ნაწილი, რომელიც "
+"სხვა მოხმარებისთვის მიუწვდომელი იქნება."
#: tmp/kdump.glade.h:3
msgid "_Enable kdump"
-msgstr ""
+msgstr "Kdump-ის ჩართვა"
#: tmp/kdump.glade.h:4
msgid "_Enable dump mode fadump"
-msgstr ""
+msgstr "დამპის fadump რეჟიმის _ჩართვა"
#: tmp/kdump.glade.h:5
msgid "Kdump Memory Reservation:"
-msgstr ""
+msgstr "Kdump -ის მეხსიერების რეზერვაცია:"
#: tmp/kdump.glade.h:6
msgid "_Automatic"
-msgstr ""
+msgstr "_ავტომატური"
#: tmp/kdump.glade.h:7
msgid "_Manual"
-msgstr ""
+msgstr "_ხელით"
#: tmp/kdump.glade.h:8
msgid "Memory To Be _Reserved (MB):"
-msgstr ""
+msgstr "_დასარეზერვებელი მეხსიერების რაოდენობა (მბ):"
#: tmp/kdump.glade.h:9
msgid "Total System Memory (MB):"
-msgstr ""
+msgstr "ჯამური სისტემური მეხსიერება (მბ):"
#: tmp/kdump.glade.h:10
msgid "Usable System Memory (MB):"
-msgstr ""
+msgstr "გამოყენებადი სისტემური მეხსიერება (მბ):"
--
2.44.0

File diff suppressed because it is too large Load Diff

@ -0,0 +1,126 @@
%global gitcommit 7ca2d3e629cec72eb14cef74a2ee494e70594b7c
%global gitshortcommit %(c=%{gitcommit}; echo ${c:0:7})
%global snapshotdate 20220714
Name: kdump-anaconda-addon
Version: 006
Release: 16.%{snapshotdate}git%{gitshortcommit}%{?dist}
Url: https://github.com/rhinstaller/kdump-anaconda-addon
License: GPL-2.0-only
Summary: Kdump configuration anaconda addon
BuildArch: noarch
Requires: anaconda >= 34.25
Requires: hicolor-icon-theme
BuildRequires: intltool gettext
BuildRequires: make
Obsoletes: kexec-tools-anaconda-addon < 2.0.17-9
Provides: kexec-tools-anaconda-addon = %{version}-%{release}
Source0: https://github.com/rhinstaller/kdump-anaconda-addon/archive/%{gitcommit}/kdump-anaconda-addon-%{gitshortcommit}.tar.gz
Patch1: 0001.patch
Patch2: 0002.patch
Patch3: 0003.patch
Patch4: 0004.patch
%description
Kdump anaconda addon
%prep
%autosetup -n %{name}-%{gitcommit} -p1
%build
%install
%make_install
%find_lang kdump-anaconda-addon
%files -f kdump-anaconda-addon.lang
%doc README
%license LICENSE
%{_datadir}/anaconda/addons/com_redhat_kdump
%{_datadir}/anaconda/dbus/confs/org.fedoraproject.Anaconda.Addons.Kdump.conf
%{_datadir}/anaconda/dbus/services/org.fedoraproject.Anaconda.Addons.Kdump.service
%{_datadir}/icons/hicolor/scalable/apps/kdump.svg
%changelog
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 006-16.20220714git7ca2d3e
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 006-16.20220714git7ca2d3e
- Bump release for June 2024 mass rebuild
* Tue May 07 2024 Lichen Liu <lichliu@redhat.com> - 006-15.20220714git7ca2d3e
- Resolves: RHEL-32899
* Mon Apr 22 2024 Lichen Liu <lichliu@redhat.com> - 006-14.20220714git7ca2d3e
- Resolves: RHEL-29570
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 006-11.20220714git7ca2d3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 006-10.20220714git7ca2d3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 006-9.20220714git7ca2d3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 006-8.20220714git7ca2d3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 006-7.20220714git7ca2d3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jul 14 2022 Coiby <coxu@redhat.com> - 006-1.20220714git7ca2d3e
- Update to latest git snapshot (20220714).
* Thu Jan 20 2022 Coiby <coxu@redhat.com> - 006-1.20220128git9603258
- Update to latest git snapshot (20220128).
* Thu Jan 20 2022 Coiby <coxu@redhat.com> - 006-1.20220120git44fe737
- Update to latest git snapshot (20220120)
* Thu Jan 13 2022 Coiby <coxu@redhat.com> - 006-1.20220113git4c5a91d
- Update to latest git snapshot (20220113)
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 006-3.20201128git4ba507e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 006-2.20201128git4ba507e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Nov 28 2020 Kairui Song <kasong@redhat.com> - 006-1.20201128git4ba507e
- Update to latest git snapshot (20201128)
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 005-9.20200220git80aab11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Feb 20 2020 Kairui Song <kasong@redhat.com> - 005-8.20200220git80aab11
- Update to latest git snapshot (20200220)
* Tue Jan 14 2020 Kairui Song <kasong@redhat.com> - 005-7.20200114git122ccd9
- Update to latest git snapshot (20200114)
* Wed Aug 7 2019 Kairui Song <kasong@redhat.com> - 005-6.20190730gitc109552
- Update to latest git snapshot (20190723)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 005-5.20190103gitb16ea2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 005-4.20190103gitb16ea2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 3 2019 Kairui Song <kasong@redhat.com> - 005-3.20190103gitb16ea2c
- Update to latest git snapshot (20190103)
* Tue Aug 7 2018 Kairui Song <kasong@redhat.com> - 005-2.20180730git966223e
- Bump obsoleted kexec-tools-anaconda-addon version
- Remove redundant source files
* Tue Aug 7 2018 Kairui Song <kasong@redhat.com> - 005-1.20180730git966223e
- Update to latest git snapshot (20180730)
* Mon Jul 9 2018 Kairui Song <kasong@redhat.com> - 005-1.20180626git8b243e3
- Initial package for kdump-anaconda-addon
Loading…
Cancel
Save