penguins-eggs 9.0.2 → 9.0.9
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 +22 -21
- package/addons/blissos/theme/livecd/README.md +2 -2
- package/addons/blissos/theme/livecd/grub.theme.cfg +9 -13
- package/addons/blissos/theme/livecd/isolinux.theme.cfg +1 -1
- package/addons/eggs/theme/livecd/grub.theme.cfg +12 -15
- package/addons/neon/theme/livecd/grub.theme.cfg +12 -15
- package/addons/templates/grub.template +28 -0
- package/addons/{neon/theme/livecd/isolinux.template.cfg → templates/isolinux.template} +7 -7
- package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.sh +1 -1
- package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.working.sh +1 -1
- package/conf/distros/jessie/krill/krill-modules/sources-yolk/sources-yolk.sh +1 -1
- package/conf/eggs.yaml +2 -2
- package/conf/exclude.list +10 -3
- package/lib/classes/daddy.js +6 -0
- package/lib/classes/distro.js +26 -1
- package/lib/classes/family/archlinux.js +2 -1
- package/lib/classes/krill_install.js +20 -6
- package/lib/classes/krill_prepare.d.ts +6 -2
- package/lib/classes/krill_prepare.js +21 -9
- package/lib/classes/ovary.js +49 -16
- package/lib/classes/pacman.js +10 -4
- package/lib/classes/settings.js +1 -1
- package/lib/classes/utils.d.ts +1 -1
- package/lib/classes/utils.js +1 -1
- package/lib/classes/xdg.js +21 -4
- package/lib/classes/yolk.js +2 -2
- package/lib/commands/install.d.ts +1 -0
- package/lib/commands/install.js +6 -1
- package/lib/commands/produce.js +6 -1
- package/lib/commands/tools/yolk.js +1 -1
- package/lib/components/partitions.d.ts +2 -1
- package/lib/components/partitions.js +4 -2
- package/lib/interfaces/i-krill.d.ts +1 -0
- package/lib/lib/get_password.js +1 -0
- package/manpages/doc/man/eggs.html +508 -0
- package/manpages/doc/man/eggs.roll.gz +0 -0
- package/oclif.manifest.json +1 -1
- package/package.json +12 -12
- package/scripts/_eggs +246 -0
- package/scripts/eggs.bash +1 -1
- package/scripts/mom-cli.sh +6 -5
- package/addons/blissos/theme/livecd/grub.template.cfg +0 -34
- package/addons/blissos/theme/livecd/isolinux.template.cfg +0 -29
- package/addons/debian/theme/README.md +0 -23
- package/addons/debian/theme/applications/install-debian.desktop +0 -13
- package/addons/debian/theme/artwork/install-debian.png +0 -0
- package/addons/debian/theme/calamares/branding/branding.desc +0 -27
- package/addons/debian/theme/calamares/branding/debian-logo.png +0 -0
- package/addons/debian/theme/calamares/branding/show.qml +0 -51
- package/addons/debian/theme/calamares/branding/slide1.png +0 -0
- package/addons/debian/theme/calamares/branding/welcome.png +0 -0
- package/addons/debian/theme/calamares/modules/partition.yml +0 -233
- package/addons/debian/theme/livecd/README.md +0 -23
- package/addons/debian/theme/livecd/grub.template.cfg +0 -34
- package/addons/debian/theme/livecd/grub.theme.cfg +0 -46
- package/addons/debian/theme/livecd/isolinux.template.cfg +0 -30
- package/addons/debian/theme/livecd/isolinux.theme.cfg +0 -45
- package/addons/debian/theme/livecd/splash.png +0 -0
- package/addons/deblinux/theme/README.md +0 -23
- package/addons/deblinux/theme/applications/install-debian.desktop +0 -13
- package/addons/deblinux/theme/artwork/install-debian.png +0 -0
- package/addons/deblinux/theme/calamares/branding/branding.desc +0 -23
- package/addons/deblinux/theme/calamares/branding/deblinux-logo.png +0 -0
- package/addons/deblinux/theme/calamares/branding/show.qml +0 -46
- package/addons/deblinux/theme/calamares/branding/slide1.png +0 -0
- package/addons/deblinux/theme/calamares/branding/welcome.png +0 -0
- package/addons/deblinux/theme/calamares/modules/partition.yml +0 -233
- package/addons/eggs/theme/livecd/grub.template.cfg +0 -34
- package/addons/eggs/theme/livecd/isolinux.template.cfg +0 -29
- package/addons/guadalinex/theme/README.md +0 -9
- package/addons/guadalinex/theme/applications/install-debian.desktop +0 -28
- package/addons/guadalinex/theme/artwork/install-debian.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/branding.desc +0 -1
- package/addons/guadalinex/theme/calamares/branding/guadalinex-logo.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/show.qml +0 -85
- package/addons/guadalinex/theme/calamares/branding/slide1.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide2.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide3.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide4.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide5.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide6.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide7.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/welcome.png +0 -0
- package/addons/guadalinex/theme/calamares/modules/partition.yml +0 -233
- package/addons/guadalinex/theme/livecd/README.md +0 -23
- package/addons/guadalinex/theme/livecd/isolinux.template.cfg +0 -63
- package/addons/guadalinex/theme/livecd/isolinux.theme.cfg +0 -42
- package/addons/guadalinex/theme/livecd/splash.png +0 -0
- package/addons/neon/theme/livecd/grub.template.cfg +0 -34
- package/addons/openos/theme/applications/Install-OpenOS-Neon_RLTS-Desktop.png +0 -0
- package/addons/openos/theme/applications/install-debian.desktop +0 -24
- package/addons/openos/theme/artwork/install-debian.png +0 -0
- package/addons/openos/theme/calamares/branding/branding.desc +0 -28
- package/addons/openos/theme/calamares/branding/openos-logo.png +0 -0
- package/addons/openos/theme/calamares/branding/show.qml +0 -203
- package/addons/openos/theme/calamares/branding/slide1.png +0 -0
- package/addons/openos/theme/calamares/branding/slide10.png +0 -0
- package/addons/openos/theme/calamares/branding/slide11.png +0 -0
- package/addons/openos/theme/calamares/branding/slide12.png +0 -0
- package/addons/openos/theme/calamares/branding/slide13.png +0 -0
- package/addons/openos/theme/calamares/branding/slide14.png +0 -0
- package/addons/openos/theme/calamares/branding/slide15.png +0 -0
- package/addons/openos/theme/calamares/branding/slide16.png +0 -0
- package/addons/openos/theme/calamares/branding/slide2.png +0 -0
- package/addons/openos/theme/calamares/branding/slide3.png +0 -0
- package/addons/openos/theme/calamares/branding/slide4.png +0 -0
- package/addons/openos/theme/calamares/branding/slide5.png +0 -0
- package/addons/openos/theme/calamares/branding/slide6.png +0 -0
- package/addons/openos/theme/calamares/branding/slide7.png +0 -0
- package/addons/openos/theme/calamares/branding/slide8.png +0 -0
- package/addons/openos/theme/calamares/branding/slide9.png +0 -0
- package/addons/openos/theme/calamares/branding/welcome.png +0 -0
- package/addons/openos/theme/calamares/branding.desc +0 -24
- package/addons/openos/theme/calamares/lang/calamares-default_ar.qm +0 -0
- package/addons/openos/theme/calamares/lang/calamares-default_en.qm +0 -0
- package/addons/openos/theme/calamares/lang/calamares-default_eo.qm +0 -0
- package/addons/openos/theme/calamares/lang/calamares-default_fr.qm +0 -0
- package/addons/openos/theme/calamares/lang/calamares-default_nl.qm +0 -0
- package/addons/openos/theme/calamares/modules/partition.yml +0 -233
- package/addons/openos/theme/livecd/README.md +0 -23
- package/addons/openos/theme/livecd/grub.template.cfg +0 -60
- package/addons/openos/theme/livecd/grub.theme.cfg +0 -42
- package/addons/openos/theme/livecd/isolinux.template.cfg +0 -62
- package/addons/openos/theme/livecd/isolinux.theme.cfg +0 -45
- package/addons/openos/theme/livecd/splash.png +0 -0
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ $ npm install -g penguins-eggs
|
|
|
113
113
|
$ eggs COMMAND
|
|
114
114
|
running command...
|
|
115
115
|
$ eggs (--version|-v)
|
|
116
|
-
penguins-eggs/9.0.
|
|
116
|
+
penguins-eggs/9.0.9 linux-x64 node-v16.13.2
|
|
117
117
|
$ eggs --help [COMMAND]
|
|
118
118
|
USAGE
|
|
119
119
|
$ eggs COMMAND
|
|
@@ -166,7 +166,7 @@ ALIASES
|
|
|
166
166
|
$ eggs adjust
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
-
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
169
|
+
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/adapt.ts)_
|
|
170
170
|
|
|
171
171
|
## `eggs autocomplete [SHELL]`
|
|
172
172
|
|
|
@@ -195,7 +195,7 @@ EXAMPLES
|
|
|
195
195
|
$ eggs autocomplete --refresh-cache
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
-
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.
|
|
198
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.1.1/src/commands/autocomplete/index.ts)_
|
|
199
199
|
|
|
200
200
|
## `eggs bro`
|
|
201
201
|
|
|
@@ -212,7 +212,7 @@ DESCRIPTION
|
|
|
212
212
|
bro: waydroid helper
|
|
213
213
|
```
|
|
214
214
|
|
|
215
|
-
_See code: [src/commands/bro.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
215
|
+
_See code: [src/commands/bro.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/bro.ts)_
|
|
216
216
|
|
|
217
217
|
## `eggs calamares`
|
|
218
218
|
|
|
@@ -241,7 +241,7 @@ EXAMPLES
|
|
|
241
241
|
install calamares and create it's configuration's files
|
|
242
242
|
```
|
|
243
243
|
|
|
244
|
-
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
244
|
+
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/calamares.ts)_
|
|
245
245
|
|
|
246
246
|
## `eggs config`
|
|
247
247
|
|
|
@@ -268,7 +268,7 @@ EXAMPLES
|
|
|
268
268
|
Configure and install prerequisites deb packages to run it
|
|
269
269
|
```
|
|
270
270
|
|
|
271
|
-
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
271
|
+
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/config.ts)_
|
|
272
272
|
|
|
273
273
|
## `eggs dad`
|
|
274
274
|
|
|
@@ -288,7 +288,7 @@ DESCRIPTION
|
|
|
288
288
|
ask help from daddy - configuration helper
|
|
289
289
|
```
|
|
290
290
|
|
|
291
|
-
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
291
|
+
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/dad.ts)_
|
|
292
292
|
|
|
293
293
|
## `eggs export deb`
|
|
294
294
|
|
|
@@ -345,23 +345,23 @@ DESCRIPTION
|
|
|
345
345
|
|
|
346
346
|
## `eggs help [COMMAND]`
|
|
347
347
|
|
|
348
|
-
|
|
348
|
+
Display help for eggs.
|
|
349
349
|
|
|
350
350
|
```
|
|
351
351
|
USAGE
|
|
352
|
-
$ eggs help [COMMAND] [
|
|
352
|
+
$ eggs help [COMMAND] [-n]
|
|
353
353
|
|
|
354
354
|
ARGUMENTS
|
|
355
|
-
COMMAND
|
|
355
|
+
COMMAND Command to show help for.
|
|
356
356
|
|
|
357
357
|
FLAGS
|
|
358
|
-
--
|
|
358
|
+
-n, --nested-commands Include all nested commands in the output.
|
|
359
359
|
|
|
360
360
|
DESCRIPTION
|
|
361
|
-
|
|
361
|
+
Display help for eggs.
|
|
362
362
|
```
|
|
363
363
|
|
|
364
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/
|
|
364
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.10/src/commands/help.ts)_
|
|
365
365
|
|
|
366
366
|
## `eggs info`
|
|
367
367
|
|
|
@@ -379,7 +379,7 @@ DESCRIPTION
|
|
|
379
379
|
re-thinking for a different approach to CLI
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
_See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
382
|
+
_See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/info.ts)_
|
|
383
383
|
|
|
384
384
|
## `eggs install`
|
|
385
385
|
|
|
@@ -387,11 +387,12 @@ command-line system installer - the egg became a penguin!
|
|
|
387
387
|
|
|
388
388
|
```
|
|
389
389
|
USAGE
|
|
390
|
-
$ eggs install [-c] [-h] [-v]
|
|
390
|
+
$ eggs install [-c] [-k] [-h] [-v]
|
|
391
391
|
|
|
392
392
|
FLAGS
|
|
393
393
|
-c, --cli force use CLI installer
|
|
394
394
|
-h, --help Show CLI help.
|
|
395
|
+
-k, --crypted crypted CLI installation
|
|
395
396
|
-v, --verbose verbose
|
|
396
397
|
|
|
397
398
|
DESCRIPTION
|
|
@@ -406,7 +407,7 @@ EXAMPLES
|
|
|
406
407
|
Install the system using GUI or CLI installer
|
|
407
408
|
```
|
|
408
409
|
|
|
409
|
-
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
410
|
+
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/install.ts)_
|
|
410
411
|
|
|
411
412
|
## `eggs kill`
|
|
412
413
|
|
|
@@ -428,7 +429,7 @@ EXAMPLES
|
|
|
428
429
|
kill the eggs/free the nest
|
|
429
430
|
```
|
|
430
431
|
|
|
431
|
-
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
432
|
+
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/kill.ts)_
|
|
432
433
|
|
|
433
434
|
## `eggs mom`
|
|
434
435
|
|
|
@@ -445,7 +446,7 @@ DESCRIPTION
|
|
|
445
446
|
ask for mommy - gui helper
|
|
446
447
|
```
|
|
447
448
|
|
|
448
|
-
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
449
|
+
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/mom.ts)_
|
|
449
450
|
|
|
450
451
|
## `eggs produce`
|
|
451
452
|
|
|
@@ -510,7 +511,7 @@ EXAMPLES
|
|
|
510
511
|
in /home/eggs/ovarium and you can customize all you need
|
|
511
512
|
```
|
|
512
513
|
|
|
513
|
-
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
514
|
+
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/produce.ts)_
|
|
514
515
|
|
|
515
516
|
## `eggs remove`
|
|
516
517
|
|
|
@@ -540,7 +541,7 @@ EXAMPLES
|
|
|
540
541
|
remove eggs, eggs configurations, packages dependencies
|
|
541
542
|
```
|
|
542
543
|
|
|
543
|
-
_See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
544
|
+
_See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/remove.ts)_
|
|
544
545
|
|
|
545
546
|
## `eggs tools clean`
|
|
546
547
|
|
|
@@ -663,7 +664,7 @@ EXAMPLES
|
|
|
663
664
|
update/upgrade the penguin's eggs tool
|
|
664
665
|
```
|
|
665
666
|
|
|
666
|
-
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.
|
|
667
|
+
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.0.9/src/commands/update.ts)_
|
|
667
668
|
|
|
668
669
|
## `eggs version`
|
|
669
670
|
|
|
@@ -10,12 +10,12 @@ I'm trying to made a way to easy customize livecd boot.
|
|
|
10
10
|
eggs take cure to copy to fill the template with the necessary values and copy configurations on /boot/grub and /isolinux on the ISO image.
|
|
11
11
|
|
|
12
12
|
# grub
|
|
13
|
-
You can adapt the template and the grub theme file
|
|
13
|
+
You can adapt the template and the grub theme file in accord to your needs. During the production of eggs file ```grub.template.cfg``` will be convertent in ```grub.cfg``` and copied under ```/boot/grub``` directory of the image.
|
|
14
14
|
* __grub.template.cfg__ -> will became -> __/boot/grub/grub.cfg__ under the iso
|
|
15
15
|
* __grub.theme.cfg__
|
|
16
16
|
|
|
17
17
|
# isolinux
|
|
18
|
-
You can adapt the template for isolinux and the isolinux theme. During the production of eggs file isolinux.template.cfg will be convertent in isolilinux.cfg and copied under
|
|
18
|
+
You can adapt the template for isolinux and the isolinux theme. During the production of eggs file ```isolinux.template.cfg``` will be convertent in ```isolilinux.cfg``` and copied under ```/isolinux``` directory of the image.
|
|
19
19
|
* __isolinux.template.cfg__ -> will became -> __/isolinux/isolinux.cfg__ under the iso
|
|
20
20
|
* __isolinux.theme.cfg__
|
|
21
21
|
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
#
|
|
2
|
-
# eggs: grub.theme.cfg
|
|
3
|
-
#
|
|
1
|
+
# GRUB2 gfxmenu theme
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
title-
|
|
3
|
+
# Global Property
|
|
4
|
+
title-color: "white"
|
|
5
|
+
title-text: "BlissOS: Android for your PC"
|
|
7
6
|
# title-font: "Sans Regular 20"
|
|
8
|
-
desktop-color: "
|
|
9
|
-
desktop-image: "
|
|
10
|
-
#
|
|
11
|
-
#message-bg-color: "cyan"
|
|
12
|
-
#terminal-font: "Sans Regular 12"
|
|
13
|
-
|
|
7
|
+
desktop-color: "blue"
|
|
8
|
+
desktop-image: "splash.png"
|
|
9
|
+
# show boot_menu
|
|
14
10
|
+ boot_menu {
|
|
15
11
|
top = 150
|
|
16
12
|
left = 15%
|
|
17
13
|
width = 75%
|
|
18
14
|
height = 130
|
|
19
15
|
#item_font = "Sans Regular 12"
|
|
20
|
-
item_color = "
|
|
16
|
+
item_color = "gray"
|
|
21
17
|
selected_item_color = "white"
|
|
22
18
|
item_height = 20
|
|
23
19
|
item_padding = 15
|
|
@@ -42,5 +38,5 @@ desktop-image: "/isolinux/splash.png"
|
|
|
42
38
|
+ vbox {
|
|
43
39
|
top = 100%
|
|
44
40
|
left = 2%
|
|
45
|
-
+ label {text = "Press 'E' key to edit" font = "Sans 10" color = "white" align = "left"}
|
|
41
|
+
+ label {text = "Press 'E' key to edit, 'C' for command." font = "Sans 10" color = "white" align = "left"}
|
|
46
42
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# eggs: isolinux.theme
|
|
3
3
|
#
|
|
4
|
-
MENU TITLE BlissOS:
|
|
4
|
+
MENU TITLE BlissOS: Android for your PC
|
|
5
5
|
MENU BACKGROUND splash.png
|
|
6
6
|
# MENU COLOR element backgound foreground shadow
|
|
7
7
|
# background and foreground are hexadecimal digits for alpha (opacity), red, green and blue,
|
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
#
|
|
2
|
-
# eggs: grub.theme.cfg
|
|
3
|
-
#
|
|
1
|
+
# GRUB2 gfxmenu theme
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
title-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
desktop-
|
|
10
|
-
|
|
11
|
-
#message-bg-color: "cyan"
|
|
12
|
-
#terminal-font: "Sans Regular 12"
|
|
3
|
+
# Global Property
|
|
4
|
+
title-color: "blue"
|
|
5
|
+
title-text: "Penguin's eggs - Perri's brewery edition"
|
|
6
|
+
title-font: "Sans Regular 20"
|
|
7
|
+
desktop-color: "black"
|
|
8
|
+
desktop-image: "splash.png"
|
|
13
9
|
|
|
10
|
+
# show boot_menu
|
|
14
11
|
+ boot_menu {
|
|
15
12
|
top = 150
|
|
16
13
|
left = 15%
|
|
17
14
|
width = 75%
|
|
18
15
|
height = 130
|
|
19
|
-
|
|
20
|
-
item_color = "
|
|
21
|
-
selected_item_color = "
|
|
16
|
+
item_font = "Sans Regular 12"
|
|
17
|
+
item_color = "black"
|
|
18
|
+
selected_item_color = "blue"
|
|
22
19
|
item_height = 20
|
|
23
20
|
item_padding = 15
|
|
24
21
|
item_spacing = 5
|
|
@@ -42,5 +39,5 @@ desktop-image: "/isolinux/splash.png"
|
|
|
42
39
|
+ vbox {
|
|
43
40
|
top = 100%
|
|
44
41
|
left = 2%
|
|
45
|
-
+ label {text = "Press 'E' key to edit" font = "Sans 10" color = "white" align = "left"}
|
|
42
|
+
+ label {text = "Press 'E' key to edit, 'C' for command." font = "Sans 10" color = "white" align = "left"}
|
|
46
43
|
}
|
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
#
|
|
2
|
-
# eggs: grub.theme.cfg
|
|
3
|
-
#
|
|
1
|
+
# GRUB2 gfxmenu theme
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
title-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
desktop-
|
|
10
|
-
|
|
11
|
-
#message-bg-color: "cyan"
|
|
12
|
-
#terminal-font: "Sans Regular 12"
|
|
3
|
+
# Global Property
|
|
4
|
+
title-color: "blue"
|
|
5
|
+
title-text: "Penguin's eggs - KDE neon theme"
|
|
6
|
+
title-font: "Sans Regular 20"
|
|
7
|
+
desktop-color: "black"
|
|
8
|
+
desktop-image: "splash.png"
|
|
13
9
|
|
|
10
|
+
# show boot_menu
|
|
14
11
|
+ boot_menu {
|
|
15
12
|
top = 150
|
|
16
13
|
left = 15%
|
|
17
14
|
width = 75%
|
|
18
15
|
height = 130
|
|
19
|
-
|
|
20
|
-
item_color = "
|
|
21
|
-
selected_item_color = "
|
|
16
|
+
item_font = "Sans Regular 12"
|
|
17
|
+
item_color = "black"
|
|
18
|
+
selected_item_color = "blue"
|
|
22
19
|
item_height = 20
|
|
23
20
|
item_padding = 15
|
|
24
21
|
item_spacing = 5
|
|
@@ -42,5 +39,5 @@ desktop-image: "/isolinux/splash.png"
|
|
|
42
39
|
+ vbox {
|
|
43
40
|
top = 100%
|
|
44
41
|
left = 2%
|
|
45
|
-
+ label {text = "Press 'E' key to edit" font = "Sans 10" color = "white" align = "left"}
|
|
42
|
+
+ label {text = "Press 'E' key to edit, 'C' for command." font = "Sans 10" color = "white" align = "left"}
|
|
46
43
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#
|
|
2
|
+
# eggs: grub.template.cfg
|
|
3
|
+
#
|
|
4
|
+
|
|
5
|
+
if loadfont $prefix/font.pf2 ; then
|
|
6
|
+
set gfxmode=640x480
|
|
7
|
+
insmod efi_gop
|
|
8
|
+
insmod efi_uga
|
|
9
|
+
insmod video_bochs
|
|
10
|
+
insmod video_cirrus
|
|
11
|
+
insmod gfxterm
|
|
12
|
+
insmod jpeg
|
|
13
|
+
insmod png
|
|
14
|
+
terminal_output gfxterm
|
|
15
|
+
fi
|
|
16
|
+
|
|
17
|
+
set theme=/boot/grub/theme.cfg
|
|
18
|
+
|
|
19
|
+
menuentry "{{{fullname}}} (kernel {{{kernel}}})" {
|
|
20
|
+
set gfxpayload=keep
|
|
21
|
+
linux {{{vmlinuz}}} {{{kernel_parameters}}} quiet splash
|
|
22
|
+
initrd {{{initrdImg}}}
|
|
23
|
+
}
|
|
24
|
+
menuentry "{{{fullname}}} safe" {
|
|
25
|
+
set gfxpayload=keep
|
|
26
|
+
linux {{{vmlinuz}}} {{{kernel_parameters}}}
|
|
27
|
+
initrd {{{initrdImg}}}
|
|
28
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
#
|
|
2
1
|
# eggs: isolinux.cfg
|
|
3
2
|
#
|
|
4
3
|
|
|
@@ -11,19 +10,20 @@ timeout 200
|
|
|
11
10
|
#
|
|
12
11
|
#
|
|
13
12
|
|
|
14
|
-
label
|
|
13
|
+
label default
|
|
15
14
|
menu label {{{fullname}}} (kernel {{{kernel}}})
|
|
16
15
|
menu default
|
|
17
|
-
say "Booting {{{
|
|
16
|
+
say "Booting {{{fullname}}} GNU/Linux Live (kernel {{{kernel}}})"
|
|
18
17
|
linux {{{vmlinuz}}}
|
|
19
18
|
append initrd={{{initrdImg}}} {{{kernel_parameters}}}
|
|
20
19
|
|
|
21
20
|
label safe
|
|
22
|
-
menu label
|
|
23
|
-
say "Booting {{{
|
|
21
|
+
menu label {{{fullname}}} safe
|
|
22
|
+
say "Booting {{{fullname}}} GNU/Linux Live (kernel {{{kernel}}})"
|
|
24
23
|
linux {{{vmlinuz}}}
|
|
25
24
|
append initrd={{{initrdImg}}} {{{kernel_parameters}}}
|
|
26
25
|
|
|
27
|
-
label
|
|
26
|
+
label boot from local disk
|
|
28
27
|
com32 chain.c32
|
|
29
|
-
append hd1 1 swap
|
|
28
|
+
append hd1 1 swap
|
|
29
|
+
|
|
@@ -66,7 +66,7 @@ function restore_apt {
|
|
|
66
66
|
function yolk {
|
|
67
67
|
mkdir "$APT_ROOT/sources.list.d"
|
|
68
68
|
cat << EOF > $CHROOT/etc/apt/sources.list.d/yolk.list
|
|
69
|
-
deb [trusted=yes] file:///
|
|
69
|
+
deb [trusted=yes] file:///var/local/yolk ./
|
|
70
70
|
EOF
|
|
71
71
|
chroot ${CHROOT} apt-get --allow-unauthenticated update -y
|
|
72
72
|
}
|
package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.working.sh
CHANGED
|
@@ -49,7 +49,7 @@ function add_list {
|
|
|
49
49
|
function add_yolk {
|
|
50
50
|
remove_list
|
|
51
51
|
cat << EOF > $CHROOT/etc/apt/sources.list.d/yolk.list
|
|
52
|
-
deb [trusted=yes] file:/
|
|
52
|
+
deb [trusted=yes] file:/var/local/yolk ./
|
|
53
53
|
EOF
|
|
54
54
|
chroot $CHROOT apt-get --allow-unauthenticated update -y
|
|
55
55
|
}
|
|
@@ -49,7 +49,7 @@ function add_list {
|
|
|
49
49
|
function add_yolk {
|
|
50
50
|
remove_list
|
|
51
51
|
cat << EOF > $CHROOT/etc/apt/sources.list.d/yolk.list
|
|
52
|
-
deb [trusted=yes] file:/
|
|
52
|
+
deb [trusted=yes] file:/var/local/yolk ./
|
|
53
53
|
EOF
|
|
54
54
|
chroot $CHROOT apt-get --allow-unauthenticated update -y
|
|
55
55
|
}
|
package/conf/eggs.yaml
CHANGED
|
@@ -26,8 +26,8 @@ snapshot_basename: 'hostname'
|
|
|
26
26
|
# You can change the rsync excludes file here - if you know what you're doing -
|
|
27
27
|
# be sure to use the full path to the file.
|
|
28
28
|
#
|
|
29
|
-
# default /
|
|
30
|
-
snapshot_excludes: '/
|
|
29
|
+
# default /var/local/share/excludes/penguins-eggs-snapshot-exclude.list
|
|
30
|
+
snapshot_excludes: '/var/local/share/penguins-eggs/exclude.list'
|
|
31
31
|
|
|
32
32
|
# user to be used in the liveCd
|
|
33
33
|
# default live
|
package/conf/exclude.list
CHANGED
|
@@ -75,15 +75,22 @@ var/lib/sudo/*
|
|
|
75
75
|
var/lib/udisks/*
|
|
76
76
|
var/lib/urandom/*
|
|
77
77
|
|
|
78
|
-
#
|
|
79
|
-
#
|
|
80
|
-
|
|
78
|
+
# var/log:
|
|
79
|
+
# remove all with exception of:
|
|
80
|
+
# apache2, clamav, pveprozy, samba, mysql, cga-update-manager
|
|
81
|
+
var/log/!(apache2|clamav|pveproxy|samba|mysql|cga-update-manager)
|
|
82
|
+
|
|
83
|
+
# the follow lines remove all inside ther respective dirs:
|
|
81
84
|
var/log/apache2/*
|
|
82
85
|
var/log/clamav/*
|
|
83
86
|
var/log/pveproxy/*
|
|
84
87
|
var/log/samba/*
|
|
85
88
|
var/log/mysql/*
|
|
86
89
|
|
|
90
|
+
# We don't want remove nothing in /var/log/cga-update-manager
|
|
91
|
+
#var/log/cga-update-manager
|
|
92
|
+
|
|
93
|
+
|
|
87
94
|
var/mail/*
|
|
88
95
|
var/spool/mail/*
|
|
89
96
|
var/tmp/*
|
package/lib/classes/daddy.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
/**
|
|
5
|
+
* penguins-eggs-v8
|
|
6
|
+
* author: Piero Proietti
|
|
7
|
+
* email: piero.proietti@gmail.com
|
|
8
|
+
* license: MIT
|
|
9
|
+
*/
|
|
4
10
|
const utils_1 = (0, tslib_1.__importDefault)(require("../classes/utils"));
|
|
5
11
|
const pacman_1 = (0, tslib_1.__importDefault)(require("../classes/pacman"));
|
|
6
12
|
const settings_1 = (0, tslib_1.__importDefault)(require("../classes/settings"));
|
package/lib/classes/distro.js
CHANGED
|
@@ -217,6 +217,12 @@ class Distro {
|
|
|
217
217
|
// UfficioZero roma
|
|
218
218
|
break;
|
|
219
219
|
}
|
|
220
|
+
case `jolnir`: {
|
|
221
|
+
// Elementary
|
|
222
|
+
this.distroLike = 'Ubuntu';
|
|
223
|
+
this.versionLike = 'focal';
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
220
226
|
case 'roma': {
|
|
221
227
|
// UfficioZero roma
|
|
222
228
|
this.distroLike = 'Devuan';
|
|
@@ -252,7 +258,8 @@ class Distro {
|
|
|
252
258
|
}
|
|
253
259
|
case 'ulyana':
|
|
254
260
|
case 'ulyssa':
|
|
255
|
-
case 'uma':
|
|
261
|
+
case 'uma':
|
|
262
|
+
case 'una': {
|
|
256
263
|
// LinuxMint 20.x
|
|
257
264
|
this.distroLike = 'Ubuntu';
|
|
258
265
|
this.versionLike = 'focal';
|
|
@@ -264,6 +271,12 @@ class Distro {
|
|
|
264
271
|
this.versionLike = 'buster';
|
|
265
272
|
break;
|
|
266
273
|
}
|
|
274
|
+
case 'elsie': {
|
|
275
|
+
// LMDE 5 elsie
|
|
276
|
+
this.distroLike = 'Debian';
|
|
277
|
+
this.versionLike = 'bullseye';
|
|
278
|
+
break;
|
|
279
|
+
}
|
|
267
280
|
case 'apricot': {
|
|
268
281
|
// Deepin 20 apricot
|
|
269
282
|
this.distroLike = 'Debian';
|
|
@@ -285,12 +298,24 @@ class Distro {
|
|
|
285
298
|
*/
|
|
286
299
|
break;
|
|
287
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* GARUDA
|
|
303
|
+
*/
|
|
288
304
|
case 'Harpy-Eagle': {
|
|
289
305
|
this.familyId = 'archlinux';
|
|
290
306
|
this.distroLike = 'Arch';
|
|
291
307
|
this.versionLike = 'rolling';
|
|
292
308
|
break;
|
|
293
309
|
}
|
|
310
|
+
case 'White-tailed-eagle': {
|
|
311
|
+
this.familyId = 'archlinux';
|
|
312
|
+
this.distroLike = 'Arch';
|
|
313
|
+
this.versionLike = 'rolling';
|
|
314
|
+
break;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Manjaro
|
|
318
|
+
*/
|
|
294
319
|
case 'Qonos': {
|
|
295
320
|
this.familyId = 'archlinux';
|
|
296
321
|
this.distroLike = 'Arch';
|
|
@@ -97,7 +97,8 @@ class Archlinux {
|
|
|
97
97
|
verbose = true; // serve per pacman
|
|
98
98
|
const echo = utils_1.default.setEcho(verbose);
|
|
99
99
|
try {
|
|
100
|
-
|
|
100
|
+
// inserito flag --noconfirm
|
|
101
|
+
await (0, utils_2.exec)(`pacman -Sy --noconfirm ${(0, dependencies_1.array2spaced)(this.packs4calamares)}`, echo);
|
|
101
102
|
}
|
|
102
103
|
catch {
|
|
103
104
|
utils_1.default.error(`Archlinux.calamaresInstall() pacman -Sy ${(0, dependencies_1.array2spaced)(this.packs4calamares)}`); // + e.error)
|
|
@@ -899,16 +899,30 @@ adduser ${name} \
|
|
|
899
899
|
this.devices.swap.name = this.partitions.installationDevice + '3';
|
|
900
900
|
this.devices.swap.fsType = 'swap';
|
|
901
901
|
retVal = true;
|
|
902
|
-
}
|
|
903
|
-
else if (this.partitions.installationMode === 'full-encrypted' && !this.efi) {
|
|
904
902
|
/**
|
|
905
903
|
* formattazione full-encrypted, BIOS standard
|
|
904
|
+
* cryptsetup -y -v --type luks2 luksFormat this.partitions.installationDevice
|
|
905
|
+
* cryptsetup luksOpen /dev/sda vgeggs
|
|
906
|
+
* Enter passphrase for /dev/sda: this.partitions.luksPassphrase
|
|
907
|
+
* pv -tpreb /dev/zero | dd of=/dev/mapper/vgeggs bs=128M
|
|
908
|
+
* mkfs.ext4 /dev/mapper/vgeggs
|
|
909
|
+
* cryptsetup luksClose vgeggs
|
|
906
910
|
*/
|
|
907
911
|
}
|
|
908
|
-
else if (this.partitions.installationMode === 'full-encrypted' && this.efi) {
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
+
else if (this.partitions.installationMode === 'full-encrypted' && !this.efi) {
|
|
913
|
+
await (0, utils_2.exec)(`cryptsetup -y -v --type luks2 luksFormat ${this.partitions.installationDevice}`, echo);
|
|
914
|
+
await (0, utils_2.exec)(`cryptsetup luksOpen ${this.partitions.installationDevice} vgeggs`, echo);
|
|
915
|
+
await (0, utils_2.exec)(`pv -tpreb /dev/zero | dd of=/dev/mapper/vgeggs bs=128M`, echo);
|
|
916
|
+
this.devices.efi.name = `none`;
|
|
917
|
+
this.devices.boot.name = `none`;
|
|
918
|
+
this.devices.root.name = '/dev/mapper/vgeggs';
|
|
919
|
+
this.devices.root.fsType = this.partitions.filesystemType;
|
|
920
|
+
this.devices.root.mountPoint = '/';
|
|
921
|
+
this.devices.data.name = `none`;
|
|
922
|
+
this.devices.swap.name = 'none';
|
|
923
|
+
this.devices.swap.fsType = 'none';
|
|
924
|
+
this.devices.swap.mountPoint = 'none';
|
|
925
|
+
retVal = true;
|
|
912
926
|
}
|
|
913
927
|
else if (this.partitions.installationMode === 'lvm2' && !this.efi) {
|
|
914
928
|
/**
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { INet } from '../interfaces';
|
|
2
2
|
import { IWelcome, ILocation, IKeyboard, IPartitions, IUsers } from '../interfaces/i-krill';
|
|
3
3
|
export default class Krill {
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @param cryped
|
|
7
|
+
*/
|
|
8
|
+
prepare(cryped?: boolean): Promise<void>;
|
|
5
9
|
/**
|
|
6
10
|
* WELCOME
|
|
7
11
|
*/
|
|
@@ -17,7 +21,7 @@ export default class Krill {
|
|
|
17
21
|
/**
|
|
18
22
|
* PARTITIONS
|
|
19
23
|
*/
|
|
20
|
-
partitions(): Promise<IPartitions>;
|
|
24
|
+
partitions(crypted?: boolean): Promise<IPartitions>;
|
|
21
25
|
/**
|
|
22
26
|
* USERS
|
|
23
27
|
*/
|