penguins-eggs 9.2.2 → 9.2.4
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 +145 -130
- package/addons/eggs/theme/livecd/isolinux.theme.cfg +36 -41
- package/conf/eggs.yaml +41 -73
- package/conf/exclude.list +1 -0
- package/conf/krill.yaml +38 -0
- package/lib/classes/daddy.d.ts +2 -2
- package/lib/classes/distro.d.ts +2 -0
- package/lib/classes/distro.js +6 -0
- package/lib/classes/incubation/fisherman.js +1 -1
- package/lib/classes/pacman.js +3 -2
- package/lib/classes/pxe.d.ts +42 -0
- package/lib/classes/pxe.js +242 -0
- package/lib/classes/settings.d.ts +3 -3
- package/lib/classes/settings.js +2 -1
- package/lib/classes/tools.d.ts +2 -2
- package/lib/classes/utils.d.ts +1 -1
- package/lib/classes/utils.js +1 -1
- package/lib/commands/cuckoo.d.ts +24 -0
- package/lib/commands/cuckoo.js +69 -0
- package/lib/commands/install.d.ts +2 -2
- package/lib/commands/install.js +8 -14
- package/lib/commands/produce.js +3 -3
- package/lib/commands/{info.d.ts → status.d.ts} +1 -1
- package/lib/commands/{info.js → status.js} +5 -5
- package/lib/components/summary.d.ts +6 -1
- package/lib/components/summary.js +25 -8
- package/lib/components/users.js +3 -4
- package/lib/interfaces/i-config-tools.d.ts +1 -1
- package/lib/interfaces/i-distro.d.ts +2 -0
- package/lib/interfaces/{i-config.d.ts → i-eggs-config.d.ts} +2 -4
- package/lib/interfaces/{i-config.js → i-eggs-config.js} +0 -0
- package/lib/interfaces/i-krill-config.d.ts +26 -0
- package/lib/interfaces/i-krill-config.js +2 -0
- package/lib/interfaces/i-packages.d.ts +6 -9
- package/lib/interfaces/i-packages.js +3 -0
- package/lib/interfaces/index.d.ts +1 -1
- package/lib/krill/krill-prepare.d.ts +5 -3
- package/lib/krill/krill-prepare.js +159 -35
- package/lib/krill/krill-sequence.d.ts +5 -3
- package/lib/krill/krill-sequence.js +26 -12
- package/lib/krill/modules/fstab.d.ts +5 -0
- package/lib/krill/modules/fstab.js +5 -0
- package/lib/krill/modules/grubcfg.d.ts +5 -0
- package/lib/krill/modules/grubcfg.js +5 -0
- package/lib/krill/modules/hostname.d.ts +5 -0
- package/lib/krill/modules/hostname.js +5 -0
- package/lib/krill/modules/hosts.d.ts +5 -0
- package/lib/krill/modules/hosts.js +5 -0
- package/lib/krill/modules/initramfs-cfg.d.ts +5 -0
- package/lib/krill/modules/initramfs-cfg.js +5 -0
- package/lib/krill/modules/initramfs.d.ts +5 -0
- package/lib/krill/modules/initramfs.js +5 -0
- package/lib/krill/modules/locale-cfg.d.ts +5 -0
- package/lib/krill/modules/locale-cfg.js +5 -0
- package/lib/krill/modules/locale.d.ts +5 -0
- package/lib/krill/modules/locale.js +5 -0
- package/lib/krill/modules/machine-id.d.ts +5 -0
- package/lib/krill/modules/machine-id.js +5 -0
- package/lib/krill/modules/mkfs.d.ts +5 -0
- package/lib/krill/modules/mkfs.js +5 -0
- package/lib/krill/modules/mount-fs.d.ts +5 -0
- package/lib/krill/modules/mount-fs.js +5 -0
- package/lib/krill/modules/mount-vfs.d.ts +5 -0
- package/lib/krill/modules/mount-vfs.js +5 -0
- package/lib/krill/modules/network-cfg.d.ts +5 -0
- package/lib/krill/modules/network-cfg.js +5 -0
- package/lib/krill/modules/packages.d.ts +14 -0
- package/lib/krill/modules/packages.js +65 -0
- package/lib/krill/modules/{partitions.d.ts → partition.d.ts} +5 -0
- package/lib/krill/modules/{partitions.js → partition.js} +5 -0
- package/lib/krill/modules/remove-installer-link.d.ts +5 -0
- package/lib/krill/modules/remove-installer-link.js +5 -0
- package/lib/krill/modules/set-keyboard.d.ts +5 -0
- package/lib/krill/modules/set-keyboard.js +37 -18
- package/lib/krill/modules/set-timezone.d.ts +5 -0
- package/lib/krill/modules/set-timezone.js +5 -0
- package/lib/krill/modules/umount.d.ts +5 -0
- package/lib/krill/modules/umount.js +5 -0
- package/lib/krill/modules/unpackfs.d.ts +5 -0
- package/lib/krill/modules/unpackfs.js +5 -0
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +72 -83
- package/package.json +6 -2
- package/scripts/_eggs +23 -24
- package/scripts/eggs.bash +4 -4
- package/scripts/mom-cli.sh +11 -11
- package/manpages/doc/man/eggs.roll.gz +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "penguins-eggs",
|
|
3
3
|
"description": "Perri's Brewery edition: remaster your system and distribuite it",
|
|
4
|
-
"version": "9.2.
|
|
4
|
+
"version": "9.2.4",
|
|
5
5
|
"author": "Piero Proietti @pieroproietti",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eggs": "bin/run"
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
"inquirer": "^8.2.4",
|
|
24
24
|
"js-yaml": "^4.1.0",
|
|
25
25
|
"mustache": "^4.2.0",
|
|
26
|
+
"netmask": "^2.0.2",
|
|
27
|
+
"node-static": "^0.7.11",
|
|
26
28
|
"react": "^17.0.2",
|
|
27
29
|
"shelljs": "0.8.5",
|
|
28
30
|
"tslib": "^2.4.0"
|
|
@@ -35,7 +37,9 @@
|
|
|
35
37
|
"@types/js-yaml": "^4.0.5",
|
|
36
38
|
"@types/mocha": "^9.1.1",
|
|
37
39
|
"@types/mustache": "^4.1.3",
|
|
40
|
+
"@types/netmask": "^1.0.30",
|
|
38
41
|
"@types/node": "^18.6.3",
|
|
42
|
+
"@types/node-static": "^0.7.7",
|
|
39
43
|
"@types/react": "^18.0.12",
|
|
40
44
|
"@types/shelljs": "^0.8.11",
|
|
41
45
|
"@typescript-eslint/parser": "^5.27.1",
|
|
@@ -46,8 +50,8 @@
|
|
|
46
50
|
"globby": "^11",
|
|
47
51
|
"mocha": "^10.0.0",
|
|
48
52
|
"nyc": "^15.1.0",
|
|
49
|
-
"perrisbrewery": "^9.1.37",
|
|
50
53
|
"penguins-oclif": "^9.1.37",
|
|
54
|
+
"perrisbrewery": "^9.1.37",
|
|
51
55
|
"ts-node": "^10.8.1",
|
|
52
56
|
"typedoc": "^0.23.10",
|
|
53
57
|
"typescript": "^4.7.4"
|
package/scripts/_eggs
CHANGED
|
@@ -11,16 +11,16 @@ _eggs () {
|
|
|
11
11
|
"analyze:analyze for syncto"
|
|
12
12
|
"calamares:calamares or install or configure it"
|
|
13
13
|
"config:Configure and install prerequisites deb packages to run it"
|
|
14
|
+
"cuckoo:cuckoo start a boot server on the LAN sharing iso on the nest"
|
|
14
15
|
"dad:ask help from daddy - configuration helper"
|
|
15
16
|
"export\:deb:export deb/docs/iso to the destination host"
|
|
16
17
|
"export\:docs:remove and export docType documentation of the sources in the destination host"
|
|
17
18
|
"export\:iso:export iso in the destination host"
|
|
18
|
-
"info:informations about eggs configuration"
|
|
19
19
|
"install:command-line system installer - the egg became a penguin!"
|
|
20
|
-
"krill:command-line system installer - the egg became a penguin!"
|
|
21
20
|
"kill:kill the eggs/free the nest"
|
|
22
21
|
"mom:ask for mommy - gui helper"
|
|
23
22
|
"produce:produce a live image from your system whithout your data"
|
|
23
|
+
"status:informations about eggs status"
|
|
24
24
|
"syncfrom:restore users and user data from a LUKS volumes"
|
|
25
25
|
"syncto:saves users and user data in a LUKS volume inside the iso"
|
|
26
26
|
"tools\:clean:clean system log, apt, etc"
|
|
@@ -33,8 +33,8 @@ _eggs () {
|
|
|
33
33
|
"wardrobe\:list:list costumes and accessoires in wardrobe"
|
|
34
34
|
"wardrobe\:show:show costumes/accessories in wardrobe"
|
|
35
35
|
"wardrobe\:wear:wear costume/accessories from wardrobe"
|
|
36
|
-
"autocomplete:display autocomplete installation instructions"
|
|
37
36
|
"help:Display help for <%= config.bin %>."
|
|
37
|
+
"autocomplete:display autocomplete installation instructions"
|
|
38
38
|
"version:"
|
|
39
39
|
)
|
|
40
40
|
|
|
@@ -74,6 +74,13 @@ config)
|
|
|
74
74
|
)
|
|
75
75
|
;;
|
|
76
76
|
|
|
77
|
+
cuckoo)
|
|
78
|
+
_command_flags=(
|
|
79
|
+
"--help[Show CLI help.]"
|
|
80
|
+
"--verbose[verbose]"
|
|
81
|
+
)
|
|
82
|
+
;;
|
|
83
|
+
|
|
77
84
|
dad)
|
|
78
85
|
_command_flags=(
|
|
79
86
|
"--help[Show CLI help.]"
|
|
@@ -109,25 +116,10 @@ export:iso)
|
|
|
109
116
|
)
|
|
110
117
|
;;
|
|
111
118
|
|
|
112
|
-
info)
|
|
113
|
-
_command_flags=(
|
|
114
|
-
"--verbose[]"
|
|
115
|
-
"--help[Show CLI help.]"
|
|
116
|
-
)
|
|
117
|
-
;;
|
|
118
|
-
|
|
119
119
|
install)
|
|
120
120
|
_command_flags=(
|
|
121
|
-
"--
|
|
122
|
-
"--
|
|
123
|
-
"--help[Show CLI help.]"
|
|
124
|
-
"--verbose[verbose]"
|
|
125
|
-
)
|
|
126
|
-
;;
|
|
127
|
-
|
|
128
|
-
krill)
|
|
129
|
-
_command_flags=(
|
|
130
|
-
"--crypted[crypted CLI installation]"
|
|
121
|
+
"--unattended[unattended CLI installation]"
|
|
122
|
+
"--crypted[crypted CLI installation]"
|
|
131
123
|
"--pve[Proxmox VE install]"
|
|
132
124
|
"--help[Show CLI help.]"
|
|
133
125
|
"--verbose[verbose]"
|
|
@@ -166,6 +158,13 @@ produce)
|
|
|
166
158
|
)
|
|
167
159
|
;;
|
|
168
160
|
|
|
161
|
+
status)
|
|
162
|
+
_command_flags=(
|
|
163
|
+
"--verbose[]"
|
|
164
|
+
"--help[Show CLI help.]"
|
|
165
|
+
)
|
|
166
|
+
;;
|
|
167
|
+
|
|
169
168
|
syncfrom)
|
|
170
169
|
_command_flags=(
|
|
171
170
|
"--delete=-[rsync --delete delete extraneous files from dest dirs]:"
|
|
@@ -264,15 +263,15 @@ wardrobe:wear)
|
|
|
264
263
|
)
|
|
265
264
|
;;
|
|
266
265
|
|
|
267
|
-
|
|
266
|
+
help)
|
|
268
267
|
_command_flags=(
|
|
269
|
-
"--
|
|
268
|
+
"--nested-commands[Include all nested commands in the output.]"
|
|
270
269
|
)
|
|
271
270
|
;;
|
|
272
271
|
|
|
273
|
-
|
|
272
|
+
autocomplete)
|
|
274
273
|
_command_flags=(
|
|
275
|
-
"--
|
|
274
|
+
"--refresh-cache[Refresh cache (ignores displaying instructions)]"
|
|
276
275
|
)
|
|
277
276
|
;;
|
|
278
277
|
|
package/scripts/eggs.bash
CHANGED
|
@@ -15,16 +15,16 @@ adapt --verbose --help
|
|
|
15
15
|
analyze --help --verbose
|
|
16
16
|
calamares --help --verbose --install --release --remove --theme
|
|
17
17
|
config --nointeractive --clean --help --verbose
|
|
18
|
+
cuckoo --help --verbose
|
|
18
19
|
dad --help --clean --default --verbose
|
|
19
20
|
export:deb --help --clean --amd64 --i386 --armel --arm64 --all
|
|
20
21
|
export:docs --help
|
|
21
22
|
export:iso --help --backup --clean
|
|
22
|
-
|
|
23
|
-
install --crypted --pve --help --verbose
|
|
24
|
-
krill --crypted --pve --help --verbose
|
|
23
|
+
install --unattended --crypted --pve --help --verbose
|
|
25
24
|
kill --help --verbose
|
|
26
25
|
mom --help
|
|
27
26
|
produce --prefix --basename --backup --clone --fast --normal --max --verbose --yolk --script --help --theme --addons --release
|
|
27
|
+
status --verbose --help
|
|
28
28
|
syncfrom --delete --file --rootdir --help --verbose
|
|
29
29
|
syncto --delete --file --help --verbose
|
|
30
30
|
tools:clean --help --verbose
|
|
@@ -37,8 +37,8 @@ wardrobe:ironing --wardrobe --verbose --help
|
|
|
37
37
|
wardrobe:list --verbose --help
|
|
38
38
|
wardrobe:show --wardrobe --json --verbose --help
|
|
39
39
|
wardrobe:wear --wardrobe --no_accessories --no_firmwares --silent --verbose --help
|
|
40
|
-
autocomplete --refresh-cache
|
|
41
40
|
help --nested-commands
|
|
41
|
+
autocomplete --refresh-cache
|
|
42
42
|
version --json --verbose
|
|
43
43
|
"
|
|
44
44
|
|
package/scripts/mom-cli.sh
CHANGED
|
@@ -17,10 +17,10 @@ function main {
|
|
|
17
17
|
"calamares" "configure calamares or install and configure it" \
|
|
18
18
|
"dad" "ask help from daddy - configuration helper" \
|
|
19
19
|
"help" "display help for eggs" \
|
|
20
|
-
"info" "informations about system and eggs" \
|
|
21
20
|
"kill" "kill the eggs/free the nest" \
|
|
22
|
-
"
|
|
21
|
+
"install" "krill TUI system installer - the egg becomes a chick" \
|
|
23
22
|
"produce" "the system produces an egg: iso image of your system" \
|
|
23
|
+
"status" "eggs status and informations" \
|
|
24
24
|
"update" "update the penguin's eggs tool" \
|
|
25
25
|
"documentation" "book/book_translated/manual/man" \
|
|
26
26
|
"export" "deb/docs/iso" \
|
|
@@ -48,18 +48,18 @@ function main {
|
|
|
48
48
|
"help")
|
|
49
49
|
help ;;
|
|
50
50
|
|
|
51
|
-
"info")
|
|
52
|
-
info ;;
|
|
53
|
-
|
|
54
51
|
"kill")
|
|
55
52
|
kill ;;
|
|
56
53
|
|
|
57
|
-
"
|
|
58
|
-
|
|
54
|
+
"install")
|
|
55
|
+
install ;;
|
|
59
56
|
|
|
60
57
|
"produce")
|
|
61
58
|
produce ;;
|
|
62
59
|
|
|
60
|
+
"status")
|
|
61
|
+
status ;;
|
|
62
|
+
|
|
63
63
|
"documentation")
|
|
64
64
|
documentation ;;
|
|
65
65
|
|
|
@@ -228,8 +228,8 @@ function help {
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
################################
|
|
231
|
-
function
|
|
232
|
-
eggs
|
|
231
|
+
function status {
|
|
232
|
+
eggs status
|
|
233
233
|
press_a_key_to_continue
|
|
234
234
|
}
|
|
235
235
|
|
|
@@ -240,8 +240,8 @@ function kill {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
################################
|
|
243
|
-
function
|
|
244
|
-
sudo eggs
|
|
243
|
+
function install {
|
|
244
|
+
sudo eggs install
|
|
245
245
|
press_a_key_to_continue
|
|
246
246
|
}
|
|
247
247
|
|
|
Binary file
|