d-installer 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +29 -0
- data/Gemfile.lock +75 -0
- data/bin/d-installer +74 -0
- data/etc/d-installer.yaml +284 -0
- data/lib/dinstaller/can_ask_question.rb +48 -0
- data/lib/dinstaller/cmdline_args.rb +80 -0
- data/lib/dinstaller/cockpit_manager.rb +176 -0
- data/lib/dinstaller/config.rb +128 -0
- data/lib/dinstaller/config_reader.rb +164 -0
- data/lib/dinstaller/dbus/base_object.rb +58 -0
- data/lib/dinstaller/dbus/clients/base.rb +71 -0
- data/lib/dinstaller/dbus/clients/language.rb +86 -0
- data/lib/dinstaller/dbus/clients/manager.rb +76 -0
- data/lib/dinstaller/dbus/clients/software.rb +185 -0
- data/lib/dinstaller/dbus/clients/users.rb +112 -0
- data/lib/dinstaller/dbus/clients/with_progress.rb +56 -0
- data/lib/dinstaller/dbus/clients/with_service_status.rb +75 -0
- data/lib/dinstaller/dbus/clients.rb +34 -0
- data/lib/dinstaller/dbus/interfaces/progress.rb +113 -0
- data/lib/dinstaller/dbus/interfaces/service_status.rb +89 -0
- data/lib/dinstaller/dbus/language.rb +93 -0
- data/lib/dinstaller/dbus/language_service.rb +92 -0
- data/lib/dinstaller/dbus/manager.rb +147 -0
- data/lib/dinstaller/dbus/manager_service.rb +132 -0
- data/lib/dinstaller/dbus/question.rb +176 -0
- data/lib/dinstaller/dbus/questions.rb +124 -0
- data/lib/dinstaller/dbus/service_runner.rb +97 -0
- data/lib/dinstaller/dbus/service_status.rb +87 -0
- data/lib/dinstaller/dbus/software/manager.rb +131 -0
- data/lib/dinstaller/dbus/software/proposal.rb +82 -0
- data/lib/dinstaller/dbus/software.rb +31 -0
- data/lib/dinstaller/dbus/software_service.rb +86 -0
- data/lib/dinstaller/dbus/storage/proposal.rb +170 -0
- data/lib/dinstaller/dbus/storage.rb +30 -0
- data/lib/dinstaller/dbus/users.rb +132 -0
- data/lib/dinstaller/dbus/users_service.rb +92 -0
- data/lib/dinstaller/dbus/with_service_status.rb +48 -0
- data/lib/dinstaller/dbus/y2dir/manager/modules/Package.rb +51 -0
- data/lib/dinstaller/dbus/y2dir/manager/modules/PackagesProposal.rb +62 -0
- data/lib/dinstaller/dbus/y2dir/modules/Autologin.rb +214 -0
- data/lib/dinstaller/dbus/y2dir/software/modules/SpaceCalculation.rb +44 -0
- data/lib/dinstaller/dbus.rb +11 -0
- data/lib/dinstaller/errors.rb +28 -0
- data/lib/dinstaller/installation_phase.rb +106 -0
- data/lib/dinstaller/language.rb +73 -0
- data/lib/dinstaller/luks_activation_question.rb +92 -0
- data/lib/dinstaller/manager.rb +261 -0
- data/lib/dinstaller/network.rb +53 -0
- data/lib/dinstaller/package_callbacks.rb +69 -0
- data/lib/dinstaller/progress.rb +149 -0
- data/lib/dinstaller/question.rb +103 -0
- data/lib/dinstaller/questions_manager.rb +145 -0
- data/lib/dinstaller/security.rb +96 -0
- data/lib/dinstaller/service_status_recorder.rb +58 -0
- data/lib/dinstaller/software.rb +232 -0
- data/lib/dinstaller/storage/actions.rb +90 -0
- data/lib/dinstaller/storage/callbacks/activate.rb +93 -0
- data/lib/dinstaller/storage/callbacks/activate_luks.rb +93 -0
- data/lib/dinstaller/storage/callbacks/activate_multipath.rb +77 -0
- data/lib/dinstaller/storage/callbacks.rb +30 -0
- data/lib/dinstaller/storage/manager.rb +104 -0
- data/lib/dinstaller/storage/proposal.rb +197 -0
- data/lib/dinstaller/storage.rb +30 -0
- data/lib/dinstaller/users.rb +156 -0
- data/lib/dinstaller/with_progress.rb +63 -0
- data/lib/dinstaller.rb +5 -0
- data/share/dbus.conf +38 -0
- data/share/dbus.service +5 -0
- data/share/systemd.service +14 -0
- metadata +295 -0
@@ -0,0 +1,156 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) [2022] SUSE LLC
|
4
|
+
#
|
5
|
+
# All Rights Reserved.
|
6
|
+
#
|
7
|
+
# This program is free software; you can redistribute it and/or modify it
|
8
|
+
# under the terms of version 2 of the GNU General Public License as published
|
9
|
+
# by the Free Software Foundation.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful, but WITHOUT
|
12
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
13
|
+
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
14
|
+
# more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License along
|
17
|
+
# with this program; if not, contact SUSE LLC.
|
18
|
+
#
|
19
|
+
# To contact SUSE LLC about this file by physical or electronic mail, you may
|
20
|
+
# find current contact information at www.suse.com.
|
21
|
+
|
22
|
+
require "yast"
|
23
|
+
require "y2users"
|
24
|
+
require "y2users/linux" # FIXME: linux is not in y2users file
|
25
|
+
require "yast2/execute"
|
26
|
+
|
27
|
+
module DInstaller
|
28
|
+
# Backend class using YaST code.
|
29
|
+
#
|
30
|
+
# {DInstaller::DBus::Users} wraps it with a D-Bus interface and
|
31
|
+
# {DInstaller::DBus::Clients::Users} is a D-Bus client for that.
|
32
|
+
class Users
|
33
|
+
def initialize(logger)
|
34
|
+
@logger = logger
|
35
|
+
end
|
36
|
+
|
37
|
+
def root_ssh_key
|
38
|
+
root_user.authorized_keys.first || ""
|
39
|
+
end
|
40
|
+
|
41
|
+
def root_ssh_key=(value)
|
42
|
+
root_user.authorized_keys = [value] # just one supported for now
|
43
|
+
end
|
44
|
+
|
45
|
+
def root_password?
|
46
|
+
!!root_user.password_content
|
47
|
+
end
|
48
|
+
|
49
|
+
def assign_root_password(value, encrypted)
|
50
|
+
pwd = if encrypted
|
51
|
+
Y2Users::Password.create_encrypted(value)
|
52
|
+
else
|
53
|
+
Y2Users::Password.create_plain(value)
|
54
|
+
end
|
55
|
+
|
56
|
+
root_user.password = value.empty? ? nil : pwd
|
57
|
+
end
|
58
|
+
|
59
|
+
def first_user
|
60
|
+
user = config.users.reject(&:root?).first
|
61
|
+
|
62
|
+
return ["", "", false, {}] unless user
|
63
|
+
|
64
|
+
# TODO: not sure if backend should return structure of dbus?
|
65
|
+
[user.full_name, user.name, config.login.autologin_user == user, {}]
|
66
|
+
end
|
67
|
+
|
68
|
+
# Clears the root password
|
69
|
+
def remove_root_password
|
70
|
+
root_user.password = nil
|
71
|
+
end
|
72
|
+
|
73
|
+
def assign_first_user(full_name, user_name, password, auto_login, _data)
|
74
|
+
remove_first_user
|
75
|
+
|
76
|
+
user = Y2Users::User.new(user_name)
|
77
|
+
user.gecos = [full_name]
|
78
|
+
user.password = Y2Users::Password.create_plain(password)
|
79
|
+
config.attach(user)
|
80
|
+
config.login ||= Y2Users::LoginConfig.new
|
81
|
+
config.login.autologin_user = auto_login ? user : nil
|
82
|
+
end
|
83
|
+
|
84
|
+
# Removes the first user
|
85
|
+
def remove_first_user
|
86
|
+
old_users = config.users.reject(&:root?)
|
87
|
+
config.detach(old_users) unless old_users.empty?
|
88
|
+
end
|
89
|
+
|
90
|
+
def write
|
91
|
+
without_run_mount do
|
92
|
+
on_target do
|
93
|
+
system_config = Y2Users::ConfigManager.instance.system(force_read: true)
|
94
|
+
target_config = system_config.copy
|
95
|
+
Y2Users::ConfigMerger.new(target_config, config).merge
|
96
|
+
|
97
|
+
writer = Y2Users::Linux::Writer.new(target_config, system_config)
|
98
|
+
issues = writer.write
|
99
|
+
logger.error(issues.inspect) unless issues.empty?
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
private
|
105
|
+
|
106
|
+
attr_reader :logger
|
107
|
+
|
108
|
+
def without_run_mount(&block)
|
109
|
+
Yast::Execute.locally!("/usr/bin/umount", "/mnt/run")
|
110
|
+
block.call
|
111
|
+
ensure
|
112
|
+
Yast::Execute.locally!("/usr/bin/mount", "-o", "bind", "/run", "/mnt/run")
|
113
|
+
end
|
114
|
+
|
115
|
+
# Run a block in the target system
|
116
|
+
# TODO: it is C&P from manager.rb. Maybe mixin as each process need to switch target?
|
117
|
+
def on_target(&block)
|
118
|
+
old_handle = Yast::WFM.SCRGetDefault
|
119
|
+
# chroot directly to /mnt instead of Installation.destdir to avoid unnecessary deps
|
120
|
+
handle = Yast::WFM.SCROpen("chroot=/mnt:scr", false)
|
121
|
+
Yast::WFM.SCRSetDefault(handle)
|
122
|
+
|
123
|
+
begin
|
124
|
+
block.call
|
125
|
+
rescue StandardError => e
|
126
|
+
logger.error "Error while running on target tasks: #{e.inspect}"
|
127
|
+
ensure
|
128
|
+
Yast::WFM.SCRSetDefault(old_handle)
|
129
|
+
Yast::WFM.SCRClose(handle)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
def config
|
134
|
+
return @config if @config
|
135
|
+
|
136
|
+
@config = Y2Users::ConfigManager.instance.target
|
137
|
+
if !@config
|
138
|
+
@config = Y2Users::Config.new
|
139
|
+
Y2Users::ConfigManager.instance.target = @config
|
140
|
+
end
|
141
|
+
|
142
|
+
@config
|
143
|
+
end
|
144
|
+
|
145
|
+
def root_user
|
146
|
+
return @root_user if @root_user
|
147
|
+
|
148
|
+
@root_user = config.users.root
|
149
|
+
return @root_user if @root_user
|
150
|
+
|
151
|
+
@root_user = Y2Users::User.create_root
|
152
|
+
config.attach(@root_user)
|
153
|
+
@root_user
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) [2022] SUSE LLC
|
4
|
+
#
|
5
|
+
# All Rights Reserved.
|
6
|
+
#
|
7
|
+
# This program is free software; you can redistribute it and/or modify it
|
8
|
+
# under the terms of version 2 of the GNU General Public License as published
|
9
|
+
# by the Free Software Foundation.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful, but WITHOUT
|
12
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
13
|
+
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
14
|
+
# more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License along
|
17
|
+
# with this program; if not, contact SUSE LLC.
|
18
|
+
#
|
19
|
+
# To contact SUSE LLC about this file by physical or electronic mail, you may
|
20
|
+
# find current contact information at www.suse.com.
|
21
|
+
|
22
|
+
require "dinstaller/progress"
|
23
|
+
|
24
|
+
module DInstaller
|
25
|
+
# Mixin that allows to start a progress and configure callbacks
|
26
|
+
module WithProgress
|
27
|
+
# @return [Progress, nil]
|
28
|
+
attr_reader :progress
|
29
|
+
|
30
|
+
# Creates a new progress
|
31
|
+
#
|
32
|
+
# @raise [RuntimeError] if there is an unfinished progress.
|
33
|
+
#
|
34
|
+
# @param total_steps [Integer] total number of the steps for the progress.
|
35
|
+
def start_progress(total_steps)
|
36
|
+
raise "There already is an unfinished progress" if progress && !progress.finished?
|
37
|
+
|
38
|
+
on_change_callbacks = @on_progress_change_callbacks || []
|
39
|
+
on_finish_callbacks = @on_progress_finish_callbacks || []
|
40
|
+
|
41
|
+
@progress = Progress.new(total_steps).tap do |progress|
|
42
|
+
progress.on_change { on_change_callbacks.each(&:call) }
|
43
|
+
progress.on_finish { on_finish_callbacks.each(&:call) }
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# Registers an on_change callback to be added to the progress
|
48
|
+
#
|
49
|
+
# @param block [Proc]
|
50
|
+
def on_progress_change(&block)
|
51
|
+
@on_progress_change_callbacks ||= []
|
52
|
+
@on_progress_change_callbacks << block
|
53
|
+
end
|
54
|
+
|
55
|
+
# Registers an on_finish callback to be added to the progress
|
56
|
+
#
|
57
|
+
# @param block [Proc]
|
58
|
+
def on_progress_finish(&block)
|
59
|
+
@on_progress_finish_callbacks ||= []
|
60
|
+
@on_progress_finish_callbacks << block
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
data/lib/dinstaller.rb
ADDED
data/share/dbus.conf
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE busconfig PUBLIC
|
2
|
+
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
3
|
+
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
4
|
+
|
5
|
+
<busconfig>
|
6
|
+
<policy user="root">
|
7
|
+
<allow own="org.opensuse.DInstaller" />
|
8
|
+
<allow own="org.opensuse.DInstaller.Language" />
|
9
|
+
<allow own="org.opensuse.DInstaller.Software" />
|
10
|
+
<allow own="org.opensuse.DInstaller.Users" />
|
11
|
+
</policy>
|
12
|
+
|
13
|
+
<policy context="default">
|
14
|
+
<allow send_destination="org.opensuse.DInstaller" />
|
15
|
+
<allow send_destination="org.opensuse.DInstaller"
|
16
|
+
send_interface="org.freedesktop.DBus.Introspectable"/>
|
17
|
+
<allow send_destination="org.opensuse.DInstaller" />
|
18
|
+
<allow receive_sender="org.opensuse.DInstaller" />
|
19
|
+
|
20
|
+
<allow send_destination="org.opensuse.DInstaller.Language" />
|
21
|
+
<allow send_destination="org.opensuse.DInstaller.Language"
|
22
|
+
send_interface="org.freedesktop.DBus.Introspectable"/>
|
23
|
+
<allow send_destination="org.opensuse.DInstaller.Language" />
|
24
|
+
<allow receive_sender="org.opensuse.DInstaller.Language" />
|
25
|
+
|
26
|
+
<allow send_destination="org.opensuse.DInstaller.Software" />
|
27
|
+
<allow send_destination="org.opensuse.DInstaller.Software"
|
28
|
+
send_interface="org.freedesktop.DBus.Introspectable"/>
|
29
|
+
<allow send_destination="org.opensuse.DInstaller.Software" />
|
30
|
+
<allow receive_sender="org.opensuse.DInstaller.Software" />
|
31
|
+
|
32
|
+
<allow send_destination="org.opensuse.DInstaller.Users" />
|
33
|
+
<allow send_destination="org.opensuse.DInstaller.Users"
|
34
|
+
send_interface="org.freedesktop.DBus.Introspectable"/>
|
35
|
+
<allow send_destination="org.opensuse.DInstaller.Users" />
|
36
|
+
<allow receive_sender="org.opensuse.DInstaller.Users" />
|
37
|
+
</policy>
|
38
|
+
</busconfig>
|
data/share/dbus.service
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
[Unit]
|
2
|
+
Description=D-Installer Service
|
3
|
+
Requires=dbus.socket cockpit.socket
|
4
|
+
After=network-online.target
|
5
|
+
|
6
|
+
[Service]
|
7
|
+
Type=dbus
|
8
|
+
BusName=org.opensuse.DInstaller
|
9
|
+
ExecStart=/usr/bin/d-installer
|
10
|
+
User=root
|
11
|
+
TimeoutStopSec=5
|
12
|
+
|
13
|
+
[Install]
|
14
|
+
WantedBy=default.target
|
metadata
ADDED
@@ -0,0 +1,295 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: d-installer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- YaST Team
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-08-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: packaging_rake_tasks
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.5.1
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.5.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 13.0.6
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 13.0.6
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.11.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.11.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: simplecov
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.21.2
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.21.2
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov-lcov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.8.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.8.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: cfa
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.0.2
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.0.2
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: cfa_grub2
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.0.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.0.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: cheetah
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.0.0
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.0.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: eventmachine
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.2.7
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.2.7
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: fast_gettext
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 2.2.0
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 2.2.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: nokogiri
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 1.13.1
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.13.1
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rexml
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 3.2.5
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 3.2.5
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: ruby-dbus
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.18.1
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.18.1
|
195
|
+
description: System service for D-Installer, an experimental YaST-based installer.
|
196
|
+
email: yast-devel@opensuse.org
|
197
|
+
executables:
|
198
|
+
- d-installer
|
199
|
+
extensions: []
|
200
|
+
extra_rdoc_files: []
|
201
|
+
files:
|
202
|
+
- Gemfile
|
203
|
+
- Gemfile.lock
|
204
|
+
- bin/d-installer
|
205
|
+
- etc/d-installer.yaml
|
206
|
+
- lib/dinstaller.rb
|
207
|
+
- lib/dinstaller/can_ask_question.rb
|
208
|
+
- lib/dinstaller/cmdline_args.rb
|
209
|
+
- lib/dinstaller/cockpit_manager.rb
|
210
|
+
- lib/dinstaller/config.rb
|
211
|
+
- lib/dinstaller/config_reader.rb
|
212
|
+
- lib/dinstaller/dbus.rb
|
213
|
+
- lib/dinstaller/dbus/base_object.rb
|
214
|
+
- lib/dinstaller/dbus/clients.rb
|
215
|
+
- lib/dinstaller/dbus/clients/base.rb
|
216
|
+
- lib/dinstaller/dbus/clients/language.rb
|
217
|
+
- lib/dinstaller/dbus/clients/manager.rb
|
218
|
+
- lib/dinstaller/dbus/clients/software.rb
|
219
|
+
- lib/dinstaller/dbus/clients/users.rb
|
220
|
+
- lib/dinstaller/dbus/clients/with_progress.rb
|
221
|
+
- lib/dinstaller/dbus/clients/with_service_status.rb
|
222
|
+
- lib/dinstaller/dbus/interfaces/progress.rb
|
223
|
+
- lib/dinstaller/dbus/interfaces/service_status.rb
|
224
|
+
- lib/dinstaller/dbus/language.rb
|
225
|
+
- lib/dinstaller/dbus/language_service.rb
|
226
|
+
- lib/dinstaller/dbus/manager.rb
|
227
|
+
- lib/dinstaller/dbus/manager_service.rb
|
228
|
+
- lib/dinstaller/dbus/question.rb
|
229
|
+
- lib/dinstaller/dbus/questions.rb
|
230
|
+
- lib/dinstaller/dbus/service_runner.rb
|
231
|
+
- lib/dinstaller/dbus/service_status.rb
|
232
|
+
- lib/dinstaller/dbus/software.rb
|
233
|
+
- lib/dinstaller/dbus/software/manager.rb
|
234
|
+
- lib/dinstaller/dbus/software/proposal.rb
|
235
|
+
- lib/dinstaller/dbus/software_service.rb
|
236
|
+
- lib/dinstaller/dbus/storage.rb
|
237
|
+
- lib/dinstaller/dbus/storage/proposal.rb
|
238
|
+
- lib/dinstaller/dbus/users.rb
|
239
|
+
- lib/dinstaller/dbus/users_service.rb
|
240
|
+
- lib/dinstaller/dbus/with_service_status.rb
|
241
|
+
- lib/dinstaller/dbus/y2dir/manager/modules/Package.rb
|
242
|
+
- lib/dinstaller/dbus/y2dir/manager/modules/PackagesProposal.rb
|
243
|
+
- lib/dinstaller/dbus/y2dir/modules/Autologin.rb
|
244
|
+
- lib/dinstaller/dbus/y2dir/software/modules/SpaceCalculation.rb
|
245
|
+
- lib/dinstaller/errors.rb
|
246
|
+
- lib/dinstaller/installation_phase.rb
|
247
|
+
- lib/dinstaller/language.rb
|
248
|
+
- lib/dinstaller/luks_activation_question.rb
|
249
|
+
- lib/dinstaller/manager.rb
|
250
|
+
- lib/dinstaller/network.rb
|
251
|
+
- lib/dinstaller/package_callbacks.rb
|
252
|
+
- lib/dinstaller/progress.rb
|
253
|
+
- lib/dinstaller/question.rb
|
254
|
+
- lib/dinstaller/questions_manager.rb
|
255
|
+
- lib/dinstaller/security.rb
|
256
|
+
- lib/dinstaller/service_status_recorder.rb
|
257
|
+
- lib/dinstaller/software.rb
|
258
|
+
- lib/dinstaller/storage.rb
|
259
|
+
- lib/dinstaller/storage/actions.rb
|
260
|
+
- lib/dinstaller/storage/callbacks.rb
|
261
|
+
- lib/dinstaller/storage/callbacks/activate.rb
|
262
|
+
- lib/dinstaller/storage/callbacks/activate_luks.rb
|
263
|
+
- lib/dinstaller/storage/callbacks/activate_multipath.rb
|
264
|
+
- lib/dinstaller/storage/manager.rb
|
265
|
+
- lib/dinstaller/storage/proposal.rb
|
266
|
+
- lib/dinstaller/users.rb
|
267
|
+
- lib/dinstaller/with_progress.rb
|
268
|
+
- share/dbus.conf
|
269
|
+
- share/dbus.service
|
270
|
+
- share/systemd.service
|
271
|
+
homepage: https://github.com/yast/d-installer
|
272
|
+
licenses:
|
273
|
+
- GPL-2.0-only
|
274
|
+
metadata:
|
275
|
+
rubygems_mfa_required: 'true'
|
276
|
+
post_install_message:
|
277
|
+
rdoc_options: []
|
278
|
+
require_paths:
|
279
|
+
- lib
|
280
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
281
|
+
requirements:
|
282
|
+
- - ">="
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: 2.5.0
|
285
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
286
|
+
requirements:
|
287
|
+
- - ">="
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
version: '0'
|
290
|
+
requirements: []
|
291
|
+
rubygems_version: 3.3.7
|
292
|
+
signing_key:
|
293
|
+
specification_version: 4
|
294
|
+
summary: D-Installer Service
|
295
|
+
test_files: []
|