penguins-eggs 9.0.48 → 9.1.10
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 +81 -47
- package/assets/leaves.svg +1 -0
- package/assets/live-installer/com.github.pieroproietti.penguins-eggs.policy +25 -0
- package/assets/live-installer/filesystem.packages-remove +49 -0
- package/assets/penguins-live-installer.desktop +27 -0
- package/lib/classes/daddy.js +22 -22
- package/lib/classes/distro.d.ts +1 -1
- package/lib/classes/distro.js +1 -1
- package/lib/classes/family/debian.d.ts +4 -0
- package/lib/classes/family/debian.js +7 -0
- package/lib/classes/ovary.d.ts +6 -0
- package/lib/classes/ovary.js +21 -7
- package/lib/classes/settings.js +3 -4
- package/lib/classes/sources_list.d.ts +27 -0
- package/lib/classes/sources_list.js +103 -0
- package/lib/classes/tailor.d.ts +25 -4
- package/lib/classes/tailor.js +225 -329
- package/lib/classes/utils.d.ts +10 -0
- package/lib/classes/utils.js +31 -11
- package/lib/classes/xdg.d.ts +2 -1
- package/lib/classes/xdg.js +47 -106
- package/lib/commands/config.js +4 -2
- package/lib/commands/info.js +1 -1
- package/lib/commands/update.d.ts +0 -2
- package/lib/commands/update.js +3 -52
- package/lib/commands/wardrobe/get.d.ts +17 -0
- package/lib/commands/wardrobe/get.js +43 -0
- package/lib/commands/wardrobe/ironing.d.ts +6 -5
- package/lib/commands/wardrobe/ironing.js +80 -78
- package/lib/commands/wardrobe/list.d.ts +5 -1
- package/lib/commands/wardrobe/list.js +46 -11
- package/lib/commands/wardrobe/show.d.ts +5 -1
- package/lib/commands/wardrobe/show.js +36 -20
- package/lib/commands/wardrobe/wear.d.ts +10 -1
- package/lib/commands/wardrobe/wear.js +54 -17
- package/lib/components/elements/information.js +23 -19
- package/lib/components/elements/title.js +4 -3
- package/lib/components/finished.js +1 -0
- package/lib/components/network.js +1 -0
- package/lib/components/welcome.js +2 -2
- package/lib/interfaces/i-costume.d.ts +4 -20
- package/lib/interfaces/i-materia.d.ts +32 -0
- package/lib/interfaces/i-materia.js +2 -0
- package/lib/interfaces/index.d.ts +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +17 -19
- package/scripts/_eggs +23 -19
- package/scripts/eggs.bash +7 -6
- package/scripts/mom-cli.sh +66 -0
- package/scripts/resy.sh +1 -1
- package/assets/penguins-clinstaller.desktop +0 -24
- package/assets/penguins-minstall.desktop +0 -95
- package/lib/classes/basket.d.ts +0 -22
- package/lib/classes/basket.js +0 -114
- package/wardrobe.d/external.yml +0 -7
- package/wardrobe.d/hen/control.template +0 -10
- package/wardrobe.d/hen/index.yml +0 -212
- package/wardrobe.d/kde/index.yml +0 -41
- package/wardrobe.d/lamp/index.yml +0 -35
- package/wardrobe.d/xfce4/index.yml +0 -53
package/README.md
CHANGED
|
@@ -72,6 +72,13 @@ I suggest to leave the default values unchanged during the development of your r
|
|
|
72
72
|
### yolk
|
|
73
73
|
yolk so called - staying on the subject of eggs - is a local repository included in the livecd that contains a minimum of indispensable packages during installation. Thanks to yolk, you can safely install your system without the need of an active internet connection.
|
|
74
74
|
|
|
75
|
+
### wardrobe
|
|
76
|
+
wardrobe was added to eggs on april 2022, it's is a way to guide and consolidate the processo of creating a custom version of Linux, starting from a CLI system. Actually - after very short time . all my personal editions are created using wardrobe. In this way I can organize, consolidate and manage better my work.
|
|
77
|
+
|
|
78
|
+
I hope peoples will be interested in wardrobe and you will end to fork the main repository and add your customizations: together will be possibile to make great steps impossible for an alone developer.
|
|
79
|
+
|
|
80
|
+
You can read more in wardrobe on [penguin's eggs blog](https://penguins-eggs.net/2022/04/12/wardrobe-colibri-duck-eagle-and-owl/). The result of mine customizations are under [ISOs/Debian/bullseys](https://sourceforge.net/projects/penguins-eggs/files/iso/debian/bullseye/) on my sourgeforce page.
|
|
81
|
+
|
|
75
82
|
## What distributions can I use?
|
|
76
83
|
eggs was born on Debian strecth/buster, but actually full support Debian from jessie to bookworm/sid, Devuan beowulf, chimaera, daedalus, Ubuntu bionic, focal, , hirsute, impish, jammy and all derivatives including Linux mint, Deepin, neon KDE, etc. I continuisly try it against Debian various versions, before releases, I tried it successfully in LMDE 4 debbie, and deepin. eggs, generally must work with all the derivates from Debian, Devuan and Ubuntu.
|
|
77
84
|
|
|
@@ -116,7 +123,6 @@ sudo dpkg -i eggs_8.17.17-1_i386.deb
|
|
|
116
123
|
## Upgrade eggs
|
|
117
124
|
If you are using penguins-eggs-ppa You can ugrade eggs as others packages just: **sudo apt upgrade**.
|
|
118
125
|
|
|
119
|
-
|
|
120
126
|
### Upgrade from basket
|
|
121
127
|
If you are using not the penguins-eggs-ppa, the fastest way to use sudo eggs update and choose basket. Eggs let you to select the last 4 versions on the [basket](https://sourceforge.net/projects/penguins-eggs/files/packages-deb/) and install it.
|
|
122
128
|
|
|
@@ -135,7 +141,7 @@ $ npm install -g penguins-eggs
|
|
|
135
141
|
$ eggs COMMAND
|
|
136
142
|
running command...
|
|
137
143
|
$ eggs (--version|-v)
|
|
138
|
-
penguins-eggs/9.
|
|
144
|
+
penguins-eggs/9.1.10 linux-x64 node-v16.14.2
|
|
139
145
|
$ eggs --help [COMMAND]
|
|
140
146
|
USAGE
|
|
141
147
|
$ eggs COMMAND
|
|
@@ -182,10 +188,11 @@ USAGE
|
|
|
182
188
|
* [`eggs tools yolk`](#eggs-tools-yolk)
|
|
183
189
|
* [`eggs update`](#eggs-update)
|
|
184
190
|
* [`eggs version`](#eggs-version)
|
|
185
|
-
* [`eggs wardrobe
|
|
186
|
-
* [`eggs wardrobe
|
|
187
|
-
* [`eggs wardrobe
|
|
188
|
-
* [`eggs wardrobe
|
|
191
|
+
* [`eggs wardrobe get [REPO]`](#eggs-wardrobe-get-repo)
|
|
192
|
+
* [`eggs wardrobe ironing [COSTUME]`](#eggs-wardrobe-ironing-costume)
|
|
193
|
+
* [`eggs wardrobe list [WARDROBE]`](#eggs-wardrobe-list-wardrobe)
|
|
194
|
+
* [`eggs wardrobe show [COSTUME]`](#eggs-wardrobe-show-costume)
|
|
195
|
+
* [`eggs wardrobe wear [COSTUME]`](#eggs-wardrobe-wear-costume)
|
|
189
196
|
|
|
190
197
|
## `eggs adapt`
|
|
191
198
|
|
|
@@ -206,7 +213,7 @@ ALIASES
|
|
|
206
213
|
$ eggs adjust
|
|
207
214
|
```
|
|
208
215
|
|
|
209
|
-
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
216
|
+
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/adapt.ts)_
|
|
210
217
|
|
|
211
218
|
## `eggs adjust`
|
|
212
219
|
|
|
@@ -246,7 +253,7 @@ EXAMPLES
|
|
|
246
253
|
$ sudo eggs analyze
|
|
247
254
|
```
|
|
248
255
|
|
|
249
|
-
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
256
|
+
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/analyze.ts)_
|
|
250
257
|
|
|
251
258
|
## `eggs autocomplete [SHELL]`
|
|
252
259
|
|
|
@@ -316,7 +323,7 @@ DESCRIPTION
|
|
|
316
323
|
bro: waydroid helper
|
|
317
324
|
```
|
|
318
325
|
|
|
319
|
-
_See code: [src/commands/bro.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
326
|
+
_See code: [src/commands/bro.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/bro.ts)_
|
|
320
327
|
|
|
321
328
|
## `eggs calamares`
|
|
322
329
|
|
|
@@ -345,7 +352,7 @@ EXAMPLES
|
|
|
345
352
|
install calamares and create it's configuration's files
|
|
346
353
|
```
|
|
347
354
|
|
|
348
|
-
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
355
|
+
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/calamares.ts)_
|
|
349
356
|
|
|
350
357
|
## `eggs clean`
|
|
351
358
|
|
|
@@ -391,7 +398,7 @@ EXAMPLES
|
|
|
391
398
|
Configure and install prerequisites deb packages to run it
|
|
392
399
|
```
|
|
393
400
|
|
|
394
|
-
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
401
|
+
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/config.ts)_
|
|
395
402
|
|
|
396
403
|
## `eggs dad`
|
|
397
404
|
|
|
@@ -411,7 +418,7 @@ DESCRIPTION
|
|
|
411
418
|
ask help from daddy - configuration helper
|
|
412
419
|
```
|
|
413
420
|
|
|
414
|
-
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
421
|
+
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/dad.ts)_
|
|
415
422
|
|
|
416
423
|
## `eggs export deb`
|
|
417
424
|
|
|
@@ -515,7 +522,7 @@ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.1
|
|
|
515
522
|
|
|
516
523
|
## `eggs info`
|
|
517
524
|
|
|
518
|
-
|
|
525
|
+
informations about eggs configuration
|
|
519
526
|
|
|
520
527
|
```
|
|
521
528
|
USAGE
|
|
@@ -526,10 +533,10 @@ FLAGS
|
|
|
526
533
|
-v, --verbose
|
|
527
534
|
|
|
528
535
|
DESCRIPTION
|
|
529
|
-
|
|
536
|
+
informations about eggs configuration
|
|
530
537
|
```
|
|
531
538
|
|
|
532
|
-
_See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
539
|
+
_See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/info.ts)_
|
|
533
540
|
|
|
534
541
|
## `eggs install`
|
|
535
542
|
|
|
@@ -558,7 +565,7 @@ EXAMPLES
|
|
|
558
565
|
Install the system using GUI or CLI installer
|
|
559
566
|
```
|
|
560
567
|
|
|
561
|
-
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
568
|
+
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/install.ts)_
|
|
562
569
|
|
|
563
570
|
## `eggs kill`
|
|
564
571
|
|
|
@@ -580,7 +587,7 @@ EXAMPLES
|
|
|
580
587
|
kill the eggs/free the nest
|
|
581
588
|
```
|
|
582
589
|
|
|
583
|
-
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
590
|
+
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/kill.ts)_
|
|
584
591
|
|
|
585
592
|
## `eggs krill`
|
|
586
593
|
|
|
@@ -687,7 +694,7 @@ DESCRIPTION
|
|
|
687
694
|
ask for mommy - gui helper
|
|
688
695
|
```
|
|
689
696
|
|
|
690
|
-
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
697
|
+
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/mom.ts)_
|
|
691
698
|
|
|
692
699
|
## `eggs prerequisites`
|
|
693
700
|
|
|
@@ -777,7 +784,7 @@ EXAMPLES
|
|
|
777
784
|
in /home/eggs/ovarium and you can customize all you need
|
|
778
785
|
```
|
|
779
786
|
|
|
780
|
-
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
787
|
+
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/produce.ts)_
|
|
781
788
|
|
|
782
789
|
## `eggs remove`
|
|
783
790
|
|
|
@@ -807,7 +814,7 @@ EXAMPLES
|
|
|
807
814
|
remove eggs, eggs configurations, packages dependencies
|
|
808
815
|
```
|
|
809
816
|
|
|
810
|
-
_See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
817
|
+
_See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/remove.ts)_
|
|
811
818
|
|
|
812
819
|
## `eggs restore`
|
|
813
820
|
|
|
@@ -966,7 +973,7 @@ EXAMPLES
|
|
|
966
973
|
$ sudo eggs restore
|
|
967
974
|
```
|
|
968
975
|
|
|
969
|
-
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
976
|
+
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/syncfrom.ts)_
|
|
970
977
|
|
|
971
978
|
## `eggs syncto`
|
|
972
979
|
|
|
@@ -992,7 +999,7 @@ EXAMPLES
|
|
|
992
999
|
$ sudo eggs syncto
|
|
993
1000
|
```
|
|
994
1001
|
|
|
995
|
-
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
1002
|
+
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/syncto.ts)_
|
|
996
1003
|
|
|
997
1004
|
## `eggs tools clean`
|
|
998
1005
|
|
|
@@ -1099,11 +1106,9 @@ update the penguin's eggs tool
|
|
|
1099
1106
|
|
|
1100
1107
|
```
|
|
1101
1108
|
USAGE
|
|
1102
|
-
$ eggs update [-h] [-
|
|
1109
|
+
$ eggs update [-h] [-v]
|
|
1103
1110
|
|
|
1104
1111
|
FLAGS
|
|
1105
|
-
-a, --apt if eggs package is .deb, update from distro repositories
|
|
1106
|
-
-b, --basket if eggs package is .deb, update from eggs basket
|
|
1107
1112
|
-h, --help Show CLI help.
|
|
1108
1113
|
-v, --verbose verbose
|
|
1109
1114
|
|
|
@@ -1115,7 +1120,7 @@ EXAMPLES
|
|
|
1115
1120
|
update/upgrade the penguin's eggs tool
|
|
1116
1121
|
```
|
|
1117
1122
|
|
|
1118
|
-
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.
|
|
1123
|
+
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.10/src/commands/update.ts)_
|
|
1119
1124
|
|
|
1120
1125
|
## `eggs version`
|
|
1121
1126
|
|
|
@@ -1126,31 +1131,35 @@ USAGE
|
|
|
1126
1131
|
|
|
1127
1132
|
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.0.4/src/commands/version.ts)_
|
|
1128
1133
|
|
|
1129
|
-
## `eggs wardrobe
|
|
1134
|
+
## `eggs wardrobe get [REPO]`
|
|
1130
1135
|
|
|
1131
|
-
|
|
1136
|
+
get warorobe
|
|
1132
1137
|
|
|
1133
1138
|
```
|
|
1134
1139
|
USAGE
|
|
1135
|
-
$ eggs wardrobe
|
|
1140
|
+
$ eggs wardrobe get [REPO] [-v] [-h]
|
|
1141
|
+
|
|
1142
|
+
ARGUMENTS
|
|
1143
|
+
REPO repository to get
|
|
1136
1144
|
|
|
1137
1145
|
FLAGS
|
|
1138
|
-
-
|
|
1139
|
-
-h, --help Show CLI help.
|
|
1146
|
+
-h, --help Show CLI help.
|
|
1140
1147
|
-v, --verbose
|
|
1141
|
-
-w, --wardrobe=<value> wardrobe
|
|
1142
1148
|
|
|
1143
1149
|
DESCRIPTION
|
|
1144
|
-
|
|
1150
|
+
get warorobe
|
|
1145
1151
|
```
|
|
1146
1152
|
|
|
1147
|
-
## `eggs wardrobe
|
|
1153
|
+
## `eggs wardrobe ironing [COSTUME]`
|
|
1148
1154
|
|
|
1149
|
-
|
|
1155
|
+
ordered show of costumes or accessories in wardrobe
|
|
1150
1156
|
|
|
1151
1157
|
```
|
|
1152
1158
|
USAGE
|
|
1153
|
-
$ eggs wardrobe
|
|
1159
|
+
$ eggs wardrobe ironing [COSTUME] [-w <value>] [-v] [-h]
|
|
1160
|
+
|
|
1161
|
+
ARGUMENTS
|
|
1162
|
+
COSTUME costume
|
|
1154
1163
|
|
|
1155
1164
|
FLAGS
|
|
1156
1165
|
-h, --help Show CLI help.
|
|
@@ -1158,44 +1167,69 @@ FLAGS
|
|
|
1158
1167
|
-w, --wardrobe=<value> wardrobe
|
|
1159
1168
|
|
|
1160
1169
|
DESCRIPTION
|
|
1161
|
-
|
|
1170
|
+
ordered show of costumes or accessories in wardrobe
|
|
1162
1171
|
```
|
|
1163
1172
|
|
|
1164
|
-
## `eggs wardrobe
|
|
1173
|
+
## `eggs wardrobe list [WARDROBE]`
|
|
1165
1174
|
|
|
1166
|
-
|
|
1175
|
+
list costumes and accessoires in wardrobe
|
|
1167
1176
|
|
|
1168
1177
|
```
|
|
1169
1178
|
USAGE
|
|
1170
|
-
$ eggs wardrobe
|
|
1179
|
+
$ eggs wardrobe list [WARDROBE] [-v] [-h]
|
|
1180
|
+
|
|
1181
|
+
ARGUMENTS
|
|
1182
|
+
WARDROBE wardrobe
|
|
1183
|
+
|
|
1184
|
+
FLAGS
|
|
1185
|
+
-h, --help Show CLI help.
|
|
1186
|
+
-v, --verbose
|
|
1187
|
+
|
|
1188
|
+
DESCRIPTION
|
|
1189
|
+
list costumes and accessoires in wardrobe
|
|
1190
|
+
```
|
|
1191
|
+
|
|
1192
|
+
## `eggs wardrobe show [COSTUME]`
|
|
1193
|
+
|
|
1194
|
+
show costumes/accessories in wardrobe
|
|
1195
|
+
|
|
1196
|
+
```
|
|
1197
|
+
USAGE
|
|
1198
|
+
$ eggs wardrobe show [COSTUME] [-w <value>] [-j] [-v] [-h]
|
|
1199
|
+
|
|
1200
|
+
ARGUMENTS
|
|
1201
|
+
COSTUME costume
|
|
1171
1202
|
|
|
1172
1203
|
FLAGS
|
|
1173
|
-
-c, --costume=<value> costume
|
|
1174
1204
|
-h, --help Show CLI help.
|
|
1175
1205
|
-j, --json output JSON
|
|
1176
1206
|
-v, --verbose
|
|
1177
1207
|
-w, --wardrobe=<value> wardrobe
|
|
1178
1208
|
|
|
1179
1209
|
DESCRIPTION
|
|
1180
|
-
show costumes
|
|
1210
|
+
show costumes/accessories in wardrobe
|
|
1181
1211
|
```
|
|
1182
1212
|
|
|
1183
|
-
## `eggs wardrobe wear`
|
|
1213
|
+
## `eggs wardrobe wear [COSTUME]`
|
|
1184
1214
|
|
|
1185
|
-
wear costume
|
|
1215
|
+
wear costume/accessories from wardrobe
|
|
1186
1216
|
|
|
1187
1217
|
```
|
|
1188
1218
|
USAGE
|
|
1189
|
-
$ eggs wardrobe wear [-
|
|
1219
|
+
$ eggs wardrobe wear [COSTUME] [-w <value>] [-n] [-s] [-v] [-h]
|
|
1220
|
+
|
|
1221
|
+
ARGUMENTS
|
|
1222
|
+
COSTUME costume
|
|
1190
1223
|
|
|
1191
1224
|
FLAGS
|
|
1192
|
-
-c, --costume=<value> Costume
|
|
1193
1225
|
-h, --help Show CLI help.
|
|
1226
|
+
-n, --no_accessories not install accessories
|
|
1227
|
+
-s, --silent
|
|
1194
1228
|
-v, --verbose
|
|
1195
1229
|
-w, --wardrobe=<value> wardrobe
|
|
1196
1230
|
|
|
1197
1231
|
DESCRIPTION
|
|
1198
|
-
wear costume
|
|
1232
|
+
wear costume/accessories from wardrobe
|
|
1199
1233
|
```
|
|
1200
1234
|
<!-- commandsstop -->
|
|
1201
1235
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 485.82 330.37"><defs><style>.cls-1{fill:#205c2e;}</style></defs><title>Wikimania2019_icon</title><path class="cls-1" d="M101,256.56c53.44,78.12,126.28,76.54,155.64,72.09-31.9-6.57-69.7-25-100.89-70.61C102.29,179.92,29.44,181.51.08,186,32,192.52,69.79,211,101,256.56Z"/><path class="cls-1" d="M157.34,125.91C293.09,131.06,338.87,40.11,352.42,0,323,33.25,274.42,63,195.2,60,59.48,54.84,13.69,145.75.13,185.87l0,0C29.58,152.62,78.16,122.92,157.34,125.91Z"/><path class="cls-1" d="M.11,185.94c53.4-11.08,123.32-5.77,200,51.11,131.55,97.53,243.09,43.47,285.66,15.09-53.41,11.11-123.38,5.83-200.16-51.09-131.39-97.4-242.81-43.6-285.5-15.2l0,0L0,186H.11Z"/></svg>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- SPDX-FileCopyrightText: no
|
|
3
|
+
SPDX-License-Identifier: CC0-1.0
|
|
4
|
+
-->
|
|
5
|
+
<!DOCTYPE policyconfig PUBLIC
|
|
6
|
+
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
|
7
|
+
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
|
8
|
+
<policyconfig>
|
|
9
|
+
|
|
10
|
+
<vendor>penguins-eggs</vendor>
|
|
11
|
+
<vendor_url>com.github.pieroproietti.penguins-eggs</vendor_url>
|
|
12
|
+
|
|
13
|
+
<action id="com.github.pieroproietti.penguins-eggs.pkexec.run">
|
|
14
|
+
<description>Run Installer</description>
|
|
15
|
+
<message>Authentication is required to run the installation program</message>
|
|
16
|
+
<icon_name>drive-harddisk</icon_name>
|
|
17
|
+
<defaults>
|
|
18
|
+
<allow_any>no</allow_any>
|
|
19
|
+
<allow_inactive>no</allow_inactive>
|
|
20
|
+
<allow_active>auth_admin</allow_active>
|
|
21
|
+
</defaults>
|
|
22
|
+
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/live-installer</annotate>
|
|
23
|
+
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
|
24
|
+
</action>
|
|
25
|
+
</policyconfig>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
boot-repair
|
|
2
|
+
boot-sav
|
|
3
|
+
boot-sav-extra
|
|
4
|
+
circle-flags-svg
|
|
5
|
+
glade2script
|
|
6
|
+
glade2script-python3
|
|
7
|
+
gparted
|
|
8
|
+
gparted-common
|
|
9
|
+
imagemagick
|
|
10
|
+
imagemagick-6-common
|
|
11
|
+
imagemagick-6.q16
|
|
12
|
+
insserv
|
|
13
|
+
isoquery
|
|
14
|
+
libde265-0:amd64
|
|
15
|
+
libheif1:amd64
|
|
16
|
+
libilmbase25:amd64
|
|
17
|
+
libjxr-tools
|
|
18
|
+
libjxr0:amd64
|
|
19
|
+
liblqr-1-0:amd64
|
|
20
|
+
libmagickcore-6.q16-6:amd64
|
|
21
|
+
libmagickcore-6.q16-6-extra:amd64
|
|
22
|
+
libmagickwand-6.q16-6:amd64
|
|
23
|
+
libnetpbm10
|
|
24
|
+
libopenexr25:amd64
|
|
25
|
+
libqt5designer5:amd64
|
|
26
|
+
libqt5help5:amd64
|
|
27
|
+
libqt5printsupport5:amd64
|
|
28
|
+
libqt5sql5:amd64
|
|
29
|
+
libqt5sql5-sqlite:amd64
|
|
30
|
+
libqt5test5:amd64
|
|
31
|
+
libqt5xml5:amd64
|
|
32
|
+
libwmf0.2-7:amd64
|
|
33
|
+
live-boot
|
|
34
|
+
live-boot-doc
|
|
35
|
+
live-boot-initramfs-tools
|
|
36
|
+
live-config
|
|
37
|
+
live-config-doc
|
|
38
|
+
live-config-systemd
|
|
39
|
+
live-installer
|
|
40
|
+
live-tools
|
|
41
|
+
menu
|
|
42
|
+
mint-live-session
|
|
43
|
+
netpbm
|
|
44
|
+
pastebinit
|
|
45
|
+
python3-pyqt5
|
|
46
|
+
python3-pyqt5.sip
|
|
47
|
+
startpar
|
|
48
|
+
syslinux-utils
|
|
49
|
+
sysv-rc
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env xdg-open
|
|
2
|
+
[Desktop Entry]
|
|
3
|
+
Type=Application
|
|
4
|
+
Version=1.0
|
|
5
|
+
Name=Linux Mint installer
|
|
6
|
+
GenericName=Linux Mint installer
|
|
7
|
+
Exec=sudo /usr/bin/live-installer
|
|
8
|
+
Comment=Linux Mint installer
|
|
9
|
+
Keywords=system;install;debian;installer
|
|
10
|
+
Icon=leaves
|
|
11
|
+
Terminal=false
|
|
12
|
+
Categories=System;
|
|
13
|
+
Name[it]=Linux Mint installer
|
|
14
|
+
GenericName[it]=Installa sistema
|
|
15
|
+
Comment[it]=Installazione sistema
|
|
16
|
+
Name[en]=Linux Mint installer
|
|
17
|
+
GenericName[en]=Linux Mint installer
|
|
18
|
+
Comment[en]=Linux Mint installer
|
|
19
|
+
Name[es]=Instalación del sistema
|
|
20
|
+
GenericName[es]=Instalación del sistema
|
|
21
|
+
Comment[es]=Instalación del sistema
|
|
22
|
+
Name[pt]=Instalação do sistema
|
|
23
|
+
GenericName[pt]=Instalação do sistema
|
|
24
|
+
Comment[pt]=Instalação do sistema
|
|
25
|
+
Name[fr]=Installation du système
|
|
26
|
+
GenericName[fr]=Installation du système
|
|
27
|
+
Comment[fr]=Installation du système
|
package/lib/classes/daddy.js
CHANGED
|
@@ -109,28 +109,28 @@ class Daddy {
|
|
|
109
109
|
await (0, utils_2.exec)(`rm ${this.settings.work_dir.path} -rf`);
|
|
110
110
|
await (0, utils_2.exec)(`rm ${this.settings.config.snapshot_dir} -rf`);
|
|
111
111
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
112
|
+
/**
|
|
113
|
+
* produce
|
|
114
|
+
*/
|
|
115
|
+
if (loadDefault) {
|
|
116
|
+
verbose = false;
|
|
117
|
+
}
|
|
118
|
+
flags += ' --' + newConf.compression;
|
|
119
|
+
flags += ' --addons adapt';
|
|
120
|
+
utils_1.default.titles('produce' + ' ' + flags);
|
|
121
|
+
console.log(chalk_1.default.cyan('Daddy, what else did you leave for me?'));
|
|
122
|
+
const myAddons = {};
|
|
123
|
+
myAddons.adapt = true;
|
|
124
|
+
const backup = false;
|
|
125
|
+
const scriptOnly = false;
|
|
126
|
+
const yolkRenew = false;
|
|
127
|
+
const final = false;
|
|
128
|
+
const ovary = new ovary_1.default();
|
|
129
|
+
utils_1.default.warning('Produce an egg...');
|
|
130
|
+
if (await ovary.fertilization(config.snapshot_prefix, config.snapshot_basename, config.theme, config.compression)) {
|
|
131
|
+
await ovary.produce(backup, scriptOnly, yolkRenew, final, myAddons, verbose);
|
|
132
|
+
ovary.finished(scriptOnly);
|
|
133
|
+
}
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}
|
package/lib/classes/distro.d.ts
CHANGED
package/lib/classes/distro.js
CHANGED
|
@@ -135,6 +135,13 @@ class Debian {
|
|
|
135
135
|
}
|
|
136
136
|
return installed;
|
|
137
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
static async liveInstallerPolicies() {
|
|
142
|
+
const policyFile = '/usr/share/polkit-1/actions/com.github.pieroproietti.penguins-eggs.policy';
|
|
143
|
+
await (0, utils_2.exec)(`sed -i 's/auth_admin/yes/' ${policyFile}`);
|
|
144
|
+
}
|
|
138
145
|
/**
|
|
139
146
|
*
|
|
140
147
|
*/
|
package/lib/classes/ovary.d.ts
CHANGED
package/lib/classes/ovary.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/* eslint-disable valid-jsdoc */
|
|
3
|
-
/* eslint-disable no-console */
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
const tslib_1 = require("tslib");
|
|
6
2
|
/**
|
|
7
3
|
* penguins-eggs: ovary.ts
|
|
8
4
|
* author: Piero Proietti
|
|
9
5
|
* mail: piero.proietti@gmail.com
|
|
10
6
|
*
|
|
11
7
|
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
const tslib_1 = require("tslib");
|
|
12
10
|
// packages
|
|
13
11
|
const fs = require("fs");
|
|
14
12
|
const node_path_1 = tslib_1.__importDefault(require("node:path"));
|
|
@@ -933,6 +931,7 @@ class Ovary {
|
|
|
933
931
|
// Copia icona penguins-eggs
|
|
934
932
|
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/eggs.png'), '/usr/share/icons/');
|
|
935
933
|
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/krill.svg'), '/usr/share/icons/');
|
|
934
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/leaves.svg'), '/usr/share/icons/');
|
|
936
935
|
/**
|
|
937
936
|
* creazione dei link in /usr/share/applications
|
|
938
937
|
*/
|
|
@@ -943,9 +942,24 @@ class Ovary {
|
|
|
943
942
|
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, `../../addons/${theme}/theme/applications/install-debian.desktop`), `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
944
943
|
}
|
|
945
944
|
else {
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
945
|
+
if (pacman_1.default.packageIsInstalled('live-installer')) {
|
|
946
|
+
// carico la policy per live-installer
|
|
947
|
+
const policySource = node_path_1.default.resolve(__dirname, '../../assets/live-installer/com.github.pieroproietti.penguins-eggs.policy');
|
|
948
|
+
const policyDest = '/usr/share/polkit-1/actions/com.github.pieroproietti.penguins-eggs.policy';
|
|
949
|
+
shelljs_1.default.cp(policySource, policyDest);
|
|
950
|
+
await (0, utils_1.exec)(`sed -i 's/auth_admin/yes/' ${policyDest}`);
|
|
951
|
+
// carico in filesystem.live packages-remove
|
|
952
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/live-installer/filesystem.packages-remove'), `${this.settings.work_dir.pathIso}/live/`);
|
|
953
|
+
shelljs_1.default.touch(`${this.settings.work_dir.pathIso}/live/filesystem.packages`);
|
|
954
|
+
installerUrl = 'penguins-live-installer.desktop';
|
|
955
|
+
installerIcon = 'utilities-terminal';
|
|
956
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-live-installer.desktop'), `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
957
|
+
}
|
|
958
|
+
else {
|
|
959
|
+
installerUrl = 'penguins-krill.desktop';
|
|
960
|
+
installerIcon = 'utilities-terminal';
|
|
961
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../assets/penguins-krill.desktop'), `${this.settings.work_dir.merged}/usr/share/applications/`);
|
|
962
|
+
}
|
|
949
963
|
}
|
|
950
964
|
/**
|
|
951
965
|
* flags
|
package/lib/classes/settings.js
CHANGED
|
@@ -12,9 +12,8 @@ const node_fs_1 = tslib_1.__importDefault(require("node:fs"));
|
|
|
12
12
|
const node_os_1 = tslib_1.__importDefault(require("node:os"));
|
|
13
13
|
const js_yaml_1 = tslib_1.__importDefault(require("js-yaml"));
|
|
14
14
|
const shelljs_1 = tslib_1.__importDefault(require("shelljs"));
|
|
15
|
-
const pjson_1 = tslib_1.__importDefault(require("pjson"));
|
|
16
15
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
17
|
-
|
|
16
|
+
const pjson = require('../../package.json');
|
|
18
17
|
// classes
|
|
19
18
|
const utils_1 = tslib_1.__importDefault(require("./utils"));
|
|
20
19
|
const distro_1 = tslib_1.__importDefault(require("./distro"));
|
|
@@ -44,8 +43,8 @@ class Settings {
|
|
|
44
43
|
this.app.author = 'Piero Proietti';
|
|
45
44
|
this.app.homepage = 'https://github.com/pieroproietti/penguins-eggs';
|
|
46
45
|
this.app.mail = 'piero.proietti@gmail.com';
|
|
47
|
-
this.app.name =
|
|
48
|
-
this.app.version =
|
|
46
|
+
this.app.name = pjson.name;
|
|
47
|
+
this.app.version = pjson.version;
|
|
49
48
|
this.isLive = utils_1.default.isLive();
|
|
50
49
|
this.i686 = utils_1.default.isi686();
|
|
51
50
|
this.distro = new distro_1.default(this.remix);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* penguins-eggs: tailor.ts
|
|
3
|
+
* author: Piero Proietti
|
|
4
|
+
* mail: piero.proietti@gmail.com
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
export default class SourcesList {
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @param repos
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
distribution(distributions: string[]): Promise<boolean>;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @param repos
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
components(components: string[]): Promise<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
private get;
|
|
27
|
+
}
|