penguins-eggs 9.0.9 → 9.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +117 -20
- package/addons/eggs/theme/calamares/branding/show.qml +1 -1
- package/addons/eggs/theme/livecd/README.md +13 -15
- package/addons/eggs/theme/livecd/splash.png +0 -0
- package/addons/neon/theme/livecd/splash.png +0 -0
- package/addons/{blissos → telos}/theme/applications/install-debian.desktop +0 -0
- package/addons/{blissos → telos}/theme/artwork/install-debian.png +0 -0
- package/addons/telos/theme/calamares/branding/banner.png +0 -0
- package/addons/telos/theme/calamares/branding/branding.desc +25 -0
- package/addons/telos/theme/calamares/branding/show.qml +51 -0
- package/addons/telos/theme/calamares/branding/slide1.png +0 -0
- package/addons/telos/theme/calamares/branding/telos-logo.png +0 -0
- package/addons/telos/theme/calamares/branding/welcome.png +0 -0
- package/addons/{blissos → telos}/theme/calamares/modules/partition.yml +0 -0
- package/addons/{blissos → telos}/theme/livecd/grub.theme.cfg +2 -1
- package/addons/{blissos → telos}/theme/livecd/isolinux.theme.cfg +1 -1
- package/addons/telos/theme/livecd/splash.png +0 -0
- package/addons/templates/grub.template +2 -0
- package/addons/waydroid/theme/applications/install-debian.desktop +28 -0
- package/addons/waydroid/theme/artwork/install-debian.png +0 -0
- package/addons/{blissos → waydroid}/theme/calamares/branding/branding.desc +0 -0
- package/addons/{blissos → waydroid}/theme/calamares/branding/languages.png +0 -0
- package/addons/{blissos → waydroid}/theme/calamares/branding/show.qml +0 -0
- package/addons/{blissos → waydroid}/theme/calamares/branding/slide1.png +0 -0
- package/addons/{blissos → waydroid}/theme/calamares/branding/slide2.png +0 -0
- package/addons/{blissos → waydroid}/theme/calamares/branding/slide3.png +0 -0
- package/addons/{blissos/theme/calamares/branding/blissos-logo.png → waydroid/theme/calamares/branding/waydroid-logo.png} +0 -0
- package/addons/{blissos → waydroid}/theme/calamares/branding/welcome.png +0 -0
- package/addons/waydroid/theme/calamares/modules/partition.yml +233 -0
- package/addons/waydroid/theme/livecd/grub.theme.cfg +43 -0
- package/addons/waydroid/theme/livecd/isolinux.theme.cfg +45 -0
- package/addons/{blissos → waydroid}/theme/livecd/splash.png +0 -0
- package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.sh +57 -38
- package/lib/classes/daddy.js +5 -5
- package/lib/classes/incubation/incubator.js +5 -0
- package/lib/classes/krill_install.d.ts +59 -30
- package/lib/classes/krill_install.js +596 -382
- package/lib/classes/krill_prepare.d.ts +7 -3
- package/lib/classes/krill_prepare.js +67 -26
- package/lib/classes/ovary.d.ts +33 -41
- package/lib/classes/ovary.js +400 -480
- package/lib/classes/systemctl.d.ts +36 -7
- package/lib/classes/systemctl.js +63 -28
- package/lib/classes/users.d.ts +21 -0
- package/lib/classes/users.js +129 -0
- package/lib/classes/utils.d.ts +8 -0
- package/lib/classes/utils.js +44 -15
- package/lib/classes/yolk.d.ts +6 -5
- package/lib/classes/yolk.js +30 -29
- package/lib/commands/analyze.d.ts +25 -0
- package/lib/commands/analyze.js +74 -0
- package/lib/commands/export/iso.js +1 -1
- package/lib/commands/install.d.ts +1 -0
- package/lib/commands/install.js +14 -3
- package/lib/commands/kill.js +1 -1
- package/lib/commands/produce.js +3 -3
- package/lib/commands/syncfrom.d.ts +37 -0
- package/lib/commands/syncfrom.js +156 -0
- package/lib/commands/syncto.d.ts +48 -0
- package/lib/commands/syncto.js +219 -0
- package/lib/components/elements/information.js +17 -1
- package/lib/components/partitions.d.ts +1 -2
- package/lib/components/partitions.js +1 -4
- package/lib/interfaces/i-analyze.d.ts +13 -0
- package/lib/interfaces/i-analyze.js +18 -0
- package/lib/interfaces/i-devices.d.ts +1 -0
- package/lib/interfaces/i-krill.d.ts +0 -1
- package/lib/lib/cli-autologin.js +8 -3
- package/lib/lib/select_installation_device.js +1 -0
- package/lib/lib/select_installation_mode.js +1 -1
- package/manpages/doc/man/eggs.html +65 -6
- package/oclif.manifest.json +1 -1
- package/package.json +19 -18
- package/scripts/_eggs +36 -6
- package/scripts/bros/waydroid-helper.sh +1 -1
- package/scripts/eggs.bash +4 -1
- package/scripts/{not-used/install-eggs-ppa.sh → install-eggs-ppa.sh} +1 -0
- package/scripts/mom-cli.sh +1 -1
- package/scripts/{not-used/pve-live.sh → pve-live.sh} +2 -6
- package/addons/blissos/theme/livecd/README.md +0 -23
- package/addons/eggs/theme/calamares/branding/4tation.png +0 -0
- package/addons/neon/theme/livecd/README.md +0 -23
- package/addons/neon/theme/livecd/splash.pcx +0 -0
- package/scripts/not-used/eggs-cleanup.sh +0 -7
- package/scripts/not-used/mkinitramfs +0 -469
- package/scripts/update-initramfs +0 -94
|
@@ -5,7 +5,7 @@ export default class Krill {
|
|
|
5
5
|
*
|
|
6
6
|
* @param cryped
|
|
7
7
|
*/
|
|
8
|
-
prepare(cryped?: boolean): Promise<void>;
|
|
8
|
+
prepare(cryped?: boolean, pve?: boolean, verbose?: boolean): Promise<void>;
|
|
9
9
|
/**
|
|
10
10
|
* WELCOME
|
|
11
11
|
*/
|
|
@@ -21,7 +21,7 @@ export default class Krill {
|
|
|
21
21
|
/**
|
|
22
22
|
* PARTITIONS
|
|
23
23
|
*/
|
|
24
|
-
partitions(crypted?: boolean): Promise<IPartitions>;
|
|
24
|
+
partitions(crypted?: boolean, pve?: boolean): Promise<IPartitions>;
|
|
25
25
|
/**
|
|
26
26
|
* USERS
|
|
27
27
|
*/
|
|
@@ -37,5 +37,9 @@ export default class Krill {
|
|
|
37
37
|
/**
|
|
38
38
|
* INSTALL
|
|
39
39
|
*/
|
|
40
|
-
install(location: ILocation, keyboard: IKeyboard, partitions: IPartitions, users: IUsers, network: INet): Promise<void>;
|
|
40
|
+
install(location: ILocation, keyboard: IKeyboard, partitions: IPartitions, users: IUsers, network: INet, verbose?: boolean): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* return true if pv exist
|
|
43
|
+
*/
|
|
44
|
+
private pvExist;
|
|
41
45
|
}
|
|
@@ -6,6 +6,7 @@ const ink_1 = require("ink");
|
|
|
6
6
|
const utils_1 = (0, tslib_1.__importDefault)(require("./utils"));
|
|
7
7
|
const shelljs_1 = (0, tslib_1.__importDefault)(require("shelljs"));
|
|
8
8
|
const fs_1 = (0, tslib_1.__importDefault)(require("fs"));
|
|
9
|
+
const systemctl_1 = (0, tslib_1.__importDefault)(require("./systemctl"));
|
|
9
10
|
// libraries
|
|
10
11
|
const exec = require('../lib/utils').exec;
|
|
11
12
|
const welcome_1 = (0, tslib_1.__importDefault)(require("../components/welcome"));
|
|
@@ -40,21 +41,41 @@ class Krill {
|
|
|
40
41
|
*
|
|
41
42
|
* @param cryped
|
|
42
43
|
*/
|
|
43
|
-
async prepare(cryped = false) {
|
|
44
|
+
async prepare(cryped = false, pve = false, verbose = false) {
|
|
45
|
+
/**
|
|
46
|
+
* Check for disk presence
|
|
47
|
+
*/
|
|
48
|
+
const drives = shelljs_1.default.exec('lsblk |grep disk|cut -f 1 "-d "', { silent: true }).stdout.trim().split('\n');
|
|
49
|
+
if (drives[0] === '') {
|
|
50
|
+
await utils_1.default.pressKeyToExit(`No disk to install the system in this machine.\nkrill installer refuses to continue`);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* check for lvm2
|
|
54
|
+
*/
|
|
55
|
+
if (await this.pvExist()) {
|
|
56
|
+
await utils_1.default.pressKeyToExit(`There is a lvm2 volume in the system, remove it manually before installation.\nkrill installer refuses to continue`);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* stop udisks2.service
|
|
60
|
+
*/
|
|
61
|
+
const systemdCtl = new systemctl_1.default(verbose);
|
|
62
|
+
if (await systemdCtl.isActive('udisks2.service')) {
|
|
63
|
+
await systemdCtl.stop('udisks2.service');
|
|
64
|
+
}
|
|
44
65
|
const oWelcome = await this.welcome();
|
|
45
66
|
const oLocation = await this.location(oWelcome.language);
|
|
46
67
|
const oKeyboard = await this.keyboard();
|
|
47
|
-
const oPartitions = await this.partitions(cryped);
|
|
68
|
+
const oPartitions = await this.partitions(cryped, pve);
|
|
48
69
|
const oUsers = await this.users();
|
|
49
70
|
const oNetwork = await this.network();
|
|
50
71
|
await this.summary(oLocation, oKeyboard, oPartitions);
|
|
51
|
-
await this.install(oLocation, oKeyboard, oPartitions, oUsers, oNetwork);
|
|
72
|
+
await this.install(oLocation, oKeyboard, oPartitions, oUsers, oNetwork, verbose);
|
|
52
73
|
}
|
|
53
74
|
/**
|
|
54
75
|
* WELCOME
|
|
55
76
|
*/
|
|
56
77
|
async welcome() {
|
|
57
|
-
let language = shelljs_1.default.exec(
|
|
78
|
+
let language = shelljs_1.default.exec(`grep LANG= < /etc/default/locale| cut -f2 -d=|cut -f1 -d.`, { silent: true }).stdout.trim();
|
|
58
79
|
let welcomeElem;
|
|
59
80
|
while (true) {
|
|
60
81
|
welcomeElem = react_1.default.createElement(welcome_1.default, { language: language });
|
|
@@ -74,8 +95,8 @@ class Krill {
|
|
|
74
95
|
* LOCATION
|
|
75
96
|
*/
|
|
76
97
|
async location(language) {
|
|
77
|
-
let region = shelljs_1.default.exec('
|
|
78
|
-
let zone = shelljs_1.default.exec('
|
|
98
|
+
let region = shelljs_1.default.exec('cut -f1 -d/ < /etc/timezone', { silent: true }).stdout.trim();
|
|
99
|
+
let zone = shelljs_1.default.exec('cut -f2 -d/ < /etc/timezone', { silent: true }).stdout.trim();
|
|
79
100
|
let locationElem;
|
|
80
101
|
while (true) {
|
|
81
102
|
locationElem = react_1.default.createElement(location_1.default, { language: language, region: region, zone: zone });
|
|
@@ -103,13 +124,13 @@ class Krill {
|
|
|
103
124
|
* KEYBOARD
|
|
104
125
|
*/
|
|
105
126
|
async keyboard() {
|
|
106
|
-
let keyboardModel = shelljs_1.default.exec('
|
|
127
|
+
let keyboardModel = shelljs_1.default.exec('grep XKBMODEL < /etc/default/keyboard |cut -f2 -d= | cut -f2 "-d\\""', { silent: true }).stdout.trim();
|
|
107
128
|
if (keyboardModel === '') {
|
|
108
129
|
keyboardModel = "pc105";
|
|
109
130
|
}
|
|
110
|
-
let keyboardLayout = shelljs_1.default.exec('
|
|
111
|
-
let keyboardVariant = shelljs_1.default.exec('/etc/default/keyboard |
|
|
112
|
-
let keyboardOptions = shelljs_1.default.exec('
|
|
131
|
+
let keyboardLayout = shelljs_1.default.exec('grep XKBLAYOUT < /etc/default/keyboard | cut -f2 -d= | cut -f2 "-d\\""', { silent: true }).stdout.trim();
|
|
132
|
+
let keyboardVariant = shelljs_1.default.exec('grep XKBVARIANT < /etc/default/keyboard | cut -f2 -d=|cut -f2 "-d\\""', { silent: true }).stdout.trim();
|
|
133
|
+
let keyboardOptions = shelljs_1.default.exec('grep XKBOPTIONS < /etc/default/keyboard | cut -f2 -d= | cut -f2 "-d\\""', { silent: true }).stdout.trim();
|
|
113
134
|
let keyboardElem;
|
|
114
135
|
while (true) {
|
|
115
136
|
keyboardElem = react_1.default.createElement(keyboard_1.default, { keyboardModel: keyboardModel, keyboardLayout: keyboardLayout, keyboardVariant: keyboardVariant });
|
|
@@ -132,47 +153,56 @@ class Krill {
|
|
|
132
153
|
/**
|
|
133
154
|
* PARTITIONS
|
|
134
155
|
*/
|
|
135
|
-
async partitions(crypted = false) {
|
|
136
|
-
|
|
156
|
+
async partitions(crypted = false, pve = false) {
|
|
157
|
+
const drives = shelljs_1.default.exec('lsblk |grep disk|cut -f 1 "-d "', { silent: true }).stdout.trim().split('\n');
|
|
158
|
+
const driveList = [];
|
|
159
|
+
drives.forEach((element) => {
|
|
160
|
+
driveList.push('/dev/' + element);
|
|
161
|
+
});
|
|
162
|
+
let installationDevice = driveList[0]; // it was just /dev/sda before
|
|
137
163
|
let installationMode = 'standard';
|
|
138
|
-
|
|
139
|
-
let filesystemType = 'ext4';
|
|
140
|
-
let userSwapChoice = 'small';
|
|
141
|
-
if (crypted = true) {
|
|
164
|
+
if (crypted) {
|
|
142
165
|
installationMode = 'full-encrypted';
|
|
143
166
|
}
|
|
167
|
+
else if (pve) {
|
|
168
|
+
installationMode = 'lvm2';
|
|
169
|
+
}
|
|
170
|
+
let filesystemType = 'ext4';
|
|
171
|
+
let userSwapChoice = 'small';
|
|
144
172
|
let partitionsElem;
|
|
145
173
|
while (true) {
|
|
146
|
-
partitionsElem = react_1.default.createElement(partitions_1.default, { installationDevice: installationDevice, installationMode: installationMode,
|
|
174
|
+
partitionsElem = react_1.default.createElement(partitions_1.default, { installationDevice: installationDevice, installationMode: installationMode, filesystemType: filesystemType, userSwapChoice: userSwapChoice });
|
|
147
175
|
if (await confirm(partitionsElem, "Confirm Partitions datas?")) {
|
|
148
176
|
break;
|
|
149
177
|
}
|
|
150
178
|
else {
|
|
151
179
|
installationDevice = '';
|
|
152
|
-
|
|
180
|
+
installationMode = 'standard';
|
|
181
|
+
if (crypted) {
|
|
153
182
|
installationMode = 'full-encrypted';
|
|
154
183
|
}
|
|
155
|
-
|
|
184
|
+
else if (pve) {
|
|
185
|
+
installationMode = 'lvm2';
|
|
186
|
+
}
|
|
156
187
|
filesystemType = '';
|
|
157
188
|
userSwapChoice = '';
|
|
158
189
|
}
|
|
159
|
-
partitionsElem = react_1.default.createElement(partitions_1.default, { installationDevice: installationDevice, installationMode: installationMode,
|
|
190
|
+
partitionsElem = react_1.default.createElement(partitions_1.default, { installationDevice: installationDevice, installationMode: installationMode, filesystemType: filesystemType, userSwapChoice: userSwapChoice });
|
|
160
191
|
redraw(partitionsElem);
|
|
161
192
|
installationDevice = await (0, select_installation_device_1.default)();
|
|
162
|
-
partitionsElem = react_1.default.createElement(partitions_1.default, { installationDevice: installationDevice, installationMode: installationMode,
|
|
193
|
+
partitionsElem = react_1.default.createElement(partitions_1.default, { installationDevice: installationDevice, installationMode: installationMode, filesystemType: filesystemType, userSwapChoice: userSwapChoice });
|
|
163
194
|
redraw(partitionsElem);
|
|
164
195
|
installationMode = await (0, select_installation_mode_1.default)();
|
|
165
|
-
partitionsElem = react_1.default.createElement(partitions_1.default, { installationDevice: installationDevice, installationMode: installationMode,
|
|
196
|
+
partitionsElem = react_1.default.createElement(partitions_1.default, { installationDevice: installationDevice, installationMode: installationMode, filesystemType: filesystemType, userSwapChoice: userSwapChoice });
|
|
166
197
|
redraw(partitionsElem);
|
|
167
198
|
filesystemType = await (0, select_filesystem_type_1.default)();
|
|
168
|
-
partitionsElem = react_1.default.createElement(partitions_1.default, { installationDevice: installationDevice, installationMode: installationMode,
|
|
199
|
+
partitionsElem = react_1.default.createElement(partitions_1.default, { installationDevice: installationDevice, installationMode: installationMode, filesystemType: filesystemType, userSwapChoice: userSwapChoice });
|
|
169
200
|
redraw(partitionsElem);
|
|
170
201
|
userSwapChoice = await (0, select_user_swap_choice_1.default)();
|
|
171
202
|
}
|
|
172
203
|
return {
|
|
173
204
|
installationDevice: installationDevice,
|
|
174
205
|
installationMode: installationMode,
|
|
175
|
-
luksPassphrase: luksPassphrase,
|
|
176
206
|
filesystemType: filesystemType,
|
|
177
207
|
userSwapChoice: userSwapChoice
|
|
178
208
|
};
|
|
@@ -276,9 +306,20 @@ class Krill {
|
|
|
276
306
|
/**
|
|
277
307
|
* INSTALL
|
|
278
308
|
*/
|
|
279
|
-
async install(location, keyboard, partitions, users, network) {
|
|
309
|
+
async install(location, keyboard, partitions, users, network, verbose = false) {
|
|
280
310
|
const hatching = new krill_install_1.default(location, keyboard, partitions, users, network);
|
|
281
|
-
hatching.install(
|
|
311
|
+
hatching.install(verbose);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* return true if pv exist
|
|
315
|
+
*/
|
|
316
|
+
async pvExist() {
|
|
317
|
+
let exist = false;
|
|
318
|
+
const check = `#!/bin/sh\npvdisplay |grep "PV Name" >/dev/null && echo 1|| echo 0`;
|
|
319
|
+
if (shelljs_1.default.exec(check).stdout.trim() === '1') {
|
|
320
|
+
exist = true;
|
|
321
|
+
}
|
|
322
|
+
return exist;
|
|
282
323
|
}
|
|
283
324
|
}
|
|
284
325
|
exports.default = Krill;
|
package/lib/classes/ovary.d.ts
CHANGED
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
import { IMyAddons } from '../interfaces';
|
|
2
2
|
import Incubator from './incubation/incubator';
|
|
3
3
|
import Settings from './settings';
|
|
4
|
+
import Users from './users';
|
|
4
5
|
/**
|
|
5
6
|
* Ovary:
|
|
6
7
|
*/
|
|
7
8
|
export default class Ovary {
|
|
9
|
+
verbose: boolean;
|
|
10
|
+
echo: {};
|
|
11
|
+
echoYes: {};
|
|
8
12
|
toNull: string;
|
|
9
13
|
incubator: Incubator;
|
|
10
14
|
settings: Settings;
|
|
11
15
|
familyId: string;
|
|
12
16
|
snapshot_prefix: string;
|
|
13
17
|
snapshot_basename: string;
|
|
14
|
-
theme: string;
|
|
15
18
|
compression: string;
|
|
16
|
-
/**
|
|
17
|
-
* Egg
|
|
18
|
-
* @param compression
|
|
19
|
-
*/
|
|
20
|
-
constructor(snapshot_prefix?: string, snapshot_basename?: string, theme?: string, compression?: string);
|
|
21
19
|
/**
|
|
22
20
|
* @returns {boolean} success
|
|
23
21
|
*/
|
|
24
|
-
fertilization(): Promise<boolean>;
|
|
22
|
+
fertilization(snapshot_prefix?: string, snapshot_basename?: string, theme?: string, compression?: string): Promise<boolean>;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
25
|
* @param basename
|
|
@@ -30,7 +28,12 @@ export default class Ovary {
|
|
|
30
28
|
/**
|
|
31
29
|
* Crea la struttura della workdir
|
|
32
30
|
*/
|
|
33
|
-
liveCreateStructure(
|
|
31
|
+
liveCreateStructure(): Promise<void>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param cmd
|
|
35
|
+
*/
|
|
36
|
+
tryCatch(cmd?: string): Promise<void>;
|
|
34
37
|
/**
|
|
35
38
|
* editLiveFs
|
|
36
39
|
* - Truncate logs, remove archived log
|
|
@@ -41,33 +44,32 @@ export default class Ovary {
|
|
|
41
44
|
* - Add some basic files to /dev
|
|
42
45
|
* - Clear configs from /etc/network/interfaces, wicd and NetworkManager and netman
|
|
43
46
|
*/
|
|
44
|
-
editLiveFs(
|
|
47
|
+
editLiveFs(): Promise<void>;
|
|
45
48
|
/**
|
|
46
49
|
* syslinux
|
|
47
50
|
*/
|
|
48
|
-
syslinux(
|
|
51
|
+
syslinux(): Promise<void>;
|
|
49
52
|
/**
|
|
50
53
|
* async isolinux
|
|
51
54
|
*/
|
|
52
|
-
isolinux(theme?: string
|
|
55
|
+
isolinux(theme?: string): Promise<void>;
|
|
53
56
|
/**
|
|
54
57
|
* copy kernel
|
|
55
58
|
*/
|
|
56
|
-
kernelCopy(
|
|
59
|
+
kernelCopy(): Promise<void>;
|
|
57
60
|
/**
|
|
58
|
-
* necessita di
|
|
61
|
+
* necessita di echoYes
|
|
59
62
|
*/
|
|
60
|
-
initrdCreate(
|
|
63
|
+
initrdCreate(): Promise<void>;
|
|
61
64
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @param verbose
|
|
65
|
+
* We must upgrade to initrdCreate for Debian/Ubuntu
|
|
64
66
|
* @returns
|
|
65
67
|
*/
|
|
66
68
|
initrdCopy(verbose?: boolean): Promise<void>;
|
|
67
69
|
/**
|
|
68
70
|
* squashFs: crea in live filesystem.squashfs
|
|
69
71
|
*/
|
|
70
|
-
makeSquashfs(scriptOnly?: boolean
|
|
72
|
+
makeSquashfs(scriptOnly?: boolean): Promise<void>;
|
|
71
73
|
/**
|
|
72
74
|
* Restituisce true per le direcory da montare con overlay
|
|
73
75
|
*
|
|
@@ -88,10 +90,6 @@ export default class Ovary {
|
|
|
88
90
|
* - normal solo la creazione della directory, nessun mount
|
|
89
91
|
* - merged creazione della directory e mount ro
|
|
90
92
|
* - mergedAndOverlay creazione directory, overlay e mount rw
|
|
91
|
-
*
|
|
92
|
-
* @param dir
|
|
93
|
-
*
|
|
94
|
-
* @returns merged
|
|
95
93
|
*/
|
|
96
94
|
merged(dir: string): boolean;
|
|
97
95
|
/**
|
|
@@ -100,46 +98,36 @@ export default class Ovary {
|
|
|
100
98
|
*
|
|
101
99
|
* @param verbose
|
|
102
100
|
*/
|
|
103
|
-
bindLiveFs(
|
|
101
|
+
bindLiveFs(): Promise<void>;
|
|
104
102
|
/**
|
|
105
103
|
* ubind del fs live
|
|
106
104
|
* @param verbose
|
|
107
105
|
*/
|
|
108
|
-
uBindLiveFs(
|
|
106
|
+
uBindLiveFs(): Promise<void>;
|
|
109
107
|
/**
|
|
110
108
|
* bind dei virtual file system
|
|
111
109
|
*/
|
|
112
|
-
bindVfs(
|
|
110
|
+
bindVfs(): Promise<void>;
|
|
113
111
|
/**
|
|
114
112
|
*
|
|
115
113
|
* @param verbose
|
|
116
114
|
*/
|
|
117
|
-
ubindVfs(
|
|
115
|
+
ubindVfs(): Promise<void>;
|
|
118
116
|
/**
|
|
119
117
|
*
|
|
120
118
|
* @param verbose
|
|
121
119
|
*/
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
* @param verbose
|
|
126
|
-
*/
|
|
127
|
-
copyUsersDatas(verbose?: boolean): Promise<void>;
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @param verbose
|
|
131
|
-
*/
|
|
132
|
-
cleanUsersAccounts(verbose?: boolean): Promise<void>;
|
|
120
|
+
cleanUsersAccounts(): Promise<void>;
|
|
133
121
|
/**
|
|
134
122
|
* list degli utenti: grep -E 1[0-9]{3} /etc/passwd | sed s/:/\ / | awk '{print $1}'
|
|
135
123
|
* create la home per user_opt
|
|
136
124
|
* @param verbose
|
|
137
125
|
*/
|
|
138
|
-
createUserLive(
|
|
126
|
+
createUserLive(): Promise<void>;
|
|
139
127
|
/**
|
|
140
128
|
*
|
|
141
129
|
*/
|
|
142
|
-
createXdgAutostart(theme: string | undefined, myAddons: IMyAddons
|
|
130
|
+
createXdgAutostart(theme: string | undefined, myAddons: IMyAddons): Promise<void>;
|
|
143
131
|
/**
|
|
144
132
|
* Creazione link desktop per lxde
|
|
145
133
|
* @param name
|
|
@@ -155,13 +143,13 @@ export default class Ovary {
|
|
|
155
143
|
/**
|
|
156
144
|
* makeEfi
|
|
157
145
|
*/
|
|
158
|
-
makeEfi(theme?: string
|
|
146
|
+
makeEfi(theme?: string): Promise<void>;
|
|
159
147
|
/**
|
|
160
148
|
* makeDotDisk
|
|
161
149
|
* create .disk/info, .disk/mksquashfs, .disk/mkiso
|
|
162
150
|
* return mkiso
|
|
163
151
|
*/
|
|
164
|
-
makeDotDisk(backup?: boolean
|
|
152
|
+
makeDotDisk(backup?: boolean): string;
|
|
165
153
|
/**
|
|
166
154
|
*
|
|
167
155
|
* @param backup
|
|
@@ -172,10 +160,14 @@ export default class Ovary {
|
|
|
172
160
|
* makeIso
|
|
173
161
|
* cmd: cmd 4 xorirriso
|
|
174
162
|
*/
|
|
175
|
-
makeIso(cmd: string, scriptOnly?: boolean
|
|
163
|
+
makeIso(cmd: string, scriptOnly?: boolean): Promise<void>;
|
|
176
164
|
/**
|
|
177
165
|
* finished = show the results
|
|
178
166
|
* @param scriptOnly
|
|
179
167
|
*/
|
|
180
168
|
finished(scriptOnly?: boolean): void;
|
|
169
|
+
/**
|
|
170
|
+
* fill
|
|
171
|
+
*/
|
|
172
|
+
usersFill(): Promise<Users[]>;
|
|
181
173
|
}
|