penguins-eggs 9.1.12 → 9.1.30
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 +57 -83
- package/addons/eggs/adapt/applications/eggs-adapt.desktop +1 -1
- package/addons/eggs/adapt/bin/{eggs-adapt.sh → adapt} +1 -0
- package/addons/eggs/ichoice/bin/eggs-ichoice.sh +0 -0
- package/addons/eggs/pve/applications/eggs-pve.desktop +0 -0
- package/addons/eggs/rsupport/applications/eggs-rsupport.desktop +0 -0
- package/addons/eggs/theme/applications/install-debian.desktop +235 -22
- package/addons/neon/theme/applications/install-debian.desktop +0 -0
- package/addons/telos/theme/applications/install-debian.desktop +0 -0
- package/addons/ufficiozero/theme/applications/install-debian.desktop +0 -0
- package/addons/waydroid/theme/applications/install-debian.desktop +0 -0
- package/assets/calamares/install-debian +2 -2
- package/assets/penguins-eggs.desktop +0 -0
- package/assets/penguins-krill.desktop +0 -0
- package/assets/penguins-live-installer.desktop +0 -0
- package/bin/dev +0 -0
- package/conf/distros/bionic/calamares/calamares-modules/after-bootloader/after-bootloader.sh +0 -0
- package/conf/distros/bionic/calamares/calamares-modules/before-bootloader/before-bootloader.sh +0 -0
- package/conf/distros/bionic/calamares/calamares-modules/before-bootloader-mkdirs/before-bootloader-mkdirs.sh +0 -0
- package/conf/distros/bionic/calamares/calamares-modules/bug/bug.sh +0 -0
- package/conf/distros/bionic/calamares/calamares-modules/grubcfg/main.py +0 -0
- package/conf/distros/bionic/calamares/settings.yml +3 -3
- package/conf/distros/buster/calamares/calamares-modules/cleanup/cleanup.sh +12 -0
- package/conf/distros/buster/calamares/calamares-modules/cleanup/module.yml +9 -0
- package/conf/distros/buster/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +13 -0
- package/conf/distros/buster/calamares/calamares-modules/dpkg-unsafe-io/module.yml +6 -0
- package/conf/distros/buster/calamares/calamares-modules/dpkg-unsafe-io-undo/module.yml +6 -0
- package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
- package/conf/distros/buster/calamares/modules/bootloader.yml +6 -6
- package/conf/distros/buster/calamares/modules/displaymanager.yml +3 -2
- package/conf/distros/buster/calamares/modules/finished.yml +2 -2
- package/conf/distros/buster/calamares/modules/fstab.yml +1 -2
- package/conf/distros/buster/calamares/modules/luksopenswaphookcfg.yml +1 -2
- package/conf/distros/buster/calamares/modules/machineid.yml +9 -2
- package/conf/distros/buster/calamares/modules/mount.yml +1 -2
- package/conf/distros/buster/calamares/modules/packages.yml +1 -1
- package/conf/distros/buster/calamares/modules/unpackfs.yml +1 -2
- package/conf/distros/buster/calamares/modules/users.yml +3 -4
- package/conf/distros/buster/calamares/modules/welcome.yml +1 -1
- package/conf/distros/buster/calamares/settings.yml +40 -12
- package/conf/distros/focal/calamares/calamares-modules/automirror/main.py +0 -0
- package/conf/distros/focal/calamares/modules/after_bootloader_context.yml +2 -3
- package/conf/distros/focal/calamares/modules/automirror.yml +6 -0
- package/conf/distros/focal/calamares/modules/before_bootloader_context.yml +13 -14
- package/conf/distros/focal/calamares/modules/before_bootloader_mkdirs_context.yml +3 -4
- package/conf/distros/focal/calamares/modules/bootloader.yml +1 -2
- package/conf/distros/focal/calamares/modules/finished.yml +1 -2
- package/conf/distros/focal/calamares/modules/fstab.yml +1 -2
- package/conf/distros/focal/calamares/modules/grubcfg.yml +2 -3
- package/conf/distros/focal/calamares/modules/locale.yml +6 -7
- package/conf/distros/focal/calamares/modules/machineid.yml +1 -2
- package/conf/distros/focal/calamares/modules/mount.yml +19 -20
- package/conf/distros/focal/calamares/modules/partition.yml +5 -3
- package/conf/distros/focal/calamares/modules/shellprocess_add386arch.yml +2 -3
- package/conf/distros/focal/calamares/modules/shellprocess_bug-LP#1829805.yml +1 -3
- package/conf/distros/focal/calamares/modules/shellprocess_logs.yml +2 -3
- package/conf/distros/focal/calamares/modules/unpackfs.yml +2 -2
- package/conf/distros/focal/calamares/modules/users.yml +37 -16
- package/conf/distros/focal/calamares/modules/welcome.yml +21 -22
- package/conf/distros/focal/calamares/settings.yml +5 -6
- package/conf/distros/jammy/README.md +32 -0
- package/conf/distros/jessie/krill/settings.yml +1 -1
- package/conf/distros/rolling/calamares/modules/packages.yml +2 -2
- package/conf/distros/rolling/calamares/settings.yml +3 -3
- package/conf/exclude.list +3 -0
- package/lib/classes/daddy.js +7 -4
- package/lib/classes/distro.js +3 -2
- package/lib/classes/family/archlinux.js +1 -0
- package/lib/classes/family/debian.js +15 -29
- package/lib/classes/i18n.d.ts +0 -4
- package/lib/classes/i18n.js +15 -27
- package/lib/classes/incubation/distros/bionic.js +1 -1
- package/lib/classes/incubation/distros/buster.js +4 -3
- package/lib/classes/incubation/distros/focal.js +1 -1
- package/lib/classes/incubation/distros/rolling.js +0 -1
- package/lib/classes/incubation/fisherman-helper/displaymanager.js +5 -3
- package/lib/classes/incubation/fisherman-helper/packages.js +39 -67
- package/lib/classes/incubation/incubator.js +1 -0
- package/lib/classes/krill_install.d.ts +0 -1
- package/lib/classes/krill_install.js +19 -19
- package/lib/classes/ovary.js +97 -101
- package/lib/classes/pacman.js +5 -46
- package/lib/classes/sources_list.js +11 -20
- package/lib/classes/tailor.d.ts +13 -11
- package/lib/classes/tailor.js +266 -102
- package/lib/classes/users.js +63 -60
- package/lib/classes/utils.d.ts +1 -1
- package/lib/classes/utils.js +16 -12
- package/lib/classes/xdg.js +38 -21
- package/lib/classes/yolk.js +1 -1
- package/lib/commands/analyze.js +4 -4
- package/lib/commands/calamares.d.ts +1 -1
- package/lib/commands/calamares.js +7 -7
- package/lib/commands/config.d.ts +1 -1
- package/lib/commands/config.js +7 -5
- package/lib/commands/dad.js +2 -2
- package/lib/commands/produce.js +2 -1
- package/lib/commands/syncfrom.js +9 -9
- package/lib/commands/syncto.js +20 -20
- package/lib/commands/tools/skel.js +2 -2
- package/lib/commands/wardrobe/ironing.d.ts +3 -0
- package/lib/commands/wardrobe/ironing.js +22 -4
- package/lib/commands/wardrobe/wear.d.ts +1 -0
- package/lib/commands/wardrobe/wear.js +7 -2
- package/lib/interfaces/i-materia.d.ts +3 -0
- package/lib/interfaces/index.d.ts +0 -1
- package/lib/lib/cli-autologin.js +24 -24
- package/lib/lib/dependencies.js +4 -13
- package/lib/lib/get_address.js +3 -2
- package/lib/lib/get_dns.js +3 -2
- package/lib/lib/get_domain.js +3 -2
- package/lib/lib/get_gateway.js +3 -2
- package/lib/lib/get_hostname.js +3 -2
- package/lib/lib/get_netmask.js +3 -2
- package/lib/lib/get_password.js +3 -2
- package/lib/lib/get_root_password.js +3 -2
- package/lib/lib/get_userfullname.js +3 -2
- package/lib/lib/get_username.js +3 -2
- package/lib/lib/select_filesystem_type.js +2 -2
- package/lib/lib/select_installation_device.js +2 -2
- package/lib/lib/select_installation_mode.js +3 -2
- package/lib/lib/select_regions.js +3 -2
- package/lib/lib/select_user_swap_choice.js +2 -2
- package/lib/lib/select_zones.js +3 -2
- package/mkinitcpio/README.md +77 -0
- package/mkinitcpio/garuda/README.md +29 -0
- package/mkinitcpio/manjaro/mkinitcpio.conf +4 -0
- package/package.json +113 -114
- package/scripts/_eggs +3 -11
- package/scripts/bros/waydroid-helper.sh +0 -0
- package/scripts/eggs-adapt.sh +5 -0
- package/scripts/eggs.bash +2 -3
- package/scripts/install-eggs-ppa.sh +0 -0
- package/scripts/mom-cli.sh +0 -0
- package/scripts/pve-live.service +0 -0
- package/scripts/pve-live.sh +0 -0
- package/scripts/resy.sh +0 -0
- package/scripts/userexist.sh +0 -0
- package/conf/distros/buster/calamares/calamares-modules/remove-link/module.yml +0 -9
- package/conf/distros/buster/calamares/calamares-modules/remove-link/remove-link.sh +0 -3
- package/conf/distros/buster/calamares/modules/shellprocess_eggs-cleanup.yml +0 -6
- package/lib/commands/tools/locales.d.ts +0 -13
- package/lib/commands/tools/locales.js +0 -43
- package/lib/interfaces/i-costume.d.ts +0 -27
- package/lib/interfaces/i-costume.js +0 -2
- package/oclif.manifest.json +0 -1
package/package.json
CHANGED
|
@@ -1,117 +1,116 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
2
|
+
"name": "penguins-eggs",
|
|
3
|
+
"description": "Perri's Brewery edition: remaster your system and distribuite it",
|
|
4
|
+
"version": "9.1.30",
|
|
5
|
+
"author": "Piero Proietti @pieroproietti",
|
|
6
|
+
"bin": {
|
|
7
|
+
"eggs": "bin/run"
|
|
8
|
+
},
|
|
9
|
+
"bugs": "https://github.com/pieroproietti/penguins-eggs/issues",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@oclif/core": "^1.8.2",
|
|
12
|
+
"@oclif/plugin-autocomplete": "^1.3.0",
|
|
13
|
+
"@oclif/plugin-help": "^5.1.12",
|
|
14
|
+
"@oclif/plugin-not-found": "^2.3.1",
|
|
15
|
+
"@oclif/plugin-version": "^1.0.4",
|
|
16
|
+
"@oclif/plugin-warn-if-update-available": "^2.0.4",
|
|
17
|
+
"@oclif/test": "^2.1.0",
|
|
18
|
+
"axios": "^0.27.2",
|
|
19
|
+
"chalk": "^4.1.2",
|
|
20
|
+
"ink": "^3.2.0",
|
|
21
|
+
"ink-big-text": "^1.2.0",
|
|
22
|
+
"ink-gradient": "^2.0.0",
|
|
23
|
+
"inquirer": "^8.2.4",
|
|
24
|
+
"js-yaml": "^4.1.0",
|
|
25
|
+
"mustache": "^4.2.0",
|
|
26
|
+
"penguins-oclif": "^3.0.1-1",
|
|
27
|
+
"react": "^17.0.2",
|
|
28
|
+
"shelljs": "0.8.5",
|
|
29
|
+
"tslib": "^2.4.0"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/chai": "^4.3.1",
|
|
33
|
+
"@types/ink-big-text": "^1.2.1",
|
|
34
|
+
"@types/ink-gradient": "^2.0.1",
|
|
35
|
+
"@types/inquirer": "^8.2.1",
|
|
36
|
+
"@types/js-yaml": "^4.0.5",
|
|
37
|
+
"@types/mocha": "^9.1.1",
|
|
38
|
+
"@types/mustache": "^4.1.2",
|
|
39
|
+
"@types/node": "^17.0.35",
|
|
40
|
+
"@types/react": "^18.0.9",
|
|
41
|
+
"@types/shelljs": "^0.8.11",
|
|
42
|
+
"@typescript-eslint/parser": "^5.0.0",
|
|
43
|
+
"chai": "^4.3.6",
|
|
44
|
+
"eslint": "^7.32.0",
|
|
45
|
+
"eslint-config-oclif": "^4.0.0",
|
|
46
|
+
"eslint-config-oclif-typescript": "^1.0.2",
|
|
47
|
+
"globby": "^11.1.0",
|
|
48
|
+
"mocha": "^10.0.0",
|
|
49
|
+
"nyc": "^15.1.0",
|
|
50
|
+
"perrisbrewery": "^0.6.3-1",
|
|
51
|
+
"ts-node": "^10.7.0",
|
|
52
|
+
"typedoc": "^0.22.15",
|
|
53
|
+
"typescript": "^4.6.4"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"@typescript-eslint/parser": "^5.0.0",
|
|
57
|
+
"typescript": "^4.6.0"
|
|
58
|
+
},
|
|
59
|
+
"dirname": "eggs",
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=14.0.0"
|
|
62
|
+
},
|
|
63
|
+
"files": [
|
|
64
|
+
"/addons",
|
|
65
|
+
"/assets",
|
|
66
|
+
"/bin",
|
|
67
|
+
"/conf",
|
|
68
|
+
"/lib",
|
|
69
|
+
"/manpages",
|
|
70
|
+
"mkinitcpio",
|
|
71
|
+
"/scripts",
|
|
72
|
+
"/templates"
|
|
73
|
+
],
|
|
74
|
+
"homepage": "https://penguins-eggs.net/",
|
|
75
|
+
"keywords": [
|
|
76
|
+
"oclif",
|
|
77
|
+
"refracta",
|
|
78
|
+
"remastersys",
|
|
79
|
+
"systemback"
|
|
80
|
+
],
|
|
81
|
+
"license": "MIT",
|
|
82
|
+
"main": "./lib/index.js",
|
|
83
|
+
"oclif": {
|
|
84
|
+
"bin": "eggs",
|
|
85
|
+
"commands": "./lib/commands",
|
|
86
|
+
"plugins": [
|
|
87
|
+
"@oclif/plugin-autocomplete",
|
|
88
|
+
"@oclif/plugin-help",
|
|
89
|
+
"@oclif/plugin-not-found",
|
|
90
|
+
"@oclif/plugin-warn-if-update-available",
|
|
91
|
+
"@oclif/plugin-version"
|
|
72
92
|
],
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
"refracta",
|
|
77
|
-
"remastersys",
|
|
78
|
-
"systemback"
|
|
93
|
+
"topicSeparator": " ",
|
|
94
|
+
"additionalHelpFlags": [
|
|
95
|
+
"-h"
|
|
79
96
|
],
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"repository": "https://github.com/pieroproietti/penguins-eggs",
|
|
101
|
-
"scripts": {
|
|
102
|
-
"build": "tsc -p .",
|
|
103
|
-
"deb": "oclif pack:deb && pb deb ./",
|
|
104
|
-
"docs": "rm docs -rf && npx typedoc src --out docs",
|
|
105
|
-
"lint": "eslint . --ext .ts --config .eslintrc",
|
|
106
|
-
"lint-and-fix": "eslint . --ext .ts --fix --config .eslintrc",
|
|
107
|
-
"postpack": "rm -f oclif.manifest.json",
|
|
108
|
-
"posttest": "eslint . --ext .ts --config .eslintrc",
|
|
109
|
-
"prepack": "rm lib -rf && tsc -b && oclif manifest && oclif readme",
|
|
110
|
-
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
|
111
|
-
"tarballs": "oclif pack:tarballs --root=. --targets=linux-x64 --no-xz",
|
|
112
|
-
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
|
|
113
|
-
"version": "oclif readme && git add README.md"
|
|
114
|
-
},
|
|
115
|
-
"shortName": "eggs",
|
|
116
|
-
"types": "lib/index.d.ts"
|
|
117
|
-
}
|
|
97
|
+
"additionalVersionFlags": [
|
|
98
|
+
"-v"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"repository": "https://github.com/pieroproietti/penguins-eggs",
|
|
102
|
+
"shortName": "eggs",
|
|
103
|
+
"types": "lib/index.d.ts",
|
|
104
|
+
"scripts": {
|
|
105
|
+
"build": "tsc -p .",
|
|
106
|
+
"deb": "oclif pack:deb && pb deb ./",
|
|
107
|
+
"docs": "rm docs -rf && npx typedoc src --out docs",
|
|
108
|
+
"lint": "eslint . --ext .ts --config .eslintrc",
|
|
109
|
+
"lint-and-fix": "eslint . --ext .ts --fix --config .eslintrc",
|
|
110
|
+
"posttest": "eslint . --ext .ts --config .eslintrc",
|
|
111
|
+
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
|
112
|
+
"tarballs": "oclif pack:tarballs --root=. --targets=linux-x64 --no-xz",
|
|
113
|
+
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
|
|
114
|
+
"version": "oclif readme && git add README.md"
|
|
115
|
+
}
|
|
116
|
+
}
|
package/scripts/_eggs
CHANGED
|
@@ -22,9 +22,8 @@ _eggs () {
|
|
|
22
22
|
"produce:produce a live image from your system whithout your data"
|
|
23
23
|
"remove:remove eggs and others stuff"
|
|
24
24
|
"syncfrom:Restore users, server and datas from luks-eggs-backup"
|
|
25
|
-
"syncto:
|
|
25
|
+
"syncto:saving users' datas and accounts on LUKS volume"
|
|
26
26
|
"tools\:clean:clean system log, apt, etc"
|
|
27
|
-
"tools\:locales:install/clean locales"
|
|
28
27
|
"tools\:skel:update skel from home configuration"
|
|
29
28
|
"tools\:stat:get statistics from sourceforge"
|
|
30
29
|
"tools\:yolk:configure eggs to install without internet"
|
|
@@ -60,7 +59,7 @@ calamares)
|
|
|
60
59
|
"--help[Show CLI help.]"
|
|
61
60
|
"--verbose[]"
|
|
62
61
|
"--install[install calamares and it's dependencies]"
|
|
63
|
-
"--
|
|
62
|
+
"--release[release: remove calamares and all it's dependencies after the installation]"
|
|
64
63
|
"--remove[remove calamares and it's dependencies]"
|
|
65
64
|
"--theme=-[theme/branding for eggs and calamares]:"
|
|
66
65
|
)
|
|
@@ -193,14 +192,6 @@ tools:clean)
|
|
|
193
192
|
)
|
|
194
193
|
;;
|
|
195
194
|
|
|
196
|
-
tools:locales)
|
|
197
|
-
_command_flags=(
|
|
198
|
-
"--help[Show CLI help.]"
|
|
199
|
-
"--reinstall[reinstall locales]"
|
|
200
|
-
"--verbose[verbose]"
|
|
201
|
-
)
|
|
202
|
-
;;
|
|
203
|
-
|
|
204
195
|
tools:skel)
|
|
205
196
|
_command_flags=(
|
|
206
197
|
"--help[Show CLI help.]"
|
|
@@ -266,6 +257,7 @@ wardrobe:wear)
|
|
|
266
257
|
_command_flags=(
|
|
267
258
|
"--wardrobe=-[wardrobe]:"
|
|
268
259
|
"--no_accessories[not install accessories]"
|
|
260
|
+
"--no_firmwares[not install firmwares]"
|
|
269
261
|
"--silent[]"
|
|
270
262
|
"--verbose[]"
|
|
271
263
|
"--help[Show CLI help.]"
|
|
File without changes
|
package/scripts/eggs.bash
CHANGED
|
@@ -13,7 +13,7 @@ _eggs_autocomplete()
|
|
|
13
13
|
local commands="
|
|
14
14
|
adapt --verbose --help
|
|
15
15
|
analyze --help --verbose
|
|
16
|
-
calamares --help --verbose --install --
|
|
16
|
+
calamares --help --verbose --install --release --remove --theme
|
|
17
17
|
config --nointeractive --clean --help --verbose
|
|
18
18
|
dad --help --clean --default --verbose
|
|
19
19
|
export:deb --help --clean --amd64 --i386 --armel --arm64 --all
|
|
@@ -28,7 +28,6 @@ remove --purge --autoremove --help --verbose
|
|
|
28
28
|
syncfrom --delete --file --rootdir --help --verbose
|
|
29
29
|
syncto --delete --file --help --verbose
|
|
30
30
|
tools:clean --help --verbose
|
|
31
|
-
tools:locales --help --reinstall --verbose
|
|
32
31
|
tools:skel --help --user --verbose
|
|
33
32
|
tools:stat --help --month --year
|
|
34
33
|
tools:yolk --help --verbose
|
|
@@ -37,7 +36,7 @@ wardrobe:get --verbose --help
|
|
|
37
36
|
wardrobe:ironing --wardrobe --verbose --help
|
|
38
37
|
wardrobe:list --verbose --help
|
|
39
38
|
wardrobe:show --wardrobe --json --verbose --help
|
|
40
|
-
wardrobe:wear --wardrobe --no_accessories --silent --verbose --help
|
|
39
|
+
wardrobe:wear --wardrobe --no_accessories --no_firmwares --silent --verbose --help
|
|
41
40
|
autocomplete --refresh-cache
|
|
42
41
|
help --nested-commands
|
|
43
42
|
version
|
|
File without changes
|
package/scripts/mom-cli.sh
CHANGED
|
File without changes
|
package/scripts/pve-live.service
CHANGED
|
File without changes
|
package/scripts/pve-live.sh
CHANGED
|
File without changes
|
package/scripts/resy.sh
CHANGED
|
File without changes
|
package/scripts/userexist.sh
CHANGED
|
File without changes
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Command } from '@oclif/core';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export default class Locales extends Command {
|
|
6
|
-
static description: string;
|
|
7
|
-
static flags: {
|
|
8
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
9
|
-
reinstall: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
10
|
-
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
11
|
-
};
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const core_1 = require("@oclif/core");
|
|
5
|
-
const utils_1 = tslib_1.__importDefault(require("../../classes/utils"));
|
|
6
|
-
const i18n_1 = tslib_1.__importDefault(require("../../classes/i18n"));
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
class Locales extends core_1.Command {
|
|
11
|
-
async run() {
|
|
12
|
-
utils_1.default.titles(this.id + ' ' + this.argv);
|
|
13
|
-
const { args, flags } = await this.parse(Locales);
|
|
14
|
-
let verbose = false;
|
|
15
|
-
if (flags.verbose) {
|
|
16
|
-
verbose = true;
|
|
17
|
-
}
|
|
18
|
-
let reinstall = false;
|
|
19
|
-
if (flags.reinstall) {
|
|
20
|
-
reinstall = true;
|
|
21
|
-
}
|
|
22
|
-
const echo = utils_1.default.setEcho(verbose);
|
|
23
|
-
if (utils_1.default.isRoot()) {
|
|
24
|
-
const i18n = new i18n_1.default('/', verbose);
|
|
25
|
-
if (reinstall) {
|
|
26
|
-
await i18n.reinstall();
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
await i18n.generate(true);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
utils_1.default.useRoot(this.id);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.default = Locales;
|
|
38
|
-
Locales.description = 'install/clean locales';
|
|
39
|
-
Locales.flags = {
|
|
40
|
-
help: core_1.Flags.help({ char: 'h' }),
|
|
41
|
-
reinstall: core_1.Flags.boolean({ char: 'r', description: 'reinstall locales' }),
|
|
42
|
-
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' })
|
|
43
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface ICostume {
|
|
2
|
-
name: string;
|
|
3
|
-
author: string;
|
|
4
|
-
description: string;
|
|
5
|
-
release: string;
|
|
6
|
-
distributions: string[];
|
|
7
|
-
sequence: {
|
|
8
|
-
repositories: {
|
|
9
|
-
sourcesList: string[];
|
|
10
|
-
sourcesListD: string[];
|
|
11
|
-
update: boolean;
|
|
12
|
-
fullUpgrade: boolean;
|
|
13
|
-
};
|
|
14
|
-
dependencies: string[];
|
|
15
|
-
packages: string[];
|
|
16
|
-
noInstallRecommends: string[];
|
|
17
|
-
debs: boolean;
|
|
18
|
-
packagesPip: string[];
|
|
19
|
-
dirs: boolean;
|
|
20
|
-
accessories: string[];
|
|
21
|
-
hostname: boolean;
|
|
22
|
-
customizations: {
|
|
23
|
-
scripts: string[];
|
|
24
|
-
};
|
|
25
|
-
reboot: boolean;
|
|
26
|
-
};
|
|
27
|
-
}
|
package/oclif.manifest.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":"9.1.12","commands":{"adapt":{"id":"adapt","description":"adapt monitor resolution for VM only","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"analyze":{"id":"analyze","description":"analyze for syncto","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs analyze"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"calamares":{"id":"calamares","description":"calamares or install or configure it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs calamares \ncreate/renew calamares configuration's files\n","~$ sudo eggs calamares -i \ninstall calamares and create it's configuration's files\n"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"install calamares and it's dependencies","allowNo":false},"final":{"name":"final","type":"boolean","char":"f","description":"final: remove calamares and all it's dependencies after the installation","allowNo":false},"remove":{"name":"remove","type":"boolean","char":"r","description":"remove calamares and it's dependencies","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme/branding for eggs and calamares","multiple":false}},"args":[],"_globalFlags":{}},"config":{"id":"config","description":"Configure and install prerequisites deb packages to run it","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["~$ sudo eggs config\nConfigure and install prerequisites deb packages to run it"],"flags":{"nointeractive":{"name":"nointeractive","type":"boolean","char":"n","description":"assume yes","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create new one","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"dad":{"id":"dad","description":"ask help from daddy - configuration helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old configuration before to create","allowNo":false},"default":{"name":"default","type":"boolean","char":"d","description":"remove old configuration and force default","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"info":{"id":"info","description":"informations about eggs configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"install":{"id":"install","description":"command-line system installer - the egg became a penguin!","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs install\nInstall the system using GUI or CLI installer\n"],"flags":{"cli":{"name":"cli","type":"boolean","char":"c","description":"force use CLI installer","allowNo":false},"crypted":{"name":"crypted","type":"boolean","char":"k","description":"crypted CLI installation","allowNo":false},"pve":{"name":"pve","type":"boolean","char":"p","description":"Proxmox VE install","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"kill":{"id":"kill","description":"kill the eggs/free the nest","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs kill\nkill the eggs/free the nest"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"mom":{"id":"mom","description":"ask for mommy - gui helper","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"produce":{"id":"produce","description":"produce a live image from your system whithout your data","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs produce \nproduce an ISO called [hostname]-[arch]-YYYY-MM-DD_HHMM.iso, compressed xz (standard compression).\nIf hostname=ugo and arch=i386 ugo-x86-2020-08-25_1215.iso\n","$ sudo eggs produce -v\nsame as previuos, but with --verbose output\n","$ sudo eggs produce -vf\nsame as previuos, compression zstd, lz4 or gzip (depend from system capability)\n","$ sudo eggs produce -vm\nsame as previuos, compression xz -Xbcj x86 (max compression, about 10%\nmore compressed)\n","$ sudo eggs produce -vf --basename leo --theme debian --addons adapt \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression fast,\nusing Debian theme and link to adapt\n","$ sudo eggs produce -v --basename leo --theme debian --addons rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz,\nusing Debian theme and link to dwagent\n","$ sudo eggs produce -v --basename leo --rsupport \nproduce an ISO called leo-i386-2020-08-25_1215.iso compression xz, using eggs\ntheme and link to dwagent\n","$ sudo eggs produce -vs --basename leo --rsupport \nproduce scripts to build an ISO as the previus example. Scripts can be found\nin /home/eggs/ovarium and you can customize all you need\n"],"flags":{"prefix":{"name":"prefix","type":"option","char":"p","description":"prefix","multiple":false},"basename":{"name":"basename","type":"option","description":"basename","multiple":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"backup mode","allowNo":false},"fast":{"name":"fast","type":"boolean","char":"f","description":"fast compression","allowNo":false},"normal":{"name":"normal","type":"boolean","char":"n","description":"normal compression","allowNo":false},"max":{"name":"max","type":"boolean","char":"m","description":"max compression","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false},"yolk":{"name":"yolk","type":"boolean","char":"y","description":"-y force yolk renew","allowNo":false},"script":{"name":"script","type":"boolean","char":"s","description":"script mode. Generate scripts to manage iso build","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"theme":{"name":"theme","type":"option","description":"theme for livecd, calamares branding and partitions","multiple":false},"addons":{"name":"addons","type":"option","description":"addons to be used: adapt, ichoice, pve, rsupport","multiple":true},"release":{"name":"release","type":"boolean","description":"release: configure GUI installer to remove eggs and calamares after installation","allowNo":false}},"args":[],"_globalFlags":{}},"remove":{"id":"remove","description":"remove eggs and others stuff","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs remove \nremove eggs\n","$ sudo eggs remove --purge \nremove eggs, eggs configurations, configuration's files\n","$ sudo eggs remove --autoremove \nremove eggs, eggs configurations, packages dependencies\n"],"flags":{"purge":{"name":"purge","type":"boolean","char":"p","description":"remove eggs configurations files","allowNo":false},"autoremove":{"name":"autoremove","type":"boolean","char":"a","description":"remove eggs packages dependencies","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"syncfrom":{"id":"syncfrom","description":"Restore users, server and datas from luks-eggs-backup","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs restore"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"rootdir":{"name":"rootdir","type":"option","char":"r","description":"rootdir of the installed system, when used from live","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"syncto":{"id":"syncto","description":"Backup users, server and datas to luks-eggs-backup","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ sudo eggs syncto"],"flags":{"delete":{"name":"delete","type":"option","description":"rsync --delete delete extraneous files from dest dirs","multiple":false},"file":{"name":"file","type":"option","char":"f","description":"file LUKS volume encrypted","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"update":{"id":"update","description":"update the penguin's eggs tool","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs update\nupdate/upgrade the penguin's eggs tool"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"export:deb":{"id":"export:deb","description":"export deb/docs/iso to the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"remove old .deb before to copy","allowNo":false},"amd64":{"name":"amd64","type":"boolean","description":"export amd64 arch","allowNo":false},"i386":{"name":"i386","type":"boolean","description":"export i386 arch","allowNo":false},"armel":{"name":"armel","type":"boolean","description":"export armel arch","allowNo":false},"arm64":{"name":"arm64","type":"boolean","description":"export arm64 arch","allowNo":false},"all":{"name":"all","type":"boolean","char":"a","description":"export all archs","allowNo":false}},"args":[],"_globalFlags":{}},"export:docs":{"id":"export:docs","description":"remove and export docType documentation of the sources in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[],"_globalFlags":{}},"export:iso":{"id":"export:iso","description":"export iso in the destination host","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"backup":{"name":"backup","type":"boolean","char":"b","description":"export backup ISOs","allowNo":false},"clean":{"name":"clean","type":"boolean","char":"c","description":"delete old ISOs before to copy","allowNo":false}},"args":[],"_globalFlags":{}},"tools:clean":{"id":"tools:clean","description":"clean system log, apt, etc","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"tools:locales":{"id":"tools:locales","description":"install/clean locales","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"reinstall":{"name":"reinstall","type":"boolean","char":"r","description":"reinstall locales","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"verbose","allowNo":false}},"args":[],"_globalFlags":{}},"tools:skel":{"id":"tools:skel","description":"update skel from home configuration","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs skel --user mauro\ndesktop configuration of user mauro will get used as default"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"user":{"name":"user","type":"option","char":"u","description":"user to be used","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"tools:stat":{"id":"tools:stat","description":"get statistics from sourceforge","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"month":{"name":"month","type":"boolean","char":"m","description":"current month","allowNo":false},"year":{"name":"year","type":"boolean","char":"y","description":"current year","allowNo":false}},"args":[],"_globalFlags":{}},"tools:yolk":{"id":"tools:yolk","description":"configure eggs to install without internet","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"examples":["$ eggs yolk -v"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{},"dir":"/var/local/yolk"},"wardrobe:get":{"id":"wardrobe:get","description":"get warorobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"repo","description":"repository to get","required":false}],"_globalFlags":{}},"wardrobe:ironing":{"id":"wardrobe:ironing","description":"ordered show of costumes or accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}},"wardrobe:list":{"id":"wardrobe:list","description":"list costumes and accessoires in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"wardrobe","description":"wardrobe","required":false}],"_globalFlags":{}},"wardrobe:show":{"id":"wardrobe:show","description":"show costumes/accessories in wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"json":{"name":"json","type":"boolean","char":"j","description":"output JSON","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}},"wardrobe:wear":{"id":"wardrobe:wear","description":"wear costume/accessories from wardrobe","strict":true,"pluginName":"penguins-eggs","pluginAlias":"penguins-eggs","pluginType":"core","aliases":[],"flags":{"wardrobe":{"name":"wardrobe","type":"option","char":"w","description":"wardrobe","multiple":false},"no_accessories":{"name":"no_accessories","type":"boolean","char":"n","description":"not install accessories","allowNo":false},"silent":{"name":"silent","type":"boolean","char":"s","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[{"name":"costume","description":"costume","required":false}],"_globalFlags":{}}}}
|