penguins-eggs 10.0.20 → 10.0.21
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/.oclif.manifest.json +1 -1
- package/README.md +29 -29
- package/addons/README.md +1 -1
- package/dist/classes/bleach.d.ts +0 -5
- package/dist/classes/bleach.js +13 -15
- package/dist/classes/daddy.js +1 -0
- package/dist/classes/distro.js +19 -0
- package/dist/classes/families/{suse.d.ts → opensuse.d.ts} +1 -1
- package/dist/classes/families/{suse.js → opensuse.js} +3 -4
- package/dist/classes/ovary.d.ts +4 -0
- package/dist/classes/ovary.js +20 -2
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +3 -587
- package/package.json +9 -9
- package/scripts/eggs-adapt.sh +0 -5
package/.oclif.manifest.json
CHANGED
package/README.md
CHANGED
|
@@ -486,7 +486,7 @@ EXAMPLES
|
|
|
486
486
|
$ eggs adapt
|
|
487
487
|
```
|
|
488
488
|
|
|
489
|
-
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
489
|
+
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/adapt.ts)_
|
|
490
490
|
|
|
491
491
|
## `eggs analyze`
|
|
492
492
|
|
|
@@ -507,7 +507,7 @@ EXAMPLES
|
|
|
507
507
|
sudo eggs analyze
|
|
508
508
|
```
|
|
509
509
|
|
|
510
|
-
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
510
|
+
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/analyze.ts)_
|
|
511
511
|
|
|
512
512
|
## `eggs autocomplete [SHELL]`
|
|
513
513
|
|
|
@@ -538,7 +538,7 @@ EXAMPLES
|
|
|
538
538
|
$ eggs autocomplete --refresh-cache
|
|
539
539
|
```
|
|
540
540
|
|
|
541
|
-
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.1.
|
|
541
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.1.11/src/commands/autocomplete/index.ts)_
|
|
542
542
|
|
|
543
543
|
## `eggs calamares`
|
|
544
544
|
|
|
@@ -571,7 +571,7 @@ EXAMPLES
|
|
|
571
571
|
sudo eggs calamares --remove
|
|
572
572
|
```
|
|
573
573
|
|
|
574
|
-
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
574
|
+
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/calamares.ts)_
|
|
575
575
|
|
|
576
576
|
## `eggs config`
|
|
577
577
|
|
|
@@ -598,7 +598,7 @@ EXAMPLES
|
|
|
598
598
|
sudo eggs config --clean --nointeractive
|
|
599
599
|
```
|
|
600
600
|
|
|
601
|
-
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
601
|
+
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/config.ts)_
|
|
602
602
|
|
|
603
603
|
## `eggs cuckoo`
|
|
604
604
|
|
|
@@ -618,7 +618,7 @@ EXAMPLES
|
|
|
618
618
|
sudo eggs cuckoo
|
|
619
619
|
```
|
|
620
620
|
|
|
621
|
-
_See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
621
|
+
_See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/cuckoo.ts)_
|
|
622
622
|
|
|
623
623
|
## `eggs dad`
|
|
624
624
|
|
|
@@ -646,7 +646,7 @@ EXAMPLES
|
|
|
646
646
|
sudo dad --default
|
|
647
647
|
```
|
|
648
648
|
|
|
649
|
-
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
649
|
+
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/dad.ts)_
|
|
650
650
|
|
|
651
651
|
## `eggs export deb`
|
|
652
652
|
|
|
@@ -673,7 +673,7 @@ EXAMPLES
|
|
|
673
673
|
$ eggs export deb --all
|
|
674
674
|
```
|
|
675
675
|
|
|
676
|
-
_See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
676
|
+
_See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/export/deb.ts)_
|
|
677
677
|
|
|
678
678
|
## `eggs export iso`
|
|
679
679
|
|
|
@@ -698,7 +698,7 @@ EXAMPLES
|
|
|
698
698
|
$ eggs export iso --clean
|
|
699
699
|
```
|
|
700
700
|
|
|
701
|
-
_See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
701
|
+
_See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/export/iso.ts)_
|
|
702
702
|
|
|
703
703
|
## `eggs help [COMMAND]`
|
|
704
704
|
|
|
@@ -718,7 +718,7 @@ DESCRIPTION
|
|
|
718
718
|
Display help for eggs.
|
|
719
719
|
```
|
|
720
720
|
|
|
721
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.
|
|
721
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.7/src/commands/help.ts)_
|
|
722
722
|
|
|
723
723
|
## `eggs install`
|
|
724
724
|
|
|
@@ -759,7 +759,7 @@ EXAMPLES
|
|
|
759
759
|
sudo eggs install --chroot
|
|
760
760
|
```
|
|
761
761
|
|
|
762
|
-
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
762
|
+
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/install.ts)_
|
|
763
763
|
|
|
764
764
|
## `eggs kill`
|
|
765
765
|
|
|
@@ -782,7 +782,7 @@ EXAMPLES
|
|
|
782
782
|
sudo eggs kill
|
|
783
783
|
```
|
|
784
784
|
|
|
785
|
-
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
785
|
+
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/kill.ts)_
|
|
786
786
|
|
|
787
787
|
## `eggs krill`
|
|
788
788
|
|
|
@@ -841,7 +841,7 @@ EXAMPLES
|
|
|
841
841
|
$ eggs mom
|
|
842
842
|
```
|
|
843
843
|
|
|
844
|
-
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
844
|
+
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/mom.ts)_
|
|
845
845
|
|
|
846
846
|
## `eggs produce`
|
|
847
847
|
|
|
@@ -898,7 +898,7 @@ EXAMPLES
|
|
|
898
898
|
sudo eggs produce --excludes home # exclude ~/*
|
|
899
899
|
```
|
|
900
900
|
|
|
901
|
-
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
901
|
+
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/produce.ts)_
|
|
902
902
|
|
|
903
903
|
## `eggs status`
|
|
904
904
|
|
|
@@ -919,7 +919,7 @@ EXAMPLES
|
|
|
919
919
|
$ eggs status
|
|
920
920
|
```
|
|
921
921
|
|
|
922
|
-
_See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
922
|
+
_See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/status.ts)_
|
|
923
923
|
|
|
924
924
|
## `eggs syncfrom`
|
|
925
925
|
|
|
@@ -945,7 +945,7 @@ EXAMPLES
|
|
|
945
945
|
sudo eggs syncfrom --file /path/to/luks-volume
|
|
946
946
|
```
|
|
947
947
|
|
|
948
|
-
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
948
|
+
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/syncfrom.ts)_
|
|
949
949
|
|
|
950
950
|
## `eggs syncto`
|
|
951
951
|
|
|
@@ -972,7 +972,7 @@ EXAMPLES
|
|
|
972
972
|
sudo eggs syncto --excludes
|
|
973
973
|
```
|
|
974
974
|
|
|
975
|
-
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
975
|
+
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/syncto.ts)_
|
|
976
976
|
|
|
977
977
|
## `eggs tools clean`
|
|
978
978
|
|
|
@@ -994,7 +994,7 @@ EXAMPLES
|
|
|
994
994
|
sudo eggs tools clean
|
|
995
995
|
```
|
|
996
996
|
|
|
997
|
-
_See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
997
|
+
_See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/tools/clean.ts)_
|
|
998
998
|
|
|
999
999
|
## `eggs tools ppa`
|
|
1000
1000
|
|
|
@@ -1020,7 +1020,7 @@ EXAMPLES
|
|
|
1020
1020
|
sudo eggs tools ppa --remove
|
|
1021
1021
|
```
|
|
1022
1022
|
|
|
1023
|
-
_See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1023
|
+
_See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/tools/ppa.ts)_
|
|
1024
1024
|
|
|
1025
1025
|
## `eggs tools skel`
|
|
1026
1026
|
|
|
@@ -1044,7 +1044,7 @@ EXAMPLES
|
|
|
1044
1044
|
sudo eggs tools skel --user user-to-be-copied
|
|
1045
1045
|
```
|
|
1046
1046
|
|
|
1047
|
-
_See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1047
|
+
_See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/tools/skel.ts)_
|
|
1048
1048
|
|
|
1049
1049
|
## `eggs tools stat`
|
|
1050
1050
|
|
|
@@ -1070,7 +1070,7 @@ EXAMPLES
|
|
|
1070
1070
|
$ eggs tools stat --year
|
|
1071
1071
|
```
|
|
1072
1072
|
|
|
1073
|
-
_See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1073
|
+
_See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/tools/stat.ts)_
|
|
1074
1074
|
|
|
1075
1075
|
## `eggs tools yolk`
|
|
1076
1076
|
|
|
@@ -1091,7 +1091,7 @@ EXAMPLES
|
|
|
1091
1091
|
sudo eggs tools yolk
|
|
1092
1092
|
```
|
|
1093
1093
|
|
|
1094
|
-
_See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1094
|
+
_See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/tools/yolk.ts)_
|
|
1095
1095
|
|
|
1096
1096
|
## `eggs update`
|
|
1097
1097
|
|
|
@@ -1112,7 +1112,7 @@ EXAMPLES
|
|
|
1112
1112
|
$ eggs update
|
|
1113
1113
|
```
|
|
1114
1114
|
|
|
1115
|
-
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1115
|
+
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/update.ts)_
|
|
1116
1116
|
|
|
1117
1117
|
## `eggs version`
|
|
1118
1118
|
|
|
@@ -1132,7 +1132,7 @@ FLAG DESCRIPTIONS
|
|
|
1132
1132
|
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
|
|
1133
1133
|
```
|
|
1134
1134
|
|
|
1135
|
-
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.
|
|
1135
|
+
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.9/src/commands/version.ts)_
|
|
1136
1136
|
|
|
1137
1137
|
## `eggs wardrobe get [REPO]`
|
|
1138
1138
|
|
|
@@ -1158,7 +1158,7 @@ EXAMPLES
|
|
|
1158
1158
|
$ eggs wardrobe get your-wardrobe
|
|
1159
1159
|
```
|
|
1160
1160
|
|
|
1161
|
-
_See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1161
|
+
_See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/wardrobe/get.ts)_
|
|
1162
1162
|
|
|
1163
1163
|
## `eggs wardrobe list [REPO]`
|
|
1164
1164
|
|
|
@@ -1187,7 +1187,7 @@ EXAMPLES
|
|
|
1187
1187
|
$ eggs wardrobe list --distro arch
|
|
1188
1188
|
```
|
|
1189
1189
|
|
|
1190
|
-
_See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1190
|
+
_See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/wardrobe/list.ts)_
|
|
1191
1191
|
|
|
1192
1192
|
## `eggs wardrobe show [REPO]`
|
|
1193
1193
|
|
|
@@ -1217,7 +1217,7 @@ EXAMPLES
|
|
|
1217
1217
|
$ eggs wardrobe show accessories/
|
|
1218
1218
|
```
|
|
1219
1219
|
|
|
1220
|
-
_See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1220
|
+
_See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/wardrobe/show.ts)_
|
|
1221
1221
|
|
|
1222
1222
|
## `eggs wardrobe wear [REPO]`
|
|
1223
1223
|
|
|
@@ -1248,7 +1248,7 @@ EXAMPLES
|
|
|
1248
1248
|
sudo eggs wardrobe wear wagtail/waydroid
|
|
1249
1249
|
```
|
|
1250
1250
|
|
|
1251
|
-
_See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1251
|
+
_See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.21/src/commands/wardrobe/wear.ts)_
|
|
1252
1252
|
<!-- commandsstop -->
|
|
1253
1253
|
|
|
1254
1254
|
# penGUI
|
|
@@ -1267,7 +1267,7 @@ _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/peng
|
|
|
1267
1267
|
In addition to the official guide, there are other resources available for Penguins' Eggs users, particularly developers. These resources can be found in the [penguins-eggs repository](https://github.com/pieroproietti/penguins-eggs) under the [documents](https://github.com/pieroproietti/penguins-eggs/tree/master/documents) section.
|
|
1268
1268
|
|
|
1269
1269
|
Some noteworthy documents include:
|
|
1270
|
-
- [Hens: Different Species](https://github.com/pieroproietti/penguins-eggs/blob/master
|
|
1270
|
+
- [Hens: Different Species](https://github.com/pieroproietti/penguins-eggs/blob/master//hens-different-species.md): A brief guide on using Penguins' Eggs in Debian, Arch, and Manjaro.
|
|
1271
1271
|
- [Arch-naked](https://penguins-eggs.net/docs/Tutorial/archlinux-naked.html): A blog post detailing how to create an Arch naked live, install it, and customize the resulting system into a graphics development station.
|
|
1272
1272
|
|
|
1273
1273
|
If you have any questions or need further assistance, feel free to contact me via email at pieroproietti@gmail.com. You can also stay updated by following my [blog](https://penguins-eggs.net) or connecting with me on , [Telegram](https://t.me/penguins_eggs), [Facebook](https://www.facebook.com/groups/128861437762355/), [GitHub](https://github.com/pieroproietti/penguins-krill), [Jitsi](https://meet.jit.si/PenguinsEggsMeeting), [Reddit](https://www.reddit.com/user/Artisan61) or [Twitter](https://twitter.com/pieroproietti).
|
package/addons/README.md
CHANGED
|
@@ -67,7 +67,7 @@ video window;
|
|
|
67
67
|
* __--rsupport__ create an icon for [dwagent](https://www.dwservice.net) that must be installed locally.
|
|
68
68
|
|
|
69
69
|
# More informations
|
|
70
|
-
There is a [Penguins' eggs official guide](https://penguins-eggs.net/docs/Tutorial/eggs-users-guide) and same other documentation - mostly for developers - on [penguins-eggs repo](https://github.com/pieroproietti/penguins-eggs) under **
|
|
70
|
+
There is a [Penguins' eggs official guide](https://penguins-eggs.net/docs/Tutorial/eggs-users-guide) and same other documentation - mostly for developers - on [penguins-eggs repo](https://github.com/pieroproietti/penguins-eggs) under **DOCUMENTATION**.
|
|
71
71
|
|
|
72
72
|
* [Penguins' eggs blog](https://penguins-eggs.net)
|
|
73
73
|
* [facebook Penguins' eggs group](https://www.facebook.com/groups/128861437762355/)
|
package/dist/classes/bleach.d.ts
CHANGED
package/dist/classes/bleach.js
CHANGED
|
@@ -19,34 +19,32 @@ export default class Bleach {
|
|
|
19
19
|
* @param verbose
|
|
20
20
|
*/
|
|
21
21
|
async clean(verbose = false) {
|
|
22
|
+
let echo = { capture: false, echo: false, ignore: true };
|
|
22
23
|
if (verbose) {
|
|
24
|
+
echo = { capture: false, echo: true, ignore: true };
|
|
23
25
|
Utils.warning('cleaning the system');
|
|
24
26
|
}
|
|
25
27
|
const distro = new Distro();
|
|
26
28
|
if (distro.familyId === 'debian') {
|
|
27
|
-
await
|
|
29
|
+
await exec('apt-get clean', echo);
|
|
30
|
+
await exec('apt-get autoclean', echo);
|
|
31
|
+
const lockFile = '/var/lib/apt/lists/lock';
|
|
32
|
+
await exec(`rm ${lockFile} -rf`, echo);
|
|
28
33
|
}
|
|
29
34
|
else if (distro.familyId === 'archlinux') {
|
|
30
35
|
await exec('pacman -Scc', Utils.setEcho(true));
|
|
31
36
|
}
|
|
37
|
+
else if (distro.familyId === 'alpine') {
|
|
38
|
+
await exec('apk cache clean', echo);
|
|
39
|
+
await exec('apk cache purge', echo);
|
|
40
|
+
}
|
|
41
|
+
else if (distro.familyId === 'suse') {
|
|
42
|
+
await exec(`zypper clean`, echo);
|
|
43
|
+
}
|
|
32
44
|
await this.cleanHistory(verbose);
|
|
33
45
|
await this.cleanJournal(verbose);
|
|
34
46
|
await this.cleanSystemCache(verbose);
|
|
35
47
|
}
|
|
36
|
-
/**
|
|
37
|
-
* cleanApt
|
|
38
|
-
* @param verbose
|
|
39
|
-
*/
|
|
40
|
-
async cleanApt(verbose = false) {
|
|
41
|
-
let echo = { capture: false, echo: false, ignore: true };
|
|
42
|
-
if (verbose) {
|
|
43
|
-
echo = { capture: false, echo: true, ignore: true };
|
|
44
|
-
}
|
|
45
|
-
await exec('apt-get clean', echo);
|
|
46
|
-
await exec('apt-get autoclean', echo);
|
|
47
|
-
const lockFile = '/var/lib/apt/lists/lock';
|
|
48
|
-
await exec(`rm ${lockFile} -rf`, echo);
|
|
49
|
-
}
|
|
50
48
|
/**
|
|
51
49
|
* cleanHistory
|
|
52
50
|
* @param verbose
|
package/dist/classes/daddy.js
CHANGED
|
@@ -11,6 +11,7 @@ import inquirer from 'inquirer';
|
|
|
11
11
|
import path from 'node:path';
|
|
12
12
|
import fs from 'fs';
|
|
13
13
|
import yaml from 'js-yaml';
|
|
14
|
+
// We need to remove .js extension from import
|
|
14
15
|
import Pacman from '../classes/pacman.js';
|
|
15
16
|
import Settings from '../classes/settings.js';
|
|
16
17
|
import Utils from '../classes/utils.js';
|
package/dist/classes/distro.js
CHANGED
|
@@ -116,6 +116,8 @@ class Distro {
|
|
|
116
116
|
this.usrLibPath = '/usr/lib/';
|
|
117
117
|
this.memdiskPath = this.syslinuxPath;
|
|
118
118
|
this.isolinuxPath = this.syslinuxPath;
|
|
119
|
+
// At the moment
|
|
120
|
+
this.isCalamaresAvailable = false;
|
|
119
121
|
}
|
|
120
122
|
else if (this.distroId === 'Fedora') {
|
|
121
123
|
this.familyId = 'fedora';
|
|
@@ -129,6 +131,23 @@ class Distro {
|
|
|
129
131
|
this.usrLibPath = '/usr/lib/';
|
|
130
132
|
this.memdiskPath = this.syslinuxPath;
|
|
131
133
|
this.isolinuxPath = this.syslinuxPath;
|
|
134
|
+
// At the moment
|
|
135
|
+
this.isCalamaresAvailable = false;
|
|
136
|
+
}
|
|
137
|
+
else if (this.distroId === 'openSUSE') {
|
|
138
|
+
this.familyId = 'suse';
|
|
139
|
+
this.distroLike = 'openSUSE';
|
|
140
|
+
this.codenameId = 'rolling';
|
|
141
|
+
this.codenameLikeId = 'Tumbleweed';
|
|
142
|
+
this.liveMediumPath = '/run/install/repo/'; // ? è il mount della root su cd di installatione
|
|
143
|
+
this.squashfs = `live/filesystem.squashfs`;
|
|
144
|
+
this.syslinuxPath = '/usr/share/syslinux/';
|
|
145
|
+
this.pxelinuxPath = this.syslinuxPath;
|
|
146
|
+
this.usrLibPath = '/usr/lib/';
|
|
147
|
+
this.memdiskPath = this.syslinuxPath;
|
|
148
|
+
this.isolinuxPath = this.syslinuxPath;
|
|
149
|
+
// At the moment
|
|
150
|
+
this.isCalamaresAvailable = false;
|
|
132
151
|
}
|
|
133
152
|
else {
|
|
134
153
|
/**
|
|
@@ -13,7 +13,7 @@ import Utils from '../utils.js';
|
|
|
13
13
|
* Utils: general porpourse utils
|
|
14
14
|
* @remarks all the utilities
|
|
15
15
|
*/
|
|
16
|
-
export default class
|
|
16
|
+
export default class Opensuse {
|
|
17
17
|
static packs4calamares = ['calamares'];
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -24,7 +24,7 @@ export default class Suse {
|
|
|
24
24
|
await exec(`zypper install ${this.packs4calamares.join(' ')}`, echo);
|
|
25
25
|
}
|
|
26
26
|
catch {
|
|
27
|
-
Utils.error(`
|
|
27
|
+
Utils.error(`Opensuse.calamaresInstall()`);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
@@ -33,9 +33,8 @@ export default class Suse {
|
|
|
33
33
|
static async calamaresPolicies() {
|
|
34
34
|
const policyFile = '/usr/share/polkit-1/actions/com.github.calamares.calamares.policy';
|
|
35
35
|
/**
|
|
36
|
-
* Su
|
|
36
|
+
* Su openSuse occorre vedere come fare!
|
|
37
37
|
*/
|
|
38
|
-
// await exec(`sed -i 's/auth_admin/yes/' ${policyFile}`)
|
|
39
38
|
}
|
|
40
39
|
/**
|
|
41
40
|
*
|
package/dist/classes/ovary.d.ts
CHANGED
package/dist/classes/ovary.js
CHANGED
|
@@ -708,14 +708,29 @@ export default class Ovary {
|
|
|
708
708
|
*/
|
|
709
709
|
async initrdAlpine() {
|
|
710
710
|
Utils.warning(`creating ${path.basename(this.settings.initrdImg)} Alpine on ISO/live`);
|
|
711
|
-
|
|
711
|
+
let initrdImg = 'initramfs-lts';
|
|
712
|
+
// dracut
|
|
713
|
+
// const pathConf = path.resolve(__dirname, `../../dracut/dracut.conf.d`)
|
|
714
|
+
// await exec(`dracut --confdir ${pathConf} ${this.settings.iso_work}live/${initrdImg}`, Utils.setEcho(true))
|
|
715
|
+
// mkinitfs
|
|
716
|
+
const pathConf = path.resolve(__dirname, `../../mkinitfs/live.conf`);
|
|
717
|
+
await exec(`mkinitfs -c ${pathConf} -o ${this.settings.iso_work}live/${initrdImg}`, Utils.setEcho(true));
|
|
718
|
+
const sidecar = path.resolve(__dirname, `../../mkinitfs/sidecar.sh`);
|
|
719
|
+
await exec(`cp ${sidecar} ${this.settings.iso_work}live/`);
|
|
712
720
|
}
|
|
713
721
|
/**
|
|
714
722
|
* initrdFedora()
|
|
715
723
|
*/
|
|
716
724
|
async initrdFedora() {
|
|
717
725
|
Utils.warning(`creating ${path.basename(this.settings.initrdImg)} Fedora on ISO/live`);
|
|
718
|
-
await exec(`cp /boot/initramfs
|
|
726
|
+
await exec(`cp /boot/initramfs-*.img ${this.settings.iso_work}/live/`, this.echo);
|
|
727
|
+
}
|
|
728
|
+
/**
|
|
729
|
+
* initrdSuse()
|
|
730
|
+
*/
|
|
731
|
+
async initrdSuse() {
|
|
732
|
+
Utils.warning(`creating ${path.basename(this.settings.initrdImg)} Fedora on ISO/live`);
|
|
733
|
+
await exec(`cp /boot/initrd-* ${this.settings.iso_work}/live/`, this.echo);
|
|
719
734
|
}
|
|
720
735
|
/**
|
|
721
736
|
* initrdArch()
|
|
@@ -1457,6 +1472,9 @@ export default class Ovary {
|
|
|
1457
1472
|
else if (this.familyId === 'fedora') {
|
|
1458
1473
|
await this.initrdFedora();
|
|
1459
1474
|
}
|
|
1475
|
+
else if (this.familyId === 'suse') {
|
|
1476
|
+
await this.initrdSuse();
|
|
1477
|
+
}
|
|
1460
1478
|
else if (this.familyId === 'debian') {
|
|
1461
1479
|
await this.initrdDebian();
|
|
1462
1480
|
}
|
|
Binary file
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
</head>
|
|
8
8
|
<body>
|
|
9
|
-
<h1>eggs(1) -- the reproductive system of penguins: eggs v10.0.
|
|
9
|
+
<h1>eggs(1) -- the reproductive system of penguins: eggs v10.0.21</h1>
|
|
10
10
|
<h1>SYNOPSIS</h1>
|
|
11
11
|
<p>Install Debian families (debian/devuan/ubuntu)</p>
|
|
12
|
-
<pre><code>$ sudo dpkg -i penguins-eggs_10.0.
|
|
12
|
+
<pre><code>$ sudo dpkg -i penguins-eggs_10.0.21-bionic-1_amd64.deb
|
|
13
13
|
</code></pre>
|
|
14
14
|
<p>Install Arch families (Arch, manjaro Linux)</p>
|
|
15
15
|
<p>Arch from AUR</p>
|
|
@@ -30,7 +30,7 @@ $ makepkg -si
|
|
|
30
30
|
<h1>USAGE</h1>
|
|
31
31
|
<pre><code>$ eggs (-v|--version|version)
|
|
32
32
|
|
|
33
|
-
penguins-eggs/10.0.
|
|
33
|
+
penguins-eggs/10.0.21
|
|
34
34
|
$ eggs --help [COMMAND]
|
|
35
35
|
|
|
36
36
|
USAGE
|
|
@@ -54,66 +54,10 @@ sudo eggs dad -d
|
|
|
54
54
|
<p>The scope of this project is to implement the process of remastering your version of Linux, generate it as ISO image to burn on a CD/DVD or copy to a usb key to boot your system. You can easily install your live system with gui installer (calamares) or eggs CLI installer (krill).</p>
|
|
55
55
|
<h1>COMMANDS</h1>
|
|
56
56
|
<ul>
|
|
57
|
-
<li><a href="#eggs-adapt"><code>eggs adapt</code></a></li>
|
|
58
|
-
<li><a href="#eggs-analyze"><code>eggs analyze</code></a></li>
|
|
59
57
|
<li><a href="#eggs-autocomplete-shell"><code>eggs autocomplete [SHELL]</code></a></li>
|
|
60
|
-
<li><a href="#eggs-calamares"><code>eggs calamares</code></a></li>
|
|
61
|
-
<li><a href="#eggs-config"><code>eggs config</code></a></li>
|
|
62
|
-
<li><a href="#eggs-cuckoo"><code>eggs cuckoo</code></a></li>
|
|
63
|
-
<li><a href="#eggs-dad"><code>eggs dad</code></a></li>
|
|
64
|
-
<li><a href="#eggs-export-deb"><code>eggs export deb</code></a></li>
|
|
65
|
-
<li><a href="#eggs-export-iso"><code>eggs export iso</code></a></li>
|
|
66
58
|
<li><a href="#eggs-help-command"><code>eggs help [COMMAND]</code></a></li>
|
|
67
|
-
<li><a href="#eggs-install"><code>eggs install</code></a></li>
|
|
68
|
-
<li><a href="#eggs-kill"><code>eggs kill</code></a></li>
|
|
69
|
-
<li><a href="#eggs-krill"><code>eggs krill</code></a></li>
|
|
70
|
-
<li><a href="#eggs-mom"><code>eggs mom</code></a></li>
|
|
71
|
-
<li><a href="#eggs-produce"><code>eggs produce</code></a></li>
|
|
72
|
-
<li><a href="#eggs-status"><code>eggs status</code></a></li>
|
|
73
|
-
<li><a href="#eggs-syncfrom"><code>eggs syncfrom</code></a></li>
|
|
74
|
-
<li><a href="#eggs-syncto"><code>eggs syncto</code></a></li>
|
|
75
|
-
<li><a href="#eggs-tools-clean"><code>eggs tools clean</code></a></li>
|
|
76
|
-
<li><a href="#eggs-tools-ppa"><code>eggs tools ppa</code></a></li>
|
|
77
|
-
<li><a href="#eggs-tools-skel"><code>eggs tools skel</code></a></li>
|
|
78
|
-
<li><a href="#eggs-tools-stat"><code>eggs tools stat</code></a></li>
|
|
79
|
-
<li><a href="#eggs-tools-yolk"><code>eggs tools yolk</code></a></li>
|
|
80
|
-
<li><a href="#eggs-update"><code>eggs update</code></a></li>
|
|
81
59
|
<li><a href="#eggs-version"><code>eggs version</code></a></li>
|
|
82
|
-
<li><a href="#eggs-wardrobe-get-repo"><code>eggs wardrobe get [REPO]</code></a></li>
|
|
83
|
-
<li><a href="#eggs-wardrobe-list-repo"><code>eggs wardrobe list [REPO]</code></a></li>
|
|
84
|
-
<li><a href="#eggs-wardrobe-show-repo"><code>eggs wardrobe show [REPO]</code></a></li>
|
|
85
|
-
<li><a href="#eggs-wardrobe-wear-repo"><code>eggs wardrobe wear [REPO]</code></a></li>
|
|
86
60
|
</ul>
|
|
87
|
-
<h2><code>eggs adapt</code></h2>
|
|
88
|
-
<p>adapt monitor resolution for VM only</p>
|
|
89
|
-
<pre><code>USAGE
|
|
90
|
-
$ eggs adapt [-h] [-v]
|
|
91
|
-
|
|
92
|
-
FLAGS
|
|
93
|
-
-h, --help Show CLI help.
|
|
94
|
-
-v, --verbose
|
|
95
|
-
|
|
96
|
-
DESCRIPTION
|
|
97
|
-
adapt monitor resolution for VM only
|
|
98
|
-
|
|
99
|
-
EXAMPLES
|
|
100
|
-
$ eggs adapt
|
|
101
|
-
</code></pre>
|
|
102
|
-
<h2><code>eggs analyze</code></h2>
|
|
103
|
-
<p>analyze for syncto</p>
|
|
104
|
-
<pre><code>USAGE
|
|
105
|
-
$ eggs analyze [-h] [-v]
|
|
106
|
-
|
|
107
|
-
FLAGS
|
|
108
|
-
-h, --help Show CLI help.
|
|
109
|
-
-v, --verbose verbose
|
|
110
|
-
|
|
111
|
-
DESCRIPTION
|
|
112
|
-
analyze for syncto
|
|
113
|
-
|
|
114
|
-
EXAMPLES
|
|
115
|
-
sudo eggs analyze
|
|
116
|
-
</code></pre>
|
|
117
61
|
<h2><code>eggs autocomplete [SHELL]</code></h2>
|
|
118
62
|
<p>Display autocomplete installation instructions.</p>
|
|
119
63
|
<pre><code>USAGE
|
|
@@ -138,130 +82,6 @@ EXAMPLES
|
|
|
138
82
|
$ eggs autocomplete powershell
|
|
139
83
|
|
|
140
84
|
$ eggs autocomplete --refresh-cache
|
|
141
|
-
</code></pre>
|
|
142
|
-
<h2><code>eggs calamares</code></h2>
|
|
143
|
-
<p>configure calamares or install or configure it</p>
|
|
144
|
-
<pre><code>USAGE
|
|
145
|
-
$ eggs calamares [-h] [-i] [-n] [-p] [-r] [--remove] [--theme <value>] [-v]
|
|
146
|
-
|
|
147
|
-
FLAGS
|
|
148
|
-
-h, --help Show CLI help.
|
|
149
|
-
-i, --install install calamares and its dependencies
|
|
150
|
-
-n, --nointeractive no user interaction
|
|
151
|
-
-p, --policies configure calamares policies
|
|
152
|
-
-r, --release release: remove calamares and all its dependencies after the installation
|
|
153
|
-
-v, --verbose
|
|
154
|
-
--remove remove calamares and its dependencies
|
|
155
|
-
--theme=<value> theme/branding for eggs and calamares
|
|
156
|
-
|
|
157
|
-
DESCRIPTION
|
|
158
|
-
configure calamares or install or configure it
|
|
159
|
-
|
|
160
|
-
EXAMPLES
|
|
161
|
-
sudo eggs calamares
|
|
162
|
-
|
|
163
|
-
sudo eggs calamares --install
|
|
164
|
-
|
|
165
|
-
sudo eggs calamares --install --theme=/path/to/theme
|
|
166
|
-
|
|
167
|
-
sudo eggs calamares --remove
|
|
168
|
-
</code></pre>
|
|
169
|
-
<h2><code>eggs config</code></h2>
|
|
170
|
-
<p>Configure eggs to run it</p>
|
|
171
|
-
<pre><code>USAGE
|
|
172
|
-
$ eggs config [-c] [-h] [-n] [-v]
|
|
173
|
-
|
|
174
|
-
FLAGS
|
|
175
|
-
-c, --clean remove old configuration before to create new one
|
|
176
|
-
-h, --help Show CLI help.
|
|
177
|
-
-n, --nointeractive no user interaction
|
|
178
|
-
-v, --verbose verbose
|
|
179
|
-
|
|
180
|
-
DESCRIPTION
|
|
181
|
-
Configure eggs to run it
|
|
182
|
-
|
|
183
|
-
EXAMPLES
|
|
184
|
-
sudo eggs config
|
|
185
|
-
|
|
186
|
-
sudo eggs config --clean
|
|
187
|
-
|
|
188
|
-
sudo eggs config --clean --nointeractive
|
|
189
|
-
</code></pre>
|
|
190
|
-
<h2><code>eggs cuckoo</code></h2>
|
|
191
|
-
<p>PXE start with proxy-dhcp</p>
|
|
192
|
-
<pre><code>USAGE
|
|
193
|
-
$ eggs cuckoo [-h]
|
|
194
|
-
|
|
195
|
-
FLAGS
|
|
196
|
-
-h, --help Show CLI help.
|
|
197
|
-
|
|
198
|
-
DESCRIPTION
|
|
199
|
-
PXE start with proxy-dhcp
|
|
200
|
-
|
|
201
|
-
EXAMPLES
|
|
202
|
-
sudo eggs cuckoo
|
|
203
|
-
</code></pre>
|
|
204
|
-
<h2><code>eggs dad</code></h2>
|
|
205
|
-
<p>ask help from daddy - TUI configuration helper</p>
|
|
206
|
-
<pre><code>USAGE
|
|
207
|
-
$ eggs dad [-c] [-d] [-h] [-f <value>] [-v]
|
|
208
|
-
|
|
209
|
-
FLAGS
|
|
210
|
-
-c, --clean remove old configuration before to create
|
|
211
|
-
-d, --default reset to default values
|
|
212
|
-
-f, --file=<value> use a file configuration custom
|
|
213
|
-
-h, --help Show CLI help.
|
|
214
|
-
-v, --verbose
|
|
215
|
-
|
|
216
|
-
DESCRIPTION
|
|
217
|
-
ask help from daddy - TUI configuration helper
|
|
218
|
-
|
|
219
|
-
EXAMPLES
|
|
220
|
-
sudo dad
|
|
221
|
-
|
|
222
|
-
sudo dad --clean
|
|
223
|
-
|
|
224
|
-
sudo dad --default
|
|
225
|
-
</code></pre>
|
|
226
|
-
<h2><code>eggs export deb</code></h2>
|
|
227
|
-
<p>export deb/docs/iso to the destination host</p>
|
|
228
|
-
<pre><code>USAGE
|
|
229
|
-
$ eggs export deb [-a] [-c] [-h] [-v]
|
|
230
|
-
|
|
231
|
-
FLAGS
|
|
232
|
-
-a, --all export all archs
|
|
233
|
-
-c, --clean remove old .deb before to copy
|
|
234
|
-
-h, --help Show CLI help.
|
|
235
|
-
-v, --verbose verbose
|
|
236
|
-
|
|
237
|
-
DESCRIPTION
|
|
238
|
-
export deb/docs/iso to the destination host
|
|
239
|
-
|
|
240
|
-
EXAMPLES
|
|
241
|
-
$ eggs export deb
|
|
242
|
-
|
|
243
|
-
$ eggs export deb --clean
|
|
244
|
-
|
|
245
|
-
$ eggs export deb --all
|
|
246
|
-
</code></pre>
|
|
247
|
-
<h2><code>eggs export iso</code></h2>
|
|
248
|
-
<p>export iso in the destination host</p>
|
|
249
|
-
<pre><code>USAGE
|
|
250
|
-
$ eggs export iso [-C] [-c] [-h] [-v]
|
|
251
|
-
|
|
252
|
-
FLAGS
|
|
253
|
-
-C, --checksum export checksums md5 and sha256
|
|
254
|
-
-c, --clean delete old ISOs before to copy
|
|
255
|
-
-h, --help Show CLI help.
|
|
256
|
-
-v, --verbose verbose
|
|
257
|
-
|
|
258
|
-
DESCRIPTION
|
|
259
|
-
export iso in the destination host
|
|
260
|
-
|
|
261
|
-
EXAMPLES
|
|
262
|
-
$ eggs export iso
|
|
263
|
-
|
|
264
|
-
$ eggs export iso --clean
|
|
265
85
|
</code></pre>
|
|
266
86
|
<h2><code>eggs help [COMMAND]</code></h2>
|
|
267
87
|
<p>Display help for eggs.</p>
|
|
@@ -276,318 +96,6 @@ FLAGS
|
|
|
276
96
|
|
|
277
97
|
DESCRIPTION
|
|
278
98
|
Display help for eggs.
|
|
279
|
-
</code></pre>
|
|
280
|
-
<h2><code>eggs install</code></h2>
|
|
281
|
-
<p>krill: the CLI system installer - the egg became a penguin!</p>
|
|
282
|
-
<pre><code>USAGE
|
|
283
|
-
$ eggs install [-b] [-c] [-k] [-d <value>] [-H] [-h] [-i] [-n] [-N] [-p] [-r] [-s] [-S] [-u] [-v]
|
|
284
|
-
|
|
285
|
-
FLAGS
|
|
286
|
-
-H, --halt Halt the system after installation
|
|
287
|
-
-N, --none Swap none: 256M
|
|
288
|
-
-S, --suspend Swap suspend: RAM x 2
|
|
289
|
-
-b, --btrfs Format btrfs
|
|
290
|
-
-c, --chroot chroot before to end
|
|
291
|
-
-d, --domain=<value> Domain name, defult: .local
|
|
292
|
-
-h, --help Show CLI help.
|
|
293
|
-
-i, --ip hostname as ip, eg: ip-192-168-1-33
|
|
294
|
-
-k, --crypted Crypted CLI installation
|
|
295
|
-
-n, --nointeractive no user interaction
|
|
296
|
-
-p, --pve Proxmox VE install
|
|
297
|
-
-r, --random Add random to hostname, eg: colibri-ay412dt
|
|
298
|
-
-s, --small Swap small: RAM
|
|
299
|
-
-u, --unattended Unattended installation
|
|
300
|
-
-v, --verbose Verbose
|
|
301
|
-
|
|
302
|
-
DESCRIPTION
|
|
303
|
-
krill: the CLI system installer - the egg became a penguin!
|
|
304
|
-
|
|
305
|
-
ALIASES
|
|
306
|
-
$ eggs krill
|
|
307
|
-
|
|
308
|
-
EXAMPLES
|
|
309
|
-
sudo eggs install
|
|
310
|
-
|
|
311
|
-
sudo eggs install --unattended --halt
|
|
312
|
-
|
|
313
|
-
sudo eggs install --chroot
|
|
314
|
-
</code></pre>
|
|
315
|
-
<h2><code>eggs kill</code></h2>
|
|
316
|
-
<p>kill the eggs/free the nest</p>
|
|
317
|
-
<pre><code>USAGE
|
|
318
|
-
$ eggs kill [-h] [-i] [-n] [-v]
|
|
319
|
-
|
|
320
|
-
FLAGS
|
|
321
|
-
-h, --help Show CLI help.
|
|
322
|
-
-i, --isos erase all ISOs on remote mount
|
|
323
|
-
-n, --nointeractive no user interaction
|
|
324
|
-
-v, --verbose verbose
|
|
325
|
-
|
|
326
|
-
DESCRIPTION
|
|
327
|
-
kill the eggs/free the nest
|
|
328
|
-
|
|
329
|
-
EXAMPLES
|
|
330
|
-
sudo eggs kill
|
|
331
|
-
</code></pre>
|
|
332
|
-
<h2><code>eggs krill</code></h2>
|
|
333
|
-
<p>krill: the CLI system installer - the egg became a penguin!</p>
|
|
334
|
-
<pre><code>USAGE
|
|
335
|
-
$ eggs krill [-b] [-c] [-k] [-d <value>] [-H] [-h] [-i] [-n] [-N] [-p] [-r] [-s] [-S] [-u] [-v]
|
|
336
|
-
|
|
337
|
-
FLAGS
|
|
338
|
-
-H, --halt Halt the system after installation
|
|
339
|
-
-N, --none Swap none: 256M
|
|
340
|
-
-S, --suspend Swap suspend: RAM x 2
|
|
341
|
-
-b, --btrfs Format btrfs
|
|
342
|
-
-c, --chroot chroot before to end
|
|
343
|
-
-d, --domain=<value> Domain name, defult: .local
|
|
344
|
-
-h, --help Show CLI help.
|
|
345
|
-
-i, --ip hostname as ip, eg: ip-192-168-1-33
|
|
346
|
-
-k, --crypted Crypted CLI installation
|
|
347
|
-
-n, --nointeractive no user interaction
|
|
348
|
-
-p, --pve Proxmox VE install
|
|
349
|
-
-r, --random Add random to hostname, eg: colibri-ay412dt
|
|
350
|
-
-s, --small Swap small: RAM
|
|
351
|
-
-u, --unattended Unattended installation
|
|
352
|
-
-v, --verbose Verbose
|
|
353
|
-
|
|
354
|
-
DESCRIPTION
|
|
355
|
-
krill: the CLI system installer - the egg became a penguin!
|
|
356
|
-
|
|
357
|
-
ALIASES
|
|
358
|
-
$ eggs krill
|
|
359
|
-
|
|
360
|
-
EXAMPLES
|
|
361
|
-
sudo eggs install
|
|
362
|
-
|
|
363
|
-
sudo eggs install --unattended --halt
|
|
364
|
-
|
|
365
|
-
sudo eggs install --chroot
|
|
366
|
-
</code></pre>
|
|
367
|
-
<h2><code>eggs mom</code></h2>
|
|
368
|
-
<p>ask help from mommy - TUI helper</p>
|
|
369
|
-
<pre><code>USAGE
|
|
370
|
-
$ eggs mom [-h]
|
|
371
|
-
|
|
372
|
-
FLAGS
|
|
373
|
-
-h, --help Show CLI help.
|
|
374
|
-
|
|
375
|
-
DESCRIPTION
|
|
376
|
-
ask help from mommy - TUI helper
|
|
377
|
-
|
|
378
|
-
EXAMPLES
|
|
379
|
-
$ eggs mom
|
|
380
|
-
</code></pre>
|
|
381
|
-
<h2><code>eggs produce</code></h2>
|
|
382
|
-
<p>produce a live image from your system whithout your data</p>
|
|
383
|
-
<pre><code>USAGE
|
|
384
|
-
$ eggs produce [--addons <value>...] [--basename <value>] [-c] [-C] [--excludes <value>...] [-h] [--links
|
|
385
|
-
<value>...] [-m] [-N] [-n] [-p] [-P <value>] [--release] [-s] [-f] [--theme <value>] [-u] [-v] [-y]
|
|
386
|
-
|
|
387
|
-
FLAGS
|
|
388
|
-
-C, --cryptedclone crypted clone
|
|
389
|
-
-N, --noicon no icon eggs on desktop
|
|
390
|
-
-P, --prefix=<value> prefix
|
|
391
|
-
-c, --clone clone
|
|
392
|
-
-f, --standard standard compression: xz -b 1M
|
|
393
|
-
-h, --help Show CLI help.
|
|
394
|
-
-m, --max max compression: xz -Xbcj ...
|
|
395
|
-
-n, --nointeractive no user interaction
|
|
396
|
-
-p, --pendrive optimized for pendrive: zstd -b 1M -Xcompression-level 15
|
|
397
|
-
-s, --script script mode. Generate scripts to manage iso build
|
|
398
|
-
-u, --unsecure /root contents are included on live
|
|
399
|
-
-v, --verbose verbose
|
|
400
|
-
-y, --yolk force yolk renew
|
|
401
|
-
--addons=<value>... addons to be used: adapt, ichoice, pve, rsupport
|
|
402
|
-
--basename=<value> basename
|
|
403
|
-
--excludes=<value>... use: static, homes, home
|
|
404
|
-
--links=<value>... desktop links
|
|
405
|
-
--release release: remove penguins-eggs, calamares and dependencies after installation
|
|
406
|
-
--theme=<value> theme for livecd, calamares branding and partitions
|
|
407
|
-
|
|
408
|
-
DESCRIPTION
|
|
409
|
-
produce a live image from your system whithout your data
|
|
410
|
-
|
|
411
|
-
EXAMPLES
|
|
412
|
-
sudo eggs produce # fast compression
|
|
413
|
-
|
|
414
|
-
sudo eggs produce --max # max compression
|
|
415
|
-
|
|
416
|
-
sudo eggs produce --pendrive # compression optomized pendrive
|
|
417
|
-
|
|
418
|
-
sudo eggs produce --clone # clone
|
|
419
|
-
|
|
420
|
-
sudo eggs produce --cryptedclone # crypted clone
|
|
421
|
-
|
|
422
|
-
sudo eggs produce --basename=colibri
|
|
423
|
-
|
|
424
|
-
sudo eggs produce --theme lastos
|
|
425
|
-
|
|
426
|
-
sudo eggs produce --excludes static # you can customize it
|
|
427
|
-
|
|
428
|
-
sudo eggs produce --excludes homes # exclude /home/*
|
|
429
|
-
|
|
430
|
-
sudo eggs produce --excludes home # exclude ~/*
|
|
431
|
-
</code></pre>
|
|
432
|
-
<h2><code>eggs status</code></h2>
|
|
433
|
-
<p>informations about eggs status</p>
|
|
434
|
-
<pre><code>USAGE
|
|
435
|
-
$ eggs status [-h] [-v]
|
|
436
|
-
|
|
437
|
-
FLAGS
|
|
438
|
-
-h, --help Show CLI help.
|
|
439
|
-
-v, --verbose
|
|
440
|
-
|
|
441
|
-
DESCRIPTION
|
|
442
|
-
informations about eggs status
|
|
443
|
-
|
|
444
|
-
EXAMPLES
|
|
445
|
-
$ eggs status
|
|
446
|
-
</code></pre>
|
|
447
|
-
<h2><code>eggs syncfrom</code></h2>
|
|
448
|
-
<p>restore users and user data from a LUKS volumes</p>
|
|
449
|
-
<pre><code>USAGE
|
|
450
|
-
$ eggs syncfrom [--delete <value>] [-f <value>] [-h] [-r <value>] [-v]
|
|
451
|
-
|
|
452
|
-
FLAGS
|
|
453
|
-
-f, --file=<value> file containing luks-volume encrypted
|
|
454
|
-
-h, --help Show CLI help.
|
|
455
|
-
-r, --rootdir=<value> rootdir of the installed system, when used from live
|
|
456
|
-
-v, --verbose verbose
|
|
457
|
-
--delete=<value> rsync --delete delete extraneous files from dest dirs
|
|
458
|
-
|
|
459
|
-
DESCRIPTION
|
|
460
|
-
restore users and user data from a LUKS volumes
|
|
461
|
-
|
|
462
|
-
EXAMPLES
|
|
463
|
-
sudo eggs syncfrom
|
|
464
|
-
|
|
465
|
-
sudo eggs syncfrom --file /path/to/luks-volume
|
|
466
|
-
</code></pre>
|
|
467
|
-
<h2><code>eggs syncto</code></h2>
|
|
468
|
-
<p>Save users and users' data ENCRYPTED</p>
|
|
469
|
-
<pre><code>USAGE
|
|
470
|
-
$ eggs syncto [-e] [-f <value>] [-h] [-v]
|
|
471
|
-
|
|
472
|
-
FLAGS
|
|
473
|
-
-e, --excludes use: exclude.list.d/home.list
|
|
474
|
-
-f, --file=<value> file luks-volume encrypted
|
|
475
|
-
-h, --help Show CLI help.
|
|
476
|
-
-v, --verbose verbose
|
|
477
|
-
|
|
478
|
-
DESCRIPTION
|
|
479
|
-
Save users and users' data ENCRYPTED
|
|
480
|
-
|
|
481
|
-
EXAMPLES
|
|
482
|
-
sudo eggs syncto
|
|
483
|
-
|
|
484
|
-
sudo eggs syncto --file /path/to/luks-volume
|
|
485
|
-
|
|
486
|
-
sudo eggs syncto --excludes
|
|
487
|
-
</code></pre>
|
|
488
|
-
<h2><code>eggs tools clean</code></h2>
|
|
489
|
-
<p>clean system log, apt, etc</p>
|
|
490
|
-
<pre><code>USAGE
|
|
491
|
-
$ eggs tools clean [-h] [-n] [-v]
|
|
492
|
-
|
|
493
|
-
FLAGS
|
|
494
|
-
-h, --help Show CLI help.
|
|
495
|
-
-n, --nointeractive no user interaction
|
|
496
|
-
-v, --verbose verbose
|
|
497
|
-
|
|
498
|
-
DESCRIPTION
|
|
499
|
-
clean system log, apt, etc
|
|
500
|
-
|
|
501
|
-
EXAMPLES
|
|
502
|
-
sudo eggs tools clean
|
|
503
|
-
</code></pre>
|
|
504
|
-
<h2><code>eggs tools ppa</code></h2>
|
|
505
|
-
<p>add/remove repo</p>
|
|
506
|
-
<pre><code>USAGE
|
|
507
|
-
$ eggs tools ppa [-a] [-h] [-n] [-r] [-v]
|
|
508
|
-
|
|
509
|
-
FLAGS
|
|
510
|
-
-a, --add add penguins-eggs PPA repository
|
|
511
|
-
-h, --help Show CLI help.
|
|
512
|
-
-n, --nointeractive no user interaction
|
|
513
|
-
-r, --remove remove penguins-eggs PPA repository
|
|
514
|
-
-v, --verbose verbose
|
|
515
|
-
|
|
516
|
-
DESCRIPTION
|
|
517
|
-
add/remove repo
|
|
518
|
-
|
|
519
|
-
EXAMPLES
|
|
520
|
-
sudo eggs tools ppa --add
|
|
521
|
-
|
|
522
|
-
sudo eggs tools ppa --remove
|
|
523
|
-
</code></pre>
|
|
524
|
-
<h2><code>eggs tools skel</code></h2>
|
|
525
|
-
<p>update skel from home configuration</p>
|
|
526
|
-
<pre><code>USAGE
|
|
527
|
-
$ eggs tools skel [-h] [-u <value>] [-v]
|
|
528
|
-
|
|
529
|
-
FLAGS
|
|
530
|
-
-h, --help Show CLI help.
|
|
531
|
-
-u, --user=<value> user to be used
|
|
532
|
-
-v, --verbose
|
|
533
|
-
|
|
534
|
-
DESCRIPTION
|
|
535
|
-
update skel from home configuration
|
|
536
|
-
|
|
537
|
-
EXAMPLES
|
|
538
|
-
sudo eggs tools skel
|
|
539
|
-
|
|
540
|
-
sudo eggs tools skel --user user-to-be-copied
|
|
541
|
-
</code></pre>
|
|
542
|
-
<h2><code>eggs tools stat</code></h2>
|
|
543
|
-
<p>get statistics from sourceforge</p>
|
|
544
|
-
<pre><code>USAGE
|
|
545
|
-
$ eggs tools stat [-h] [-m] [-y]
|
|
546
|
-
|
|
547
|
-
FLAGS
|
|
548
|
-
-h, --help Show CLI help.
|
|
549
|
-
-m, --month current month
|
|
550
|
-
-y, --year current year
|
|
551
|
-
|
|
552
|
-
DESCRIPTION
|
|
553
|
-
get statistics from sourceforge
|
|
554
|
-
|
|
555
|
-
EXAMPLES
|
|
556
|
-
$ eggs tools stat
|
|
557
|
-
|
|
558
|
-
$ eggs tools stat --month
|
|
559
|
-
|
|
560
|
-
$ eggs tools stat --year
|
|
561
|
-
</code></pre>
|
|
562
|
-
<h2><code>eggs tools yolk</code></h2>
|
|
563
|
-
<p>configure eggs to install without internet</p>
|
|
564
|
-
<pre><code>USAGE
|
|
565
|
-
$ eggs tools yolk [-h] [-v]
|
|
566
|
-
|
|
567
|
-
FLAGS
|
|
568
|
-
-h, --help Show CLI help.
|
|
569
|
-
-v, --verbose
|
|
570
|
-
|
|
571
|
-
DESCRIPTION
|
|
572
|
-
configure eggs to install without internet
|
|
573
|
-
|
|
574
|
-
EXAMPLES
|
|
575
|
-
sudo eggs tools yolk
|
|
576
|
-
</code></pre>
|
|
577
|
-
<h2><code>eggs update</code></h2>
|
|
578
|
-
<p>update the Penguins' eggs tool</p>
|
|
579
|
-
<pre><code>USAGE
|
|
580
|
-
$ eggs update [-h] [-v]
|
|
581
|
-
|
|
582
|
-
FLAGS
|
|
583
|
-
-h, --help Show CLI help.
|
|
584
|
-
-v, --verbose verbose
|
|
585
|
-
|
|
586
|
-
DESCRIPTION
|
|
587
|
-
update the Penguins' eggs tool
|
|
588
|
-
|
|
589
|
-
EXAMPLES
|
|
590
|
-
$ eggs update
|
|
591
99
|
</code></pre>
|
|
592
100
|
<h2><code>eggs version</code></h2>
|
|
593
101
|
<pre><code>USAGE
|
|
@@ -603,98 +111,6 @@ FLAG DESCRIPTIONS
|
|
|
603
111
|
--verbose Show additional information about the CLI.
|
|
604
112
|
|
|
605
113
|
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
|
|
606
|
-
</code></pre>
|
|
607
|
-
<h2><code>eggs wardrobe get [REPO]</code></h2>
|
|
608
|
-
<p>get warorobe</p>
|
|
609
|
-
<pre><code>USAGE
|
|
610
|
-
$ eggs wardrobe get [REPO] [-h] [-v]
|
|
611
|
-
|
|
612
|
-
ARGUMENTS
|
|
613
|
-
REPO repository to get
|
|
614
|
-
|
|
615
|
-
FLAGS
|
|
616
|
-
-h, --help Show CLI help.
|
|
617
|
-
-v, --verbose
|
|
618
|
-
|
|
619
|
-
DESCRIPTION
|
|
620
|
-
get warorobe
|
|
621
|
-
|
|
622
|
-
EXAMPLES
|
|
623
|
-
$ eggs wardrobe get
|
|
624
|
-
|
|
625
|
-
$ eggs wardrobe get your-wardrobe
|
|
626
|
-
</code></pre>
|
|
627
|
-
<h2><code>eggs wardrobe list [REPO]</code></h2>
|
|
628
|
-
<p>list costumes and accessoires in wardrobe</p>
|
|
629
|
-
<pre><code>USAGE
|
|
630
|
-
$ eggs wardrobe list [REPO] [-d <value>] [-h] [-v]
|
|
631
|
-
|
|
632
|
-
ARGUMENTS
|
|
633
|
-
REPO wardrobe to get
|
|
634
|
-
|
|
635
|
-
FLAGS
|
|
636
|
-
-d, --distro=<value> distro
|
|
637
|
-
-h, --help Show CLI help.
|
|
638
|
-
-v, --verbose
|
|
639
|
-
|
|
640
|
-
DESCRIPTION
|
|
641
|
-
list costumes and accessoires in wardrobe
|
|
642
|
-
|
|
643
|
-
EXAMPLES
|
|
644
|
-
$ eggs wardrobe list
|
|
645
|
-
|
|
646
|
-
$ eggs wardrobe list your-wardrobe
|
|
647
|
-
|
|
648
|
-
$ eggs wardrobe list --distro arch
|
|
649
|
-
</code></pre>
|
|
650
|
-
<h2><code>eggs wardrobe show [REPO]</code></h2>
|
|
651
|
-
<p>show costumes/accessories in wardrobe</p>
|
|
652
|
-
<pre><code>USAGE
|
|
653
|
-
$ eggs wardrobe show [REPO] [-h] [-j] [-v] [-w <value>]
|
|
654
|
-
|
|
655
|
-
ARGUMENTS
|
|
656
|
-
REPO costume to show
|
|
657
|
-
|
|
658
|
-
FLAGS
|
|
659
|
-
-h, --help Show CLI help.
|
|
660
|
-
-j, --json output JSON
|
|
661
|
-
-v, --verbose
|
|
662
|
-
-w, --wardrobe=<value> wardrobe
|
|
663
|
-
|
|
664
|
-
DESCRIPTION
|
|
665
|
-
show costumes/accessories in wardrobe
|
|
666
|
-
|
|
667
|
-
EXAMPLES
|
|
668
|
-
$ eggs wardrobe show colibri
|
|
669
|
-
|
|
670
|
-
$ eggs wardrobe show accessories/firmwares
|
|
671
|
-
|
|
672
|
-
$ eggs wardrobe show accessories/
|
|
673
|
-
</code></pre>
|
|
674
|
-
<h2><code>eggs wardrobe wear [REPO]</code></h2>
|
|
675
|
-
<p>wear costume/accessories from wardrobe</p>
|
|
676
|
-
<pre><code>USAGE
|
|
677
|
-
$ eggs wardrobe wear [REPO] [-h] [-a] [-f] [-v] [-w <value>]
|
|
678
|
-
|
|
679
|
-
ARGUMENTS
|
|
680
|
-
REPO costume to wear
|
|
681
|
-
|
|
682
|
-
FLAGS
|
|
683
|
-
-a, --no_accessories not install accessories
|
|
684
|
-
-f, --no_firmwares not install firmwares
|
|
685
|
-
-h, --help Show CLI help.
|
|
686
|
-
-v, --verbose
|
|
687
|
-
-w, --wardrobe=<value> wardrobe
|
|
688
|
-
|
|
689
|
-
DESCRIPTION
|
|
690
|
-
wear costume/accessories from wardrobe
|
|
691
|
-
|
|
692
|
-
EXAMPLES
|
|
693
|
-
sudo eggs wardrobe wear duck
|
|
694
|
-
|
|
695
|
-
sudo eggs wardrobe wear accessories/firmwares
|
|
696
|
-
|
|
697
|
-
sudo eggs wardrobe wear wagtail/waydroid
|
|
698
114
|
</code></pre>
|
|
699
115
|
<h1>FILES</h1>
|
|
700
116
|
<pre><code> /etc/penguins-eggs.d
|
package/package.json
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
"name": "penguins-eggs",
|
|
3
3
|
"shortName": "eggs",
|
|
4
4
|
"description": "A remaster system tool, compatible with Arch, Debian, Devuan, Ubuntu and others",
|
|
5
|
-
"version": "10.0.
|
|
5
|
+
"version": "10.0.21",
|
|
6
6
|
"author": "Piero Proietti",
|
|
7
7
|
"bin": {
|
|
8
8
|
"eggs": "./bin/run.js"
|
|
9
9
|
},
|
|
10
10
|
"bugs": "https://github.com/pieroproietti/penguins-eggs/issues",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@oclif/core": "^4.0.
|
|
13
|
-
"@oclif/plugin-autocomplete": "^3.1.
|
|
14
|
-
"@oclif/plugin-help": "^6.2.
|
|
15
|
-
"@oclif/plugin-version": "^2.2.
|
|
12
|
+
"@oclif/core": "^4.0.17",
|
|
13
|
+
"@oclif/plugin-autocomplete": "^3.1.11",
|
|
14
|
+
"@oclif/plugin-help": "^6.2.7",
|
|
15
|
+
"@oclif/plugin-version": "^2.2.9",
|
|
16
16
|
"axios": "^1.7.2",
|
|
17
17
|
"chalk": "^5.3.0",
|
|
18
18
|
"cli-cursor": "^4.0.0",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@oclif/prettier-config": "^0.2.1",
|
|
33
|
-
"@oclif/test": "^4.0.
|
|
33
|
+
"@oclif/test": "^4.0.7",
|
|
34
34
|
"@types/chai": "^4.3.16",
|
|
35
35
|
"@types/inquirer": "^9.0.7",
|
|
36
36
|
"@types/js-yaml": "^4.0.9",
|
|
37
37
|
"@types/mocha": "^10.0.6",
|
|
38
38
|
"@types/mustache": "^4.2.5",
|
|
39
39
|
"@types/netmask": "^2.0.5",
|
|
40
|
-
"@types/node": "^20.14.
|
|
40
|
+
"@types/node": "^20.14.12",
|
|
41
41
|
"@types/node-static": "^0.7.11",
|
|
42
42
|
"@types/react": "^18.3.3",
|
|
43
43
|
"@types/shelljs": "^0.8.15",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"eslint-config-oclif-typescript": "^3.1.8",
|
|
48
48
|
"eslint-config-prettier": "^9.1.0",
|
|
49
49
|
"mocha": "^10.6.0",
|
|
50
|
-
"oclif": "^4.14.
|
|
50
|
+
"oclif": "^4.14.12",
|
|
51
51
|
"perrisbrewery": "^10.0.1",
|
|
52
52
|
"prettier": "^3.3.3",
|
|
53
53
|
"shx": "^0.3.4",
|
|
54
54
|
"ts-node": "^10.9.2",
|
|
55
|
-
"typescript": "^5.5.
|
|
55
|
+
"typescript": "^5.5.4"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=16.0.0"
|