Compare commits

..

No commits in common. 'i9' and 'i9-beta' have entirely different histories.
i9 ... i9-beta

@ -1 +1 @@
71620d2ed3ce54558da0cb8d49cac48fa89d3a7a SOURCES/anaconda-34.25.4.9.tar.bz2 bad3a78526536052137a0a1316476538fef0b299 SOURCES/anaconda-34.25.3.8.tar.bz2

2
.gitignore vendored

@ -1 +1 @@
SOURCES/anaconda-34.25.4.9.tar.bz2 SOURCES/anaconda-34.25.3.8.tar.bz2

@ -1,7 +1,7 @@
From 8454ae65d1f7cb2f0221a33fd223c2b460c27017 Mon Sep 17 00:00:00 2001 From a79b7a9a0119268617621b78737722269fd5d1f1 Mon Sep 17 00:00:00 2001
From: Eugene Zamriy <eugene@zamriy.info> From: Eugene Zamriy <eugene@zamriy.info>
Date: Fri, 14 Apr 2023 12:53:14 +0300 Date: Fri, 14 Apr 2023 12:53:14 +0300
Subject: [PATCH 01/15] Disable subscription Subject: [PATCH 01/13] Disable subscription
--- ---
pyanaconda/ui/gui/spokes/subscription.py | 4 ++++ pyanaconda/ui/gui/spokes/subscription.py | 4 ++++
@ -23,5 +23,5 @@ index 4d03689..3b0e6c0 100644
NormalSpoke.initialize(self) NormalSpoke.initialize(self)
self.initialize_start() self.initialize_start()
-- --
2.44.0 2.41.0

@ -1,7 +1,7 @@
From 3e3d00cc21ab256eb55c5e5176f66cd7a348c111 Mon Sep 17 00:00:00 2001 From e1441025f22f25c41e1ed2d72ff48cad198c2adb Mon Sep 17 00:00:00 2001
From: Eugene Zamriy <eugene@zamriy.info> From: Eugene Zamriy <eugene@zamriy.info>
Date: Fri, 14 Apr 2023 12:54:58 +0300 Date: Fri, 14 Apr 2023 12:54:58 +0300
Subject: [PATCH 02/15] Hide CDN source button Subject: [PATCH 02/13] Hide CDN source button
--- ---
pyanaconda/ui/gui/spokes/installation_source.py | 2 ++ pyanaconda/ui/gui/spokes/installation_source.py | 2 ++
@ -21,5 +21,5 @@ index c467bd3..398ac11 100644
self._protocol_combo_box = self.builder.get_object("protocolComboBox") self._protocol_combo_box = self.builder.get_object("protocolComboBox")
self._iso_chooser_button = self.builder.get_object("isoChooserButton") self._iso_chooser_button = self.builder.get_object("isoChooserButton")
-- --
2.44.0 2.41.0

@ -1,7 +1,7 @@
From d78fb7d96c772f00ce4b35f4f9209b2d629c27e0 Mon Sep 17 00:00:00 2001 From fc94554299be1657536d4ed3d18e09673fee8713 Mon Sep 17 00:00:00 2001
From: Eugene Zamriy <eugene@zamriy.info> From: Eugene Zamriy <eugene@zamriy.info>
Date: Fri, 14 Apr 2023 12:56:19 +0300 Date: Fri, 14 Apr 2023 12:56:19 +0300
Subject: [PATCH 03/15] Set MSVSphere installer colors Subject: [PATCH 03/13] Set MSVSphere installer colors
--- ---
data/anaconda-gtk.css | 3 ++- data/anaconda-gtk.css | 3 ++-
@ -25,5 +25,5 @@ index 516df62..ef6d79d 100644
/* logo and sidebar classes */ /* logo and sidebar classes */
-- --
2.44.0 2.41.0

@ -1,14 +1,14 @@
From 18fcf71d53a8c476c55076f8a0e8db0904a51670 Mon Sep 17 00:00:00 2001 From ac96b00ea3b3fe15c841e9cb08ad61d124228a87 Mon Sep 17 00:00:00 2001
From: Eugene Zamriy <evgeniy.zamriy@softline.com> From: Eugene Zamriy <evgeniy.zamriy@softline.com>
Date: Fri, 28 Jul 2023 23:47:23 +0300 Date: Fri, 28 Jul 2023 23:47:23 +0300
Subject: [PATCH 04/15] Add Minimal and Server repository support Subject: [PATCH 04/13] Add Minimal and Server repository support
--- ---
pyanaconda/core/constants.py | 4 +++- pyanaconda/core/constants.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-) 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py
index 1496f8c..72a9d39 100644 index df360a0..21c410a 100644
--- a/pyanaconda/core/constants.py --- a/pyanaconda/core/constants.py
+++ b/pyanaconda/core/constants.py +++ b/pyanaconda/core/constants.py
@@ -58,7 +58,9 @@ DEFAULT_REPOS = [productName.split('-')[0].lower(), @@ -58,7 +58,9 @@ DEFAULT_REPOS = [productName.split('-')[0].lower(),
@ -23,5 +23,5 @@ index 1496f8c..72a9d39 100644
DBUS_ANACONDA_SESSION_ADDRESS = "DBUS_ANACONDA_SESSION_BUS_ADDRESS" DBUS_ANACONDA_SESSION_ADDRESS = "DBUS_ANACONDA_SESSION_BUS_ADDRESS"
-- --
2.44.0 2.41.0

@ -1,7 +1,7 @@
From 590d0e07d420aa32e69d23e1d70211ceaf35aa1f Mon Sep 17 00:00:00 2001 From 2bb2cb74d40b692cd694e43e7e94883beef6d7d3 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru> From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
Date: Wed, 3 Apr 2024 09:41:32 +0300 Date: Wed, 4 Oct 2023 17:34:35 +0300
Subject: [PATCH 05/15] Set default timezone to Europe/Moscow Subject: [PATCH 05/13] Set default timezone to Europe/Moscow
--- ---
pyanaconda/modules/timezone/installation.py | 4 ++-- pyanaconda/modules/timezone/installation.py | 4 ++--
@ -10,11 +10,11 @@ Subject: [PATCH 05/15] Set default timezone to Europe/Moscow
3 files changed, 4 insertions(+), 4 deletions(-) 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pyanaconda/modules/timezone/installation.py b/pyanaconda/modules/timezone/installation.py diff --git a/pyanaconda/modules/timezone/installation.py b/pyanaconda/modules/timezone/installation.py
index fcd04d1..88ac7b5 100644 index d6dfd7b..984646d 100644
--- a/pyanaconda/modules/timezone/installation.py --- a/pyanaconda/modules/timezone/installation.py
+++ b/pyanaconda/modules/timezone/installation.py +++ b/pyanaconda/modules/timezone/installation.py
@@ -67,8 +67,8 @@ class ConfigureTimezoneTask(Task): @@ -63,8 +63,8 @@ class ConfigureTimezoneTask(Task):
else: if not is_valid_timezone(self._timezone):
# this should never happen, but for pity's sake # this should never happen, but for pity's sake
log.warning("Timezone %s set in kickstart is not valid, " log.warning("Timezone %s set in kickstart is not valid, "
- "falling back to default (America/New_York).", self._timezone) - "falling back to default (America/New_York).", self._timezone)
@ -38,10 +38,10 @@ index ac5318c..42e0cfe 100644
self.geolocation_result_changed = Signal() self.geolocation_result_changed = Signal()
diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.py b/pyanaconda/ui/gui/spokes/datetime_spoke.py diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.py b/pyanaconda/ui/gui/spokes/datetime_spoke.py
index 117dfe3..f35bab1 100644 index c99f451..bd6839d 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.py --- a/pyanaconda/ui/gui/spokes/datetime_spoke.py
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.py +++ b/pyanaconda/ui/gui/spokes/datetime_spoke.py
@@ -70,7 +70,7 @@ SERVER_WORKING = 3 @@ -69,7 +69,7 @@ SERVER_WORKING = 3
SERVER_USE = 4 SERVER_USE = 4
SERVER_OBJECT = 5 SERVER_OBJECT = 5
@ -51,5 +51,5 @@ index 117dfe3..f35bab1 100644
SPLIT_NUMBER_SUFFIX_RE = re.compile(r'([^0-9]*)([-+])([0-9]+)') SPLIT_NUMBER_SUFFIX_RE = re.compile(r'([^0-9]*)([-+])([0-9]+)')
-- --
2.44.0 2.41.0

@ -1,7 +1,7 @@
From 0fc5e241d84cb01bbaf93bba4e400d2f06b372c9 Mon Sep 17 00:00:00 2001 From 805711f02da4a60a78fbf3731a089ea0db005c9d Mon Sep 17 00:00:00 2001
From: Eugene Zamriy <eugene@zamriy.info> From: Eugene Zamriy <eugene@zamriy.info>
Date: Fri, 14 Apr 2023 14:59:53 +0300 Date: Fri, 14 Apr 2023 14:59:53 +0300
Subject: [PATCH 06/15] Add MSVSphere product config Subject: [PATCH 06/13] Add MSVSphere product config
--- ---
data/product.d/msvsphere.conf | 21 +++++++++++++++++++++ data/product.d/msvsphere.conf | 21 +++++++++++++++++++++
@ -36,5 +36,5 @@ index 0000000..baaf497
+[License] +[License]
+eula = /usr/share/sphere-release/EULA +eula = /usr/share/sphere-release/EULA
-- --
2.44.0 2.41.0

@ -1,14 +1,14 @@
From bb93c14285802d057447369c44b662d2d43521a8 Mon Sep 17 00:00:00 2001 From 8408a70c71e4cf41e09871d01a81ef25fcab0d33 Mon Sep 17 00:00:00 2001
From: Eugene Zamriy <eugene@zamriy.info> From: Eugene Zamriy <eugene@zamriy.info>
Date: Fri, 14 Apr 2023 18:00:57 +0300 Date: Fri, 14 Apr 2023 18:00:57 +0300
Subject: [PATCH 07/15] Set Russian language as default Subject: [PATCH 07/13] Set Russian language as default
--- ---
pyanaconda/core/constants.py | 2 +- pyanaconda/core/constants.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py
index 72a9d39..ca9dadc 100644 index 21c410a..10b93c7 100644
--- a/pyanaconda/core/constants.py --- a/pyanaconda/core/constants.py
+++ b/pyanaconda/core/constants.py +++ b/pyanaconda/core/constants.py
@@ -72,7 +72,7 @@ ANACONDA_CONFIG_DIR = "/etc/anaconda/" @@ -72,7 +72,7 @@ ANACONDA_CONFIG_DIR = "/etc/anaconda/"
@ -21,5 +21,5 @@ index 72a9d39..ca9dadc 100644
DEFAULT_VC_FONT = "eurlatgr" DEFAULT_VC_FONT = "eurlatgr"
-- --
2.44.0 2.41.0

@ -1,7 +1,7 @@
From 03809bf006ee92d63a3bc4bc9702ceca757a5e9c Mon Sep 17 00:00:00 2001 From 9ef513074e087b53bb318065eee8885de8c51ba2 Mon Sep 17 00:00:00 2001
From: Eugene Zamriy <eugene@zamriy.info> From: Eugene Zamriy <eugene@zamriy.info>
Date: Fri, 14 Apr 2023 18:23:29 +0300 Date: Fri, 14 Apr 2023 18:23:29 +0300
Subject: [PATCH 08/15] Replace Fedora references and update translations Subject: [PATCH 08/13] Replace Fedora references and update translations
--- ---
data/liveinst/gnome/fedora-welcome.desktop | 3 ++- data/liveinst/gnome/fedora-welcome.desktop | 3 ++-
@ -83,7 +83,7 @@ index 847078d..6d9c4b3 100644
diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py
index ca9dadc..84b03e3 100644 index 10b93c7..11d7d46 100644
--- a/pyanaconda/core/constants.py --- a/pyanaconda/core/constants.py
+++ b/pyanaconda/core/constants.py +++ b/pyanaconda/core/constants.py
@@ -156,8 +156,8 @@ WARNING_SUPPORT_REMOVED = N_( @@ -156,8 +156,8 @@ WARNING_SUPPORT_REMOVED = N_(
@ -98,5 +98,5 @@ index ca9dadc..84b03e3 100644
# Storage messages # Storage messages
-- --
2.44.0 2.41.0

@ -1,7 +1,7 @@
From 656b7931e60d6e25323e3ae46e2f15fc7d550ff3 Mon Sep 17 00:00:00 2001 From c9ff22033280adfc7279f21a389247dc5d4fe427 Mon Sep 17 00:00:00 2001
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru> From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
Date: Wed, 4 Oct 2023 17:41:16 +0300 Date: Wed, 4 Oct 2023 17:41:16 +0300
Subject: [PATCH 09/15] Set Russian as default language for new regions Subject: [PATCH 09/13] Set Russian as default language for new regions
--- ---
pyanaconda/modules/timezone/initialization.py | 11 +++++++++++ pyanaconda/modules/timezone/initialization.py | 11 +++++++++++
@ -30,5 +30,5 @@ index 0ef8d09..f8f5848 100644
if not is_valid_timezone(timezone): if not is_valid_timezone(timezone):
# try to get a timezone from the territory code # try to get a timezone from the territory code
-- --
2.44.0 2.41.0

@ -1,7 +1,7 @@
From 60ffb83455ecba7fccef1044e7eb17b55c589c44 Mon Sep 17 00:00:00 2001 From 70c61ddf9dc75a7a4015f255985cef18fa4e37bb Mon Sep 17 00:00:00 2001
From: Eugene Zamriy <eugene@zamriy.info> From: Eugene Zamriy <eugene@zamriy.info>
Date: Wed, 19 Apr 2023 12:06:57 +0300 Date: Wed, 19 Apr 2023 12:06:57 +0300
Subject: [PATCH 10/15] Set English as fallback language for help Subject: [PATCH 10/13] Set English as fallback language for help
--- ---
pyanaconda/core/constants.py | 4 ++++ pyanaconda/core/constants.py | 4 ++++
@ -9,7 +9,7 @@ Subject: [PATCH 10/15] Set English as fallback language for help
2 files changed, 6 insertions(+), 2 deletions(-) 2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py
index 84b03e3..b7c2e5e 100644 index 11d7d46..0a970e0 100644
--- a/pyanaconda/core/constants.py --- a/pyanaconda/core/constants.py
+++ b/pyanaconda/core/constants.py +++ b/pyanaconda/core/constants.py
@@ -74,6 +74,10 @@ ANACONDA_CONFIG_TMP = "/run/anaconda/anaconda.conf" @@ -74,6 +74,10 @@ ANACONDA_CONFIG_TMP = "/run/anaconda/anaconda.conf"
@ -46,5 +46,5 @@ index 271e587..b8f424d 100644
best_path = available_files.get(best_lang, None) best_path = available_files.get(best_lang, None)
-- --
2.44.0 2.41.0

@ -1,35 +1,35 @@
From b0fe2c954cbab7d9e963a71efa6be2e9b310ab3d Mon Sep 17 00:00:00 2001 From c4ce2dc3afb422937a85a4a2e888b1a3a282672b Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru> From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
Date: Wed, 3 Apr 2024 10:11:15 +0300 Date: Tue, 24 Oct 2023 12:41:45 +0300
Subject: [PATCH] Add MSVSphere identification support Subject: [PATCH 11/11] Add MSVSphere identification support
--- ---
data/liveinst/gnome/fedora-welcome.desktop | 4 +- data/liveinst/gnome/fedora-welcome.desktop | 4 +-
data/liveinst/gnome/fedora-welcome.js | 2 +- data/liveinst/gnome/fedora-welcome.js | 2 +-
po/ru.po | 216 ++++++++++++++---- po/ru.po | 190 +++++++++++++++---
pyanaconda/product.py | 36 ++- pyanaconda/product.py | 36 +++-
.../ui/gui/spokes/installation_progress.py | 8 +- .../ui/gui/spokes/installation_progress.py | 8 +-
pyanaconda/ui/gui/spokes/lib/accordion.py | 2 +- pyanaconda/ui/gui/spokes/lib/accordion.py | 2 +-
.../ui/gui/spokes/lib/storage_dialogs.py | 4 +- .../ui/gui/spokes/lib/storage_dialogs.py | 4 +-
pyanaconda/ui/gui/spokes/welcome.py | 21 +- pyanaconda/ui/gui/spokes/welcome.py | 21 +-
pyanaconda/vnc.py | 42 +++- pyanaconda/vnc.py | 42 +++-
9 files changed, 273 insertions(+), 62 deletions(-) 9 files changed, 260 insertions(+), 49 deletions(-)
diff --git a/data/liveinst/gnome/fedora-welcome.desktop b/data/liveinst/gnome/fedora-welcome.desktop diff --git a/data/liveinst/gnome/fedora-welcome.desktop b/data/liveinst/gnome/fedora-welcome.desktop
index 90f5678..8ca72a7 100644 index 90f5678..abbbff3 100644
--- a/data/liveinst/gnome/fedora-welcome.desktop --- a/data/liveinst/gnome/fedora-welcome.desktop
+++ b/data/liveinst/gnome/fedora-welcome.desktop +++ b/data/liveinst/gnome/fedora-welcome.desktop
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
-Name=Welcome to MSVSphere -Name=Welcome to MSVSphere
-Name[ru]=Добро пожаловать в МСВСфера -Name[ru]=Добро пожаловать в МСВСфера
+Name=Welcome to MSVSphere ARM 9.4 +Name=Welcome to MSVSphere ARM
+Name[ru]=Добро пожаловать в МСВСфера АРМ 9.4 +Name[ru]=Добро пожаловать в МСВСфера АРМ
Exec=/usr/share/anaconda/gnome/fedora-welcome Exec=/usr/share/anaconda/gnome/fedora-welcome
Terminal=false Terminal=false
Type=Application Type=Application
diff --git a/data/liveinst/gnome/fedora-welcome.js b/data/liveinst/gnome/fedora-welcome.js diff --git a/data/liveinst/gnome/fedora-welcome.js b/data/liveinst/gnome/fedora-welcome.js
index 4c0a66a..e313403 100755 index 4c0a66a..120d718 100755
--- a/data/liveinst/gnome/fedora-welcome.js --- a/data/liveinst/gnome/fedora-welcome.js
+++ b/data/liveinst/gnome/fedora-welcome.js +++ b/data/liveinst/gnome/fedora-welcome.js
@@ -62,7 +62,7 @@ const WelcomeWindow = new Lang.Class({ @@ -62,7 +62,7 @@ const WelcomeWindow = new Lang.Class({
@ -37,17 +37,179 @@ index 4c0a66a..e313403 100755
default_height: 550, default_height: 550,
skip_taskbar_hint: true, skip_taskbar_hint: true,
- title: _("Welcome to MSVSphere"), - title: _("Welcome to MSVSphere"),
+ title: _("Welcome to MSVSphere ARM 9.4"), + title: _("Welcome to MSVSphere ARM"),
window_position: Gtk.WindowPosition.CENTER }); window_position: Gtk.WindowPosition.CENTER });
this.window.connect('key-press-event', Lang.bind(this, this.window.connect('key-press-event', Lang.bind(this,
function(w, event) { function(w, event) {
diff --git a/po/ru.po b/po/ru.po diff --git a/po/ru.po b/po/ru.po
index 1edb03d..1f8915b 100644 index 8340e9e..7eed72b 100644
--- a/po/ru.po --- a/po/ru.po
+++ b/po/ru.po +++ b/po/ru.po
@@ -197,7 +197,37 @@ msgstr "Выбор корня" @@ -461,13 +461,13 @@ msgstr ""
msgid "The following installations were discovered on your system."
msgstr "В вашей системе обнаружены следующие установки." #: pyanaconda/core/constants.py:157
msgid ""
-"This hardware (or a combination thereof) is not supported by Red Hat. For "
-"more information on supported hardware, please refer to http://www.redhat."
-"com/hardware."
+"This hardware (or a combination thereof) is not supported by MSVSphere. "
+"For more information on supported hardware, please refer to "
+"https://msvsphere-os.ru."
msgstr ""
-"Это аппаратное обеспечение (или их комбинация) не поддерживается Red Hat. "
-"Для получения дополнительной информации о поддерживаемом оборудовании см. "
-"http://www.redhat.com/hardware."
+"Это аппаратное обеспечение (или их комбинация) не поддерживается "
+"МСВСфера ОС. Для получения дополнительной информации о поддерживаемом "
+"оборудовании см. https://msvsphere-os.ru."
#: pyanaconda/core/constants.py:163
msgid ""
@@ -932,6 +932,36 @@ msgstr "Заполните отмеченные секции, прежде че
msgid "What language would you like to use during the installation process?"
msgstr "Какой язык вы хотите использовать в процессе установки?"
+#: pyanaconda/ui/gui/spokes/welcome.py:278
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s Server"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s Сервер"
+
+#: pyanaconda/ui/gui/spokes/welcome.py:280
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s ARM"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s АРМ"
+
+#: pyanaconda/ui/gui/spokes/welcome.py:282
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s Cinnamon"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s Cinnamon"
+
+#: pyanaconda/ui/gui/spokes/welcome.py:284
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s KDE"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s KDE"
+
+#: pyanaconda/ui/gui/spokes/welcome.py:286
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s XFCE"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s XFCE"
+
+#: pyanaconda/ui/gui/spokes/welcome.py:288
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s OS"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s ОС"
+
#: pyanaconda/ui/gui/spokes/welcome.py:209
#, python-format
msgid "WELCOME TO %(name)s %(version)s."
@@ -1834,7 +1864,7 @@ msgid ""
"you'll be able to view their details here."
msgstr ""
"Здесь будет показана информация о созданных точках монтирования для "
-"установки %(name)s %(version)s."
+"установки МСВСфера %(version)s OC."
#: pyanaconda/ui/gui/spokes/custom_storage.py:615
#: pyanaconda/ui/gui/spokes/advstorage/nvdimm.glade:178
@@ -1931,7 +1961,7 @@ msgid ""
"of available space, including <b>%(software)s</b> for software and "
"<b>%(swap)s</b> for swap space."
msgstr ""
-"Для установки <b>%(product)s</b> требуется <b>%(total)s</b>, в том числе "
+"Для установки <b>МСВСфера ОС</b> требуется <b>%(total)s</b>, в том числе "
"<b>%(software)s</b> для программ и <b>%(swap)s</b> для подкачки."
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:81
@@ -1942,7 +1972,7 @@ msgid ""
"<b>%(software)s</b> for software and <b>%(swap)s</b> for swap space."
msgstr ""
"Для <a href=\"\" title=\"%(tooltip)s\">программного обеспечения "
-"<b>%(product)s</b></a> требуется <b>%(total)s</b> пространства, в том числе "
+"<b>МСВСфера ОС</b></a> требуется <b>%(total)s</b> пространства, в том числе "
"<b>%(software)s</b> для программ и <b>%(swap)s</b> для подкачки."
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:132
@@ -1953,11 +1983,11 @@ msgstr "%s На выбранных дисках доступно:"
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:142
#, python-format
msgid ""
-"<b>You don't have enough space available to install %s</b>. You can shrink "
+"<b>You don't have enough space available to install %(name)s</b>. You can shrink "
"or remove existing partitions via our guided reclaim space tool, or you can "
"adjust your partitions on your own in the custom partitioning interface."
msgstr ""
-"<b>Недостаточно места для установки %s</b>. Можно уменьшить или удалить "
+"<b>Недостаточно места для установки МСВСфера ОС</b>. Можно уменьшить или удалить "
"существующие разделы с помощью помощника или самостоятельно выбрать размеры "
"разделов в окне настройки разделов."
@@ -1967,7 +1997,7 @@ msgid ""
" You don't have enough space available to install <b>%(product)s</b>, even "
"if you used all of the free space available on the selected disks."
msgstr ""
-" Недостаточно места для установки <b>%(product)s</b>, даже если "
+" Недостаточно места для установки <b>МСВСфера ОС</b>, даже если "
"использовать все свободное место на выбранных дисках."
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:178
@@ -1978,10 +2008,10 @@ msgid ""
"could add more disks for additional space, modify your software selection to "
"install a smaller version of <b>%(productName)s</b>, or quit the installer."
msgstr ""
-"<b>Недостаточно места для установки %(productName)s</b>, даже если "
+"<b>Недостаточно места для установки МСВСфера ОС</b>, даже если "
"использовать всё свободное место на выбранных дисках. Можно добавить ещё "
"диски, чтобы получить дополнительное место, изменить выбор программного "
-"обеспечения, чтобы установить меньший вариант <b>%(productName)s</b>, или "
+"обеспечения, чтобы установить меньший вариант <b>МСВСфера ОС</b>, или "
"покинуть программу установки."
#: pyanaconda/ui/gui/spokes/lib/network_secret_agent.py:180
@@ -2041,7 +2071,7 @@ msgid ""
"You haven't created any mount points for your %(product)s %(version)s "
"installation yet. You can:"
msgstr ""
-"Вы еще не создали точки монтирования для установки %(product)s %(version)s. "
+"Вы еще не создали точки монтирования для установки МСВСфера %(version)s OC. "
"Вы можете:"
#: pyanaconda/ui/gui/spokes/lib/accordion.py:479
@@ -2073,6 +2103,10 @@ msgstr ""
"_Автоматически созданные точки монтирования могут быть зашифрованы по "
"умолчанию:"
+#: pyanaconda/ui/gui/spokes/lib/accordion.py:547
+msgid "Encrypt my data."
+msgstr "Зашифровать данные."
+
#: pyanaconda/ui/gui/spokes/lib/subscription.py:66
msgid "Other ({})"
msgstr "Другой ({})"
@@ -2370,8 +2404,8 @@ msgid ""
"%s is now successfully installed and ready for you to use!\n"
"Go ahead and reboot your system to start using it!"
msgstr ""
-"%s успешно установлена и готова к использованию!\n"
-"Давайте, перезагружайте систему и начинайте использовать ее!"
+"МСВСфера ОС установлена и готова к работе.\n"
+"Необходимо перезагрузить систему чтобы приступить к использованию."
#: pyanaconda/ui/gui/spokes/installation_progress.py:163
#, python-format
@@ -2379,8 +2413,8 @@ msgid ""
"%s is now successfully installed and ready for you to use!\n"
"Go ahead and quit the application to start using it!"
msgstr ""
-"%s успешно установлено и готово к использованию!\n"
-"Выйдите из приложения и начните использовать его!"
+"МСВСфера ОС установлена и готова к работе.\n"
+"Необходимо выйти из приложения чтобы приступить к использованию."
#: pyanaconda/ui/gui/__init__.py:365 widgets/src/BaseWindow.c:151
msgid "Help!"
@@ -3183,7 +3217,37 @@ msgstr "Форматирование устройств DASD"
msgid "Probing storage"
msgstr "Проверка устройств хранения"
-#: pyanaconda/product.py:69 -#: pyanaconda/product.py:69
+#: pyanaconda/product.py:83 +#: pyanaconda/product.py:83
@ -84,9 +246,27 @@ index 1edb03d..1f8915b 100644
#, python-format #, python-format
msgid "%(productName)s %(productVersion)s INSTALLATION" msgid "%(productName)s %(productVersion)s INSTALLATION"
msgstr "УСТАНОВКА %(productName)s %(productVersion)s" msgstr "УСТАНОВКА %(productName)s %(productVersion)s"
@@ -288,31 +318,91 @@ msgstr "Сервера NTP:" @@ -3422,7 +3486,7 @@ msgid ""
msgid "not configured" "recommended for a normal %(productName)s install."
msgstr "не настроено" msgstr ""
"Размер раздела %(mount)s меньше %(size)s, что меньше рекомендованного "
-"размера для обычной установки %(productName)s."
+"размера для обычной установки МСВСфера ОС."
#: pyanaconda/modules/storage/checker/utils.py:131
#, python-format
@@ -3839,7 +3903,7 @@ msgstr "Не удалось сменить устройство."
#: pyanaconda/modules/storage/partitioning/interactive/utils.py:213
#, python-brace-format
msgid "New {name} {version} Installation"
-msgstr "Новая установка {name} {version}"
+msgstr "Новая установка МСВСфера {version} ОС"
#: pyanaconda/modules/storage/partitioning/interactive/utils.py:275
msgid "Cannot set label on file system."
@@ -4452,12 +4516,72 @@ msgstr "Для установки необходимо выбрать хотя
msgid "Invalid time source."
msgstr "Неверный источник времени."
-#: pyanaconda/vnc.py:79 -#: pyanaconda/vnc.py:79
+#: pyanaconda/vnc.py:81 +#: pyanaconda/vnc.py:81
@ -159,292 +339,14 @@ index 1edb03d..1f8915b 100644
#, python-format #, python-format
msgid "%(productName)s %(productVersion)s installation on host %(name)s" msgid "%(productName)s %(productVersion)s installation on host %(name)s"
msgstr "Установка %(productName)s %(productVersion)s на %(name)s" msgstr "Установка %(productName)s %(productVersion)s на %(name)s"
@@ -7619,22 +7743,22 @@ msgstr "Настройка Liveinst"
-#: pyanaconda/vnc.py:167
+#: pyanaconda/vnc.py:204
#, python-format
msgid "Attempting to connect to vnc client on host %s..."
msgstr "Попытка соединения с VNC-клиентом на узле %s..."
-#: pyanaconda/vnc.py:181
+#: pyanaconda/vnc.py:218
msgid "Connected!"
msgstr "Подключено!"
-#: pyanaconda/vnc.py:184
+#: pyanaconda/vnc.py:221
msgid "Will try to connect again in 15 seconds..."
msgstr ""
"Повторная попытка установить соединение будет предпринята через 15 секунд..."
-#: pyanaconda/vnc.py:191
+#: pyanaconda/vnc.py:228
#, python-format
msgid "Giving up attempting to connect after %d try!\n"
msgid_plural "Giving up attempting to connect after %d tries!\n"
@@ -320,16 +410,16 @@ msgstr[0] "Установка соединения прекращена посл
msgstr[1] "Установка соединения прекращена после %d попыток!\n"
msgstr[2] "Установка соединения прекращена после %d попыток!\n"
-#: pyanaconda/vnc.py:199
+#: pyanaconda/vnc.py:236
msgid "Attempting to start vncconfig"
msgstr "Попытка запустить vncconfig"
-#: pyanaconda/vnc.py:212
+#: pyanaconda/vnc.py:249
#, python-format
msgid "Please manually connect your vnc client to %s to begin the install."
msgstr "Для начала установки подключите VNC-клиент к %s вручную."
-#: pyanaconda/vnc.py:214
+#: pyanaconda/vnc.py:251
#, python-format
msgid ""
"Please manually connect your vnc client to IP-ADDRESS:%s to begin the "
@@ -340,15 +430,15 @@ msgstr ""
"Переключитесь на оболочку (Ctrl-B 2) и выполните команду 'ip addr', чтобы "
"найти IP-ADDRESS."
-#: pyanaconda/vnc.py:219
+#: pyanaconda/vnc.py:256
msgid "Starting VNC..."
msgstr "Запуск VNC..."
-#: pyanaconda/vnc.py:256
+#: pyanaconda/vnc.py:293
msgid "The VNC server is now running."
msgstr "Сервер VNC запущен."
-#: pyanaconda/vnc.py:260
+#: pyanaconda/vnc.py:297
msgid ""
"\n"
"\n"
@@ -366,7 +456,7 @@ msgstr ""
"\n"
"\n"
-#: pyanaconda/vnc.py:265
+#: pyanaconda/vnc.py:302
msgid ""
"\n"
"\n"
@@ -382,7 +472,7 @@ msgstr ""
"для ограничения доступа к серверу.\n"
"\n"
-#: pyanaconda/vnc.py:269
+#: pyanaconda/vnc.py:306
msgid ""
"\n"
"\n"
@@ -394,7 +484,7 @@ msgstr ""
"Вы выбрали запуск VNC с паролем.\n"
"\n"
-#: pyanaconda/vnc.py:271
+#: pyanaconda/vnc.py:308
msgid ""
"\n"
"\n"
@@ -406,7 +496,7 @@ msgstr ""
"Неизвестная ошибка. Остановка работы.\n"
"\n"
-#: pyanaconda/vnc.py:293
+#: pyanaconda/vnc.py:330
msgid ""
"VNC password must be six to eight characters long.\n"
"Please enter a new one, or leave blank for no password."
@@ -750,13 +840,13 @@ msgstr ""
#: pyanaconda/core/constants.py:157
msgid ""
-"This hardware (or a combination thereof) is not supported by Red Hat. For "
-"more information on supported hardware, please refer to http://www.redhat."
-"com/hardware."
+"This hardware (or a combination thereof) is not supported by MSVSphere. "
+"For more information on supported hardware, please refer to "
+"https://msvsphere-os.ru."
msgstr ""
-"Это аппаратное обеспечение (или их комбинация) не поддерживается Red Hat. "
-"Для получения дополнительной информации о поддерживаемом оборудовании см. "
-"http://www.redhat.com/hardware."
+"Это аппаратное обеспечение (или их комбинация) не поддерживается "
+"МСВСфера ОС. Для получения дополнительной информации о поддерживаемом "
+"оборудовании см. https://msvsphere-os.ru."
#: pyanaconda/core/constants.py:163
msgid ""
@@ -1507,7 +1597,7 @@ msgstr "Не удалось добавить устройство."
#: pyanaconda/modules/storage/partitioning/interactive/utils.py:213
#, python-brace-format
msgid "New {name} {version} Installation"
-msgstr "Новая установка {name} {version}"
+msgstr "Новая установка МСВСфера {version}"
#: pyanaconda/modules/storage/partitioning/interactive/utils.py:275
msgid "Cannot set label on file system."
@@ -1937,7 +2027,7 @@ msgid ""
"recommended for a normal %(productName)s install."
msgstr ""
"Размер раздела %(mount)s меньше %(size)s, что меньше рекомендованного "
-"размера для обычной установки %(productName)s."
+"размера для обычной установки МСВСфера ОС."
#: pyanaconda/modules/storage/checker/utils.py:131
#, python-format
@@ -3455,7 +3545,7 @@ msgid ""
"You haven't created any mount points for your %(product)s %(version)s "
"installation yet. You can:"
msgstr ""
-"Вы еще не создали точки монтирования для установки %(product)s %(version)s. "
+"Вы еще не создали точки монтирования для установки МСВСфера ОС %(version)s. "
"Вы можете:"
#: pyanaconda/ui/gui/spokes/lib/accordion.py:479
@@ -3487,6 +3577,10 @@ msgstr ""
"_Автоматически созданные точки монтирования могут быть зашифрованы по "
"умолчанию:"
+#: pyanaconda/ui/gui/spokes/lib/accordion.py:547
+msgid "Encrypt my data."
+msgstr "Зашифровать данные."
+
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:69
msgid "Please wait... software metadata still loading."
msgstr "Подождите… Всё ещё загружаются метаданные ПО."
@@ -3498,7 +3592,7 @@ msgid ""
"of available space, including <b>%(software)s</b> for software and "
"<b>%(swap)s</b> for swap space."
msgstr ""
-"Для установки <b>%(product)s</b> требуется <b>%(total)s</b>, в том числе "
+"Для установки <b>МСВСфера ОС</b> требуется <b>%(total)s</b>, в том числе "
"<b>%(software)s</b> для программ и <b>%(swap)s</b> для подкачки."
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:81
@@ -3509,7 +3603,7 @@ msgid ""
"<b>%(software)s</b> for software and <b>%(swap)s</b> for swap space."
msgstr ""
"Для <a href=\"\" title=\"%(tooltip)s\">программного обеспечения "
-"<b>%(product)s</b></a> требуется <b>%(total)s</b> пространства, в том числе "
+"<b>МСВСфера ОС</b></a> требуется <b>%(total)s</b> пространства, в том числе "
"<b>%(software)s</b> для программ и <b>%(swap)s</b> для подкачки."
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:132
@@ -3520,11 +3614,11 @@ msgstr "%s На выбранных дисках доступно:"
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:142
#, python-format
msgid ""
-"<b>You don't have enough space available to install %s</b>. You can shrink "
+"<b>You don't have enough space available to install %(name)s</b>. You can shrink "
"or remove existing partitions via our guided reclaim space tool, or you can "
"adjust your partitions on your own in the custom partitioning interface."
msgstr ""
-"<b>Недостаточно места для установки %s</b>. Можно уменьшить или удалить "
+"<b>Недостаточно места для установки %(name)s</b>. Можно уменьшить или удалить "
"существующие разделы с помощью помощника или самостоятельно выбрать размеры "
"разделов в окне настройки разделов."
@@ -3534,7 +3628,7 @@ msgid ""
" You don't have enough space available to install <b>%(product)s</b>, even "
"if you used all of the free space available on the selected disks."
msgstr ""
-" Недостаточно места для установки <b>%(product)s</b>, даже если "
+" Недостаточно места для установки <b>МСВСфера ОС</b>, даже если "
"использовать все свободное место на выбранных дисках."
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:178
@@ -3545,10 +3639,10 @@ msgid ""
"could add more disks for additional space, modify your software selection to "
"install a smaller version of <b>%(productName)s</b>, or quit the installer."
msgstr ""
-"<b>Недостаточно места для установки %(productName)s</b>, даже если "
+"<b>Недостаточно места для установки МСВСфера ОС</b>, даже если "
"использовать всё свободное место на выбранных дисках. Можно добавить ещё "
"диски, чтобы получить дополнительное место, изменить выбор программного "
-"обеспечения, чтобы установить меньший вариант <b>%(productName)s</b>, или "
+"обеспечения, чтобы установить меньший вариант <b>МСВСфера ОС</b>, или "
"покинуть программу установки."
#: pyanaconda/ui/gui/spokes/lib/subscription.py:66
@@ -4096,7 +4190,7 @@ msgid ""
"you'll be able to view their details here."
msgstr ""
"Здесь будет показана информация о созданных точках монтирования для "
-"установки %(name)s %(version)s."
+"установки МСВСфера %(version)s OC."
#: pyanaconda/ui/gui/spokes/custom_storage.py:615
#: pyanaconda/ui/gui/spokes/advstorage/nvdimm.glade:178
@@ -4431,6 +4525,36 @@ msgstr "Рабочий сервер NTP не настроен"
msgid "What language would you like to use during the installation process?"
msgstr "Какой язык вы хотите использовать в процессе установки?"
+#: pyanaconda/ui/gui/spokes/welcome.py:278
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s Server"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s Сервер"
+
+#: pyanaconda/ui/gui/spokes/welcome.py:280
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s ARM"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s АРМ"
+
+#: pyanaconda/ui/gui/spokes/welcome.py:282
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s Cinnamon"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s Cinnamon"
+
+#: pyanaconda/ui/gui/spokes/welcome.py:284
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s KDE"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s KDE"
+
+#: pyanaconda/ui/gui/spokes/welcome.py:286
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s XFCE"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s XFCE"
+
+#: pyanaconda/ui/gui/spokes/welcome.py:288
+#, python-format
+msgid "WELCOME TO MSVSphere %(version)s OS"
+msgstr "ДОБРО ПОЖАЛОВАТЬ В МСВСфера %(version)s ОС"
+
#: pyanaconda/ui/gui/spokes/welcome.py:209
#, python-format
msgid "WELCOME TO %(name)s %(version)s."
@@ -4482,8 +4606,8 @@ msgid ""
"%s is now successfully installed and ready for you to use!\n"
"Go ahead and reboot your system to start using it!"
msgstr ""
-"%s успешно установлена и готова к использованию!\n"
-"Давайте, перезагружайте систему и начинайте использовать ее!"
+"МСВСфера ОС установлена и готова к работе.\n"
+"Необходимо перезагрузить систему чтобы приступить к использованию."
#: pyanaconda/ui/gui/spokes/installation_progress.py:163
#, python-format
@@ -4491,8 +4615,8 @@ msgid ""
"%s is now successfully installed and ready for you to use!\n"
"Go ahead and quit the application to start using it!"
msgstr ""
-"%s успешно установлено и готово к использованию!\n"
-"Выйдите из приложения и начните использовать его!"
+"МСВСфера ОС установлена и готова к работе.\n"
+"Необходимо выйти из приложения чтобы приступить к использованию."
#: pyanaconda/ui/gui/spokes/installation_source.py:73
msgid "Setting up installation source..."
@@ -7614,21 +7738,21 @@ msgstr "Настройка Liveinst"
#: data/liveinst/gnome/fedora-welcome.desktop:3 #: data/liveinst/gnome/fedora-welcome.desktop:3
#: data/liveinst/gnome/fedora-welcome.js:65 #: data/liveinst/gnome/fedora-welcome.js:65
-msgid "Welcome to Fedora" -msgid "Welcome to Fedora"
-msgstr "Добро пожаловать в Fedora" -msgstr "Добро пожаловать в Fedora"
+msgid "Welcome to MSVSphere ARM 9.4" +msgid "Welcome to MSVSphere ARM"
+msgstr "Добро пожаловать в МСВСфера АРМ 9.4" +msgstr "Добро пожаловать в МСВСфера АРМ"
#: data/liveinst/gnome/fedora-welcome.js:94 #: data/liveinst/gnome/fedora-welcome.js:94
-msgid "Try Fedora" -msgid "Try Fedora"
@ -462,11 +364,13 @@ index 1edb03d..1f8915b 100644
msgstr "" msgstr ""
-"Fedora запущена с установочного диска.\n" -"Fedora запущена с установочного диска.\n"
-"Вы можете установить Fedora сейчас или в любое время выбрать «Установить на " -"Вы можете установить Fedora сейчас или в любое время выбрать «Установить на "
+"МСВСфера АРМ 9.4 запущена с установочного диска.\n" -"жесткий диск» в меню «Обзор»."
+"МСВСфера АРМ запущена с установочного диска.\n"
+"Вы можете установить операционную систему сейчас или в любое время выбрать " +"Вы можете установить операционную систему сейчас или в любое время выбрать "
"жесткий диск» в меню «Обзор»." +"«Установить на жесткий диск» в меню «Обзор»."
#: data/liveinst/gnome/fedora-welcome.js:130 #: data/liveinst/gnome/fedora-welcome.js:130
msgid ""
diff --git a/pyanaconda/product.py b/pyanaconda/product.py diff --git a/pyanaconda/product.py b/pyanaconda/product.py
index 9dbfe1f..140dbee 100644 index 9dbfe1f..140dbee 100644
--- a/pyanaconda/product.py --- a/pyanaconda/product.py
@ -676,5 +580,5 @@ index 5fadcde..c349de8 100644
'productVersion': product.productVersion, 'productVersion': product.productVersion,
'name': host} 'name': host}
-- --
2.44.0 2.41.0

@ -1,7 +1,7 @@
From d89d1e6358188e8f3f3f595cc8af4d90dd78987e Mon Sep 17 00:00:00 2001 From 4c7d08a2a06f5fe4a7f6da8d26e8c642e8684578 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru> From: tigro <arkadiy.sheyn@softline.com>
Date: Wed, 3 Apr 2024 10:12:41 +0300 Date: Wed, 2 Aug 2023 20:04:35 +0200
Subject: [PATCH 12/15] Enable administrator by default Subject: [PATCH 12/13] Enable administrator by default
--- ---
pyanaconda/ui/gui/spokes/user.glade | 1 + pyanaconda/ui/gui/spokes/user.glade | 1 +
@ -36,5 +36,5 @@ index 2ea6a6f..a0cc1ec 100644
return user_data_list return user_data_list
-- --
2.44.0 2.41.0

File diff suppressed because it is too large Load Diff

@ -1,17 +1,17 @@
From db3ef1af1713398ef082b0c00875efefffe51d62 Mon Sep 17 00:00:00 2001 From 0bec91079152ba03d58fe8657154bd45875acdfa Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru> From: tigro <arkadiy.sheyn@softline.com>
Date: Wed, 3 Apr 2024 10:27:12 +0300 Date: Fri, 3 Nov 2023 16:24:15 +0300
Subject: [PATCH 14/15] Make branding free Russian translation Subject: [PATCH 14/14] Make branding free Russian translation
--- ---
po/ru.po | 34 +++++++++++++++++----------------- po/ru.po | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-) 1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/po/ru.po b/po/ru.po diff --git a/po/ru.po b/po/ru.po
index 77dceed..0c1143b 100644 index 97093b4..1fc0202 100644
--- a/po/ru.po --- a/po/ru.po
+++ b/po/ru.po +++ b/po/ru.po
@@ -845,7 +845,7 @@ msgid "" @@ -466,7 +466,7 @@ msgid ""
"https://msvsphere-os.ru." "https://msvsphere-os.ru."
msgstr "" msgstr ""
"Это аппаратное обеспечение (или их комбинация) не поддерживается " "Это аппаратное обеспечение (или их комбинация) не поддерживается "
@ -20,25 +20,16 @@ index 77dceed..0c1143b 100644
"оборудовании см. https://msvsphere-os.ru." "оборудовании см. https://msvsphere-os.ru."
#: pyanaconda/core/constants.py:163 #: pyanaconda/core/constants.py:163
@@ -2027,7 +2027,7 @@ msgid "" @@ -1864,7 +1864,7 @@ msgid ""
"recommended for a normal %(productName)s install." "you'll be able to view their details here."
msgstr ""
"Размер раздела %(mount)s меньше %(size)s, что меньше рекомендованного "
-"размера для обычной установки МСВСфера ОС."
+"размера для обычной установки операционной системы."
#: pyanaconda/modules/storage/checker/utils.py:131
#, python-format
@@ -3545,7 +3545,7 @@ msgid ""
"You haven't created any mount points for your %(product)s %(version)s "
"installation yet. You can:"
msgstr "" msgstr ""
-"Вы еще не создали точки монтирования для установки МСВСфера ОС %(version)s. " "Здесь будет показана информация о созданных точках монтирования для "
+"Вы еще не создали точки монтирования для установки операционной системы. " -"установки МСВСфера %(version)s OC."
"Вы можете:" +"установки операционной системы."
#: pyanaconda/ui/gui/spokes/lib/accordion.py:479 #: pyanaconda/ui/gui/spokes/custom_storage.py:615
@@ -3592,7 +3592,7 @@ msgid "" #: pyanaconda/ui/gui/spokes/advstorage/nvdimm.glade:178
@@ -1961,7 +1961,7 @@ msgid ""
"of available space, including <b>%(software)s</b> for software and " "of available space, including <b>%(software)s</b> for software and "
"<b>%(swap)s</b> for swap space." "<b>%(swap)s</b> for swap space."
msgstr "" msgstr ""
@ -47,7 +38,7 @@ index 77dceed..0c1143b 100644
"<b>%(software)s</b> для программ и <b>%(swap)s</b> для подкачки." "<b>%(software)s</b> для программ и <b>%(swap)s</b> для подкачки."
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:81 #: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:81
@@ -3602,8 +3602,8 @@ msgid "" @@ -1971,8 +1971,8 @@ msgid ""
"selection</a> requires <b>%(total)s</b> of available space, including " "selection</a> requires <b>%(total)s</b> of available space, including "
"<b>%(software)s</b> for software and <b>%(swap)s</b> for swap space." "<b>%(software)s</b> for software and <b>%(swap)s</b> for swap space."
msgstr "" msgstr ""
@ -58,16 +49,16 @@ index 77dceed..0c1143b 100644
"<b>%(software)s</b> для программ и <b>%(swap)s</b> для подкачки." "<b>%(software)s</b> для программ и <b>%(swap)s</b> для подкачки."
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:132 #: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:132
@@ -3618,7 +3618,7 @@ msgid "" @@ -1987,7 +1987,7 @@ msgid ""
"or remove existing partitions via our guided reclaim space tool, or you can " "or remove existing partitions via our guided reclaim space tool, or you can "
"adjust your partitions on your own in the custom partitioning interface." "adjust your partitions on your own in the custom partitioning interface."
msgstr "" msgstr ""
-"<b>Недостаточно места для установки %(name)s</b>. Можно уменьшить или удалить " -"<b>Недостаточно места для установки МСВСфера ОС</b>. Можно уменьшить или удалить "
+"<b>Недостаточно места для установки операционной системы</b>. Можно уменьшить или удалить " +"<b>Недостаточно места для установки операционной системы</b>. Можно уменьшить или удалить "
"существующие разделы с помощью помощника или самостоятельно выбрать размеры " "существующие разделы с помощью помощника или самостоятельно выбрать размеры "
"разделов в окне настройки разделов." "разделов в окне настройки разделов."
@@ -3628,7 +3628,7 @@ msgid "" @@ -1997,7 +1997,7 @@ msgid ""
" You don't have enough space available to install <b>%(product)s</b>, even " " You don't have enough space available to install <b>%(product)s</b>, even "
"if you used all of the free space available on the selected disks." "if you used all of the free space available on the selected disks."
msgstr "" msgstr ""
@ -76,7 +67,7 @@ index 77dceed..0c1143b 100644
"использовать все свободное место на выбранных дисках." "использовать все свободное место на выбранных дисках."
#: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:178 #: pyanaconda/ui/gui/spokes/lib/storage_dialogs.py:178
@@ -3639,10 +3639,10 @@ msgid "" @@ -2008,10 +2008,10 @@ msgid ""
"could add more disks for additional space, modify your software selection to " "could add more disks for additional space, modify your software selection to "
"install a smaller version of <b>%(productName)s</b>, or quit the installer." "install a smaller version of <b>%(productName)s</b>, or quit the installer."
msgstr "" msgstr ""
@ -85,20 +76,20 @@ index 77dceed..0c1143b 100644
"использовать всё свободное место на выбранных дисках. Можно добавить ещё " "использовать всё свободное место на выбранных дисках. Можно добавить ещё "
"диски, чтобы получить дополнительное место, изменить выбор программного " "диски, чтобы получить дополнительное место, изменить выбор программного "
-"обеспечения, чтобы установить меньший вариант <b>МСВСфера ОС</b>, или " -"обеспечения, чтобы установить меньший вариант <b>МСВСфера ОС</b>, или "
+"обеспечения, чтобы установить меньший вариант <b>системы</b>, или " +"обеспечения, чтобы уменьшить размер <b>системы</b>, или "
"покинуть программу установки." "покинуть программу установки."
#: pyanaconda/ui/gui/spokes/lib/subscription.py:66 #: pyanaconda/ui/gui/spokes/lib/network_secret_agent.py:180
@@ -4190,7 +4190,7 @@ msgid "" @@ -2071,7 +2071,7 @@ msgid ""
"you'll be able to view their details here." "You haven't created any mount points for your %(product)s %(version)s "
"installation yet. You can:"
msgstr "" msgstr ""
"Здесь будет показана информация о созданных точках монтирования для " -"Вы еще не создали точки монтирования для установки МСВСфера %(version)s OC. "
-"установки МСВСфера %(version)s OC." +"Вы еще не создали точки монтирования для установки операционной системы. "
+"установки операционной системы." "Вы можете:"
#: pyanaconda/ui/gui/spokes/custom_storage.py:615 #: pyanaconda/ui/gui/spokes/lib/accordion.py:479
#: pyanaconda/ui/gui/spokes/advstorage/nvdimm.glade:178 @@ -2401,20 +2401,20 @@ msgstr "_Завершить установку"
@@ -4603,20 +4603,20 @@ msgstr "_Завершить установку"
#: pyanaconda/ui/gui/spokes/installation_progress.py:158 #: pyanaconda/ui/gui/spokes/installation_progress.py:158
#, python-format #, python-format
msgid "" msgid ""
@ -123,8 +114,17 @@ index 77dceed..0c1143b 100644
+"Операционная система установлена и готова к работе.\n" +"Операционная система установлена и готова к работе.\n"
+"Необходимо выйти из приложения, чтобы приступить к использованию." +"Необходимо выйти из приложения, чтобы приступить к использованию."
#: pyanaconda/ui/gui/spokes/installation_source.py:73 #: pyanaconda/ui/gui/__init__.py:365 widgets/src/BaseWindow.c:151
msgid "Setting up installation source..." msgid "Help!"
@@ -3486,7 +3486,7 @@ msgid ""
"recommended for a normal %(productName)s install."
msgstr ""
"Размер раздела %(mount)s меньше %(size)s, что меньше рекомендованного "
-"размера для обычной установки МСВСфера ОС."
+"размера для обычной установки операционной системы."
#: pyanaconda/modules/storage/checker/utils.py:131
#, python-format
-- --
2.44.0 2.41.0

@ -1,25 +0,0 @@
From b9fe4624a8f34bac765fd2788abebfec429cc0a2 Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Mon, 12 Aug 2024 12:29:06 +0300
Subject: [PATCH 16/16] Set LatGrkCyr-8x16 as default font instead of eurlatgr
---
pyanaconda/core/constants.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py
index 78577cb..0bd5227 100644
--- a/pyanaconda/core/constants.py
+++ b/pyanaconda/core/constants.py
@@ -78,7 +78,7 @@ DEFAULT_LANG = "ru_RU.UTF-8"
# we use Russian by default for UI
DEFAULT_HELP_LANG = "en_US.UTF-8"
-DEFAULT_VC_FONT = "eurlatgr"
+DEFAULT_VC_FONT = "LatGrkCyr-8x16"
DEFAULT_KEYBOARD = "us"
--
2.46.0

@ -1,488 +0,0 @@
From 2716b292b9d42961222fd645c6b2d281d46d6688 Mon Sep 17 00:00:00 2001
From: Dmitry Samoylik <Dmitriy.Samoylik@softline.com>
Date: Thu, 26 Sep 2024 16:57:48 +0300
Subject: [PATCH] Implement show EULA before installation
---
data/anaconda.conf | 4 +-
pyanaconda/core/configuration/license.py | 2 -
pyanaconda/core/eula.py | 23 ++++
pyanaconda/ui/categories/eula.py | 14 +++
pyanaconda/ui/gui/spokes/eula.glade | 136 +++++++++++++++++++++++
pyanaconda/ui/gui/spokes/eula.py | 107 ++++++++++++++++++
pyanaconda/ui/tui/spokes/eula.py | 128 +++++++++++++++++++++
7 files changed, 409 insertions(+), 5 deletions(-)
create mode 100644 pyanaconda/core/eula.py
create mode 100644 pyanaconda/ui/categories/eula.py
create mode 100644 pyanaconda/ui/gui/spokes/eula.glade
create mode 100644 pyanaconda/ui/gui/spokes/eula.py
create mode 100644 pyanaconda/ui/tui/spokes/eula.py
diff --git a/data/anaconda.conf b/data/anaconda.conf
index b5878e3..c15e99d 100644
--- a/data/anaconda.conf
+++ b/data/anaconda.conf
@@ -308,9 +308,7 @@ password_policies =
# If the given distribution has an EULA & feels the need to
# tell the user about it fill in this variable by a path
# pointing to a file with the EULA on the installed system.
-#
-# This is currently used just to show the path to the file to
-# the user at the end of the installation.
+
eula =
diff --git a/pyanaconda/core/configuration/license.py b/pyanaconda/core/configuration/license.py
index 04c44bf..a51f52a 100644
--- a/pyanaconda/core/configuration/license.py
+++ b/pyanaconda/core/configuration/license.py
@@ -31,7 +31,5 @@ class LicenseSection(Section):
tell the user about it fill in this variable by a path
pointing to a file with the EULA on the installed system.
- This is currently used just to show the path to the file to
- the user at the end of the installation.
"""
return self._get_option("eula", str)
diff --git a/pyanaconda/core/eula.py b/pyanaconda/core/eula.py
new file mode 100644
index 0000000..15a393e
--- /dev/null
+++ b/pyanaconda/core/eula.py
@@ -0,0 +1,23 @@
+import os
+from pyanaconda.core.configuration.anaconda import conf
+
+def get_license_file_name():
+ """Get filename of the license file best matching current localization settings.
+ :return: filename of the license file or None if no license file found
+ :rtype: str or None
+ """
+ if not conf.license.eula:
+ return None
+
+ if not os.path.exists(conf.license.eula):
+ return None
+
+ return conf.license.eula
+
+
+def eula_available():
+ """Report if it looks like there is an EULA available on the system.
+ :return: True if an EULA seems to be available, False otherwise
+ :rtype: bool
+ """
+ return bool(get_license_file_name())
diff --git a/pyanaconda/ui/categories/eula.py b/pyanaconda/ui/categories/eula.py
new file mode 100644
index 0000000..0a4fe96
--- /dev/null
+++ b/pyanaconda/ui/categories/eula.py
@@ -0,0 +1,14 @@
+from pyanaconda.ui.categories import SpokeCategory
+from pyanaconda.core.i18n import _
+
+__all__ = ["LicensingCategory"]
+
+class LicensingCategory(SpokeCategory):
+
+ @staticmethod
+ def get_title():
+ return _("LICENSING")
+
+ @staticmethod
+ def get_sort_order():
+ return 900
diff --git a/pyanaconda/ui/gui/spokes/eula.glade b/pyanaconda/ui/gui/spokes/eula.glade
new file mode 100644
index 0000000..1d340f0
--- /dev/null
+++ b/pyanaconda/ui/gui/spokes/eula.glade
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.6 -->
+ <!-- interface-requires AnacondaWidgets 1.0 -->
+ <object class="GtkTextBuffer" id="eulaBuffer">
+ <property name="text">The license will go here</property>
+ </object>
+ <object class="AnacondaSpokeWindow" id="eulaWindow">
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="window_name" translatable="yes">License Information</property>
+ <signal name="button-clicked" handler="on_back_clicked" swapped="no"/>
+ <child internal-child="main_box">
+ <object class="GtkBox" id="AnacondaSpokeWindow-main_box1">
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <child internal-child="nav_box">
+ <object class="GtkEventBox" id="AnacondaSpokeWindow-nav_box1">
+ <property name="can_focus">False</property>
+ <child internal-child="nav_area">
+ <object class="GtkGrid" id="AnacondaSpokeWindow-nav_area1">
+ <property name="can_focus">False</property>
+ <property name="margin_left">6</property>
+ <property name="margin_right">6</property>
+ <property name="margin_top">6</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child internal-child="alignment">
+ <object class="GtkAlignment" id="AnacondaSpokeWindow-alignment1">
+ <property name="can_focus">False</property>
+ <property name="xscale">0.8</property>
+ <property name="yscale">0.8</property>
+ <child internal-child="action_area">
+ <object class="GtkBox" id="mainBox">
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkLabel" id="licenseAgreementLabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="halign">start</property>
+ <property name="margin_top">24</property>
+ <property name="margin_bottom">6</property>
+ <property name="label" translatable="yes">License Agreement:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox" id="eulaBox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkScrolledWindow" id="eulaScrolledWindow">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkTextView" id="eulaView">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="margin_bottom">18</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="vscroll_policy">natural</property>
+ <property name="pixels_above_lines">12</property>
+ <property name="editable">False</property>
+ <property name="wrap_mode">word</property>
+ <property name="left_margin">12</property>
+ <property name="right_margin">12</property>
+ <property name="cursor_visible">False</property>
+ <property name="buffer">eulaBuffer</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="agreeCheckButton">
+ <property name="label" translatable="yes">I _accept the license agreement</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_check_button_toggled" swapped="no"/>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
diff --git a/pyanaconda/ui/gui/spokes/eula.py b/pyanaconda/ui/gui/spokes/eula.py
new file mode 100644
index 0000000..a487c6b
--- /dev/null
+++ b/pyanaconda/ui/gui/spokes/eula.py
@@ -0,0 +1,107 @@
+import logging
+
+from pyanaconda.ui.common import FirstbootOnlySpokeMixIn
+from pyanaconda.ui.gui.spokes import NormalSpoke
+from pyanaconda.core.i18n import _, CN_
+from pyanaconda.core import eula
+from pyanaconda.ui.categories.eula import LicensingCategory
+from pyanaconda.anaconda_loggers import get_module_logger
+from pykickstart.constants import FIRSTBOOT_RECONFIG
+
+log = get_module_logger(__name__)
+__all__ = ["EULASpoke"]
+
+
+class EULASpoke(FirstbootOnlySpokeMixIn, NormalSpoke):
+ """The EULA spoke"""
+
+ builderObjects = ["eulaBuffer", "eulaWindow"]
+ mainWidgetName = "eulaWindow"
+ uiFile = "spokes/eula.glade"
+ icon = "application-certificate-symbolic"
+ title = CN_("GUI|Spoke", "_License Information")
+ category = LicensingCategory
+
+ @staticmethod
+ def get_screen_id():
+ """Return a unique id of this UI screen."""
+ return "license-information"
+
+ def initialize(self):
+ log.debug("initializing the EULA spoke")
+ NormalSpoke.initialize(self)
+
+ self._have_eula = True
+ self._eula_buffer = self.builder.get_object("eulaBuffer")
+ self._agree_check_button = self.builder.get_object("agreeCheckButton")
+ self._agree_label = self._agree_check_button.get_child()
+ self._agree_text = self._agree_label.get_text()
+
+ log.debug("looking for the license file")
+ license_file = eula.get_license_file_name()
+ if not license_file:
+ log.error("no license found")
+ self._have_eula = False
+ self._eula_buffer.set_text(_("No license found"))
+ return
+
+ # if there is "eula <...>" in kickstart, use its value
+ if self.data.eula.agreed is not None:
+ self._agree_check_button.set_active(self.data.eula.agreed)
+
+ self._eula_buffer.set_text("")
+ itr = self._eula_buffer.get_iter_at_offset(0)
+ log.debug("opening the license file")
+ with open(license_file, "r") as fobj:
+ # insert the first line without prefixing with space
+ try:
+ first_line = next(fobj)
+ except StopIteration:
+ # nothing in the file
+ return
+ self._eula_buffer.insert(itr, first_line.strip())
+
+ # EULA file may be preformatted for the console, we want to let Gtk
+ # format it (blank lines should be preserved)
+ for line in fobj:
+ stripped_line = line.strip()
+ if stripped_line:
+ self._eula_buffer.insert(itr, " " + stripped_line)
+ else:
+ self._eula_buffer.insert(itr, "\n\n")
+
+ def refresh(self):
+ self._agree_check_button.set_sensitive(self._have_eula)
+ self._agree_check_button.set_active(self.data.eula.agreed)
+
+ def apply(self):
+ self.data.eula.agreed = self._agree_check_button.get_active()
+
+ @property
+ def completed(self):
+ return not self._have_eula or self.data.eula.agreed
+
+ @property
+ def status(self):
+ if not self._have_eula:
+ return _("No license found")
+
+ return _("License accepted") if self.data.eula.agreed else _("License not accepted")
+
+ @classmethod
+ def should_run(cls, environment, data):
+ if eula.eula_available():
+ # don't run if we are in initial-setup in reconfig mode and the EULA has already been accepted
+ if FirstbootOnlySpokeMixIn.should_run(environment, data) and data and data.firstboot.firstboot == FIRSTBOOT_RECONFIG and data.eula.agreed:
+ log.debug("not running license spoke: reconfig mode & license already accepted")
+ return False
+ return True
+ return False
+
+ def on_check_button_toggled(self, *args):
+ if self._agree_check_button.get_active():
+ log.debug("license is now accepted")
+ self._agree_label.set_markup("<b>%s</b>" % self._agree_text)
+ else:
+ log.debug("license no longer accepted")
+ self._agree_label.set_markup(self._agree_text)
diff --git a/pyanaconda/ui/tui/spokes/eula.py b/pyanaconda/ui/tui/spokes/eula.py
new file mode 100644
index 0000000..a3e8e62
--- /dev/null
+++ b/pyanaconda/ui/tui/spokes/eula.py
@@ -0,0 +1,128 @@
+import logging
+
+from pyanaconda.ui.tui.spokes import NormalTUISpoke
+from simpleline.render.widgets import TextWidget, CheckboxWidget
+from simpleline.render.containers import ListRowContainer
+from simpleline.render.screen import UIScreen, InputState
+from simpleline.render.screen_handler import ScreenHandler
+from pyanaconda.ui.common import FirstbootOnlySpokeMixIn
+from pyanaconda.core import eula
+from pyanaconda.ui.categories.eula import LicensingCategory
+from pyanaconda.core.i18n import _, N_
+from pykickstart.constants import FIRSTBOOT_RECONFIG
+
+log = logging.getLogger("initial-setup")
+
+__all__ = ["EULASpoke"]
+
+
+class EULASpoke(FirstbootOnlySpokeMixIn, NormalTUISpoke):
+ """The EULA spoke providing ways to read the license and agree/disagree with it."""
+
+ category = LicensingCategory
+
+ @staticmethod
+ def get_screen_id():
+ """Return a unique id of this UI screen."""
+ return "license-information"
+
+ def __init__(self, *args, **kwargs):
+ NormalTUISpoke.__init__(self, *args, **kwargs)
+ self.title = _("License information")
+ self._container = None
+
+ def initialize(self):
+ NormalTUISpoke.initialize(self)
+
+ def refresh(self, args=None):
+ NormalTUISpoke.refresh(self, args)
+
+ self._container = ListRowContainer(1)
+
+ log.debug("license found")
+ # make the options aligned to the same column (the checkbox has the
+ # '[ ]' prepended)
+ self._container.add(TextWidget("%s\n" % _("Read the License Agreement")),
+ self._show_license_screen_callback)
+
+ self._container.add(CheckboxWidget(title=_("I accept the license agreement"),
+ completed=self.data.eula.agreed),
+ self._license_accepted_callback)
+ self.window.add_with_separator(self._container)
+
+ @property
+ def completed(self):
+ # Either there is no EULA available, or user agrees/disagrees with it.
+ return self.data.eula.agreed
+
+ @property
+ def mandatory(self):
+ # This spoke is always mandatory.
+ return True
+
+ @property
+ def status(self):
+ return _("License accepted") if self.data.eula.agreed else _("License not accepted")
+
+ @classmethod
+ def should_run(cls, environment, data):
+ if eula.eula_available():
+ # don't run if we are in initial-setup in reconfig mode and the EULA has already been accepted
+ if FirstbootOnlySpokeMixIn.should_run(environment, data) and data and data.firstboot.firstboot == FIRSTBOOT_RECONFIG and data.eula.agreed:
+ log.debug("not running license spoke: reconfig mode & license already accepted")
+ return False
+ return True
+ return False
+
+ def apply(self):
+ # nothing needed here, the agreed field is changed in the input method
+ pass
+
+ def input(self, args, key):
+ if not self._container.process_user_input(key):
+ return key
+
+ return InputState.PROCESSED
+
+ @staticmethod
+ def _show_license_screen_callback(data):
+ # show license
+ log.debug("showing the license")
+ eula_screen = LicenseScreen()
+ ScreenHandler.push_screen(eula_screen)
+
+ def _license_accepted_callback(self, data):
+ # toggle EULA agreed checkbox by changing ksdata
+ log.debug("license accepted state changed to: %s", self.data.eula.agreed)
+ self.data.eula.agreed = not self.data.eula.agreed
+ self.redraw()
+
+
+class LicenseScreen(UIScreen):
+ """Screen showing the License without any input from user requested."""
+
+ def __init__(self):
+ super().__init__()
+
+ self._license_file = eula.get_license_file_name()
+
+ def refresh(self, args=None):
+ super().refresh(args)
+
+ # read the license file and make it one long string so that it can be
+ # processed by the TextWidget to fit in the screen in a best possible
+ # way
+ log.debug("reading the license file")
+ with open(self._license_file, 'r') as f:
+ license_text = f.read()
+
+ self.window.add_with_separator(TextWidget(license_text))
+
+ def input(self, args, key):
+ """ Handle user input. """
+ return InputState.PROCESSED_AND_CLOSE
+
+ def prompt(self, args=None):
+ # we don't want to prompt user, just close the screen
+ self.close()
+ return None
--
2.39.2

File diff suppressed because it is too large Load Diff

@ -1,7 +1,7 @@
Summary: Graphical system installer Summary: Graphical system installer
Name: anaconda Name: anaconda
Version: 34.25.4.9 Version: 34.25.3.8
Release: 1%{?dist}.inferit.2 Release: 1%{?dist}.inferit.11
License: GPLv2+ and MIT License: GPLv2+ and MIT
URL: http://fedoraproject.org/wiki/Anaconda URL: http://fedoraproject.org/wiki/Anaconda
@ -11,8 +11,6 @@ URL: http://fedoraproject.org/wiki/Anaconda
# ./autogen.sh # ./autogen.sh
# make dist # make dist
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
# I am tired because of the strange changes in translations
Source1: russian-34.25.4.7.po
# MSVSphere patches # MSVSphere patches
Patch1001: 0001-Disable-subscription.patch Patch1001: 0001-Disable-subscription.patch
@ -30,8 +28,6 @@ Patch1012: 0012-Enable-administrator-by-default.patch
Patch1013: 0013-Fix-smt-url.patch Patch1013: 0013-Fix-smt-url.patch
Patch1014: 0014-Make-branding-free-Russian-translation.patch Patch1014: 0014-Make-branding-free-Russian-translation.patch
Patch1015: 0015-Disable-sphere-url.patch Patch1015: 0015-Disable-sphere-url.patch
Patch1016: 0016-Set-LatGrkCyr-8x16-as-default-font-instead-of-eurlat.patch
Patch1017: 0017-Implement-show-EULA-before-installation.patch
# Versions of required components (done so we make sure the buildrequires # Versions of required components (done so we make sure the buildrequires
# match the requires versions of things). # match the requires versions of things).
@ -56,14 +52,13 @@ Patch1017: 0017-Implement-show-EULA-before-installation.patch
%define libxklavierver 5.4 %define libxklavierver 5.4
%define mehver 0.23-1 %define mehver 0.23-1
%define nmver 1.0 %define nmver 1.0
%define pykickstartver 3.32.11-1 %define pykickstartver 3.32.10-1
%define pypartedver 2.5-2 %define pypartedver 2.5-2
%define pythonblivetver 1:3.6.0-13 %define pythonblivetver 1:3.6.0-4
%define rpmver 4.10.0 %define rpmver 4.10.0
%define simplelinever 1.8.3-1 %define simplelinever 1.8.3-1
%define subscriptionmanagerver 1.29.31 %define subscriptionmanagerver 1.29.31
%define utillinuxver 2.15.1 %define utillinuxver 2.15.1
%define rpmostreever 2023.2
BuildRequires: audit-libs-devel BuildRequires: audit-libs-devel
BuildRequires: libtool BuildRequires: libtool
@ -122,11 +117,6 @@ Requires: python3-systemd
Requires: python3-productmd Requires: python3-productmd
Requires: python3-dasbus >= %{dasbusver} Requires: python3-dasbus >= %{dasbusver}
Requires: flatpak-libs Requires: flatpak-libs
# dependencies for rpm-ostree payload module
Requires: rpm-ostree >= %{rpmostreever}
Requires: ostree
# used by ostree command for native containers
Requires: skopeo
%if %{defined rhel} && %{undefined centos} %if %{defined rhel} && %{undefined centos}
Requires: subscription-manager >= %{subscriptionmanagerver} Requires: subscription-manager >= %{subscriptionmanagerver}
%endif %endif
@ -326,9 +316,8 @@ options. This includes driver disks, kickstarts, and finding the anaconda
runtime on NFS/HTTP/FTP servers or local disks. runtime on NFS/HTTP/FTP servers or local disks.
%prep %prep
%setup -q %autosetup -p 1
cp %{SOURCE1} po/ru.po
%autopatch -p 1
# de-branding # de-branding
sed -e 's/RHEL/MSVSphere/g' -i po/*.po sed -e 's/RHEL/MSVSphere/g' -i po/*.po
sed -e 's/Fedora/MSVSphere/g' -i po/*.po sed -e 's/Fedora/MSVSphere/g' -i po/*.po
@ -442,107 +431,56 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{buildroot}%{_d
%{_prefix}/libexec/anaconda/dd_* %{_prefix}/libexec/anaconda/dd_*
%changelog %changelog
* Thu Sep 26 2024 Dmitry Samoylik <Dmitriy.Samoylik@softline.com> - 34.25.4.9-1.inferit.2 * Mon Dec 25 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.3.8-1.inferit.11
- Implement show EULA before installation - Disable sphere url
* Mon Aug 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.4.9-1.inferit.1 * Tue Nov 14 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.3.8-1.inferit.10
- Set LatGrkCyr-8x16 as default font instead of eurlatgr - Fix smt translation
* Wed May 01 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.4.9-1.inferit * Tue Nov 7 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.3.8-1.inferit.9
- Apply all MSVSphere patches for Debranding and Location - Change smt url
* Wed Apr 03 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.4.9-1.inferit * Tue Nov 7 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.3.8-1.inferit.8
- Apply all MSVSphere patches for Debranding and Location - Fix translation on final screen
* Thu Mar 14 2024 Radek Vykydal <rvykydal@redhat.com> - 34.25.4.9-1 * Sat Nov 4 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.3.8-1.inferit.7
- Do not initialize kernel features in init (jkonecny) - Update Russian translation
Resolves: RHEL-27076
* Fri Nov 3 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.3.8-1.inferit.6
* Mon Mar 04 2024 Radek Vykydal <rvykydal@redhat.com> - 34.25.4.8-1 - Apply Transaltion changes
- Update translations
Resolves: RHEL-24945 * Tue Oct 24 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 34.25.3.8-1.inferit.5
- Updated Russian translation for checkbox label "Encrypt my data"
* Fri Feb 16 2024 Jiri Konecny <jkonecny@redhat.com> - 34.25.4.7-1
- Lower log file permission in /tmp (jkonecny) * Mon Oct 23 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.3.8-1.inferit.4
Resolves: RHEL-23345 - Fix Russian Translation
- Add utility function to set file mode (jkonecny)
Related: RHEL-23345 * Mon Oct 23 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.3.8-1.inferit.3
- Update Russian translation
* Wed Feb 07 2024 Martin Kolman <mkolman@redhat.com> - 34.25.4.6-1
- Disable bug reporting to Bugzilla from anaconda (kkoukiou) * Mon Oct 23 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 34.25.3.8-1.inferit.2
Resolves: RHEL-24419 - Fixed MSVSphere de-branding and identity support errors.
- Fixed file-write operation to a public directory (ataf) - Rebuilt for MSVSphere 8.8
Resolves: RHEL-23345
* Sun Oct 22 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 34.25.3.8-1.inferit.1
* Thu Feb 01 2024 Martin Kolman <mkolman@redhat.com> - 34.25.4.5-1 - Drop R: libreport-rhel-anaconda-bugzilla
- bootupd: Use --write-uuid (walters)
Related: RHEL-17205 * Wed Oct 04 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 34.25.3.8-1.inferit
- bootloader: Detect bootupd and skip regular install (vslavik) - Fix translations
Related: RHEL-17205 - Fix smt url
- ostree: Use bootupd if installed by payload (vslavik) - Added MSVSphere ARM and Server identification support patch
Resolves: RHEL-17205 - Added Server repository support
- bootloader: Create an installation task for collecting kernel arguments - Replace Fedora with MSVSphere in po translations
(vponcova) - Set English as fallback language for anaconda help
Related: RHEL-17205 - Set Russian as default language for new regions
- bootloader: Add the collect_arguments method (vponcova) - Set default language to ru_RU.UTF-8
Related: RHEL-17205 - Set default time zone to Europe/Moscow
- bootloader: Remove the install_boot_loader function (vponcova) - Added MSVSphere product config
Related: RHEL-17205 - Added Minimal repository support
- Apply the bootloader options before the installation (vponcova) - Adjusted installer background colors
Related: RHEL-17205 - Hide CDN button
- Disabled RHEL subscription
* Mon Jan 29 2024 Martin Kolman <mkolman@redhat.com> - 34.25.4.4-1 - Rebuilt for MSVSphere 9.3
- rpm-ostree: Setup readonly sysroot for ostree & rw karg (tim)
Related: RHEL-2250
* Wed Jan 24 2024 Martin Kolman <mkolman@redhat.com> - 34.25.4.3-1
- Fix missing emit of zfcp kickstart statements (maier)
Related: RHEL-11384
- DeviceTreeViewer: Add path-id attribute to zfcp-attached SCSI disks (maier)
Related: RHEL-11384
- Fix missing WWID values for multipath devices in advanced storage UI
(#2046654) (maier)
Resolves: RHEL-11384
- rescue: Don't allow to mount systems without a root device (vponcova)
Resolves: RHEL-14696
- Do not crash on default None values of ostreecontainer command (rvykydal)
Related: RHEL-2250
- Fix wrong dracut timeout message (jkonecny)
Resolves: RHEL-5638
- Move rpm-ostree deps from Lorax to Anaconda (#2125655) (jkonecny)
Related: RHEL-2250
- Implement needs_network for rpm_ostree_container (#2125655) (jkonecny)
Related: RHEL-2250
- Add tests for RPM Ostree payload with source from container (#2125655)
(rvykydal)
Related: RHEL-2250
- Enable RPM OSTree from container source in payload (#2125655) (rvykydal)
Resolves: RHEL-2250
- Add RPM OSTree source from container (#2125655) (rvykydal)
Related: RHEL-2250
* Tue Jan 09 2024 Martin Kolman <mkolman@redhat.com> - 34.25.4.2-1
- tests: Add a test case for the NVMe module (vtrefny)
Resolves: RHEL-11543
Resolves: RHEL-11544
- Add a simple NVMe module for NVMe Fabrics support (vtrefny)
Resolves: RHEL-11543
Resolves: RHEL-11544
- network: ignore BOOTIF connections when creating device configurations
(rvykydal)
Resolves: RHEL-4766
- network: ignore BOOTIF connections when looking for initramfs bond ports
(rvykydal)
Resolves: RHEL-4766
* Thu Dec 07 2023 Jiri Konecny <jkonecny@redhat.com> - 34.25.4.1-1
- Fix versioning on RHEL 9.4 (jkonecny)
* Wed Dec 06 2023 Jiri Konecny <jkonecny@redhat.com> - 34.25.3.9-1
- timezone: for kickstart allow also timezones not offered by GUI (rvykydal)
Resolves: jira#RHEL-13150
- Rename Organization to Organization ID on subscription screen (mkolman)
Resolves: jira#RHEL-11167
* Wed Aug 09 2023 Jiri Konecny <jkonecny@redhat.com> - 34.25.3.8-1 * Wed Aug 09 2023 Jiri Konecny <jkonecny@redhat.com> - 34.25.3.8-1
- iscsi: Allow changing iSCSI initiator name once set (vtrefny) - iscsi: Allow changing iSCSI initiator name once set (vtrefny)

Loading…
Cancel
Save