penguins-eggs 9.1.31 → 9.1.37
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 +61 -20
- package/addons/eggs/adapt/applications/eggs-adapt.desktop +0 -0
- package/addons/eggs/adapt/bin/adapt +0 -0
- package/addons/eggs/ichoice/bin/eggs-ichoice.sh +0 -0
- package/addons/eggs/pve/applications/eggs-pve.desktop +0 -0
- package/addons/eggs/rsupport/applications/eggs-rsupport.desktop +0 -0
- package/addons/eggs/theme/applications/install-debian.desktop +2 -2
- package/addons/neon/theme/applications/install-debian.desktop +0 -0
- package/addons/telos/theme/applications/install-debian.desktop +0 -0
- package/addons/ufficiozero/theme/applications/install-debian.desktop +0 -0
- package/addons/waydroid/theme/applications/install-debian.desktop +0 -0
- package/assets/calamares/install-debian +0 -0
- package/assets/penguins-eggs.desktop +0 -0
- package/assets/penguins-krill.desktop +0 -0
- package/assets/penguins-links-add.desktop +0 -0
- package/assets/penguins-live-installer.desktop +0 -0
- package/bin/dev +0 -0
- package/conf/distros/bionic/calamares/calamares-modules/after-bootloader/after-bootloader.sh +0 -0
- package/conf/distros/bionic/calamares/calamares-modules/before-bootloader/before-bootloader.sh +0 -0
- package/conf/distros/bionic/calamares/calamares-modules/before-bootloader-mkdirs/before-bootloader-mkdirs.sh +0 -0
- package/conf/distros/bionic/calamares/calamares-modules/bug/bug.sh +0 -0
- package/conf/distros/bionic/calamares/calamares-modules/grubcfg/main.py +0 -0
- package/conf/distros/buster/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
- package/conf/distros/buster/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -0
- package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
- package/conf/distros/buster/calamares/modules/locale.yml +3 -3
- package/conf/distros/focal/calamares/calamares-modules/automirror/main.py +0 -0
- package/conf/eggs.yaml +2 -2
- package/conf/exclude.list +81 -96
- package/conf/tools.yaml +1 -1
- package/lib/classes/compressors.d.ts +7 -0
- package/lib/classes/compressors.js +38 -1
- package/lib/classes/daddy.js +6 -29
- package/lib/classes/distro.js +25 -12
- package/lib/classes/incubation/fisherman-helper/packages.js +6 -3
- package/lib/classes/keyboards.d.ts +10 -12
- package/lib/classes/keyboards.js +19 -23
- package/lib/classes/locales.js +15 -10
- package/lib/classes/ovary.js +53 -17
- package/lib/classes/utils.js +20 -6
- package/lib/commands/{install.d.ts → krill.d.ts} +1 -0
- package/lib/commands/{install.js → krill.js} +2 -2
- package/lib/commands/produce.js +8 -30
- package/lib/components/elements/information.js +0 -2
- package/lib/{classes/krill_prepare.d.ts → krill/krill-prepare.d.ts} +9 -2
- package/lib/{classes/krill_prepare.js → krill/krill-prepare.js} +62 -12
- package/lib/krill/krill-sequence.d.ts +148 -0
- package/lib/krill/krill-sequence.js +533 -0
- package/lib/krill/modules/add-user.d.ts +15 -0
- package/lib/krill/modules/add-user.js +41 -0
- package/lib/krill/modules/bootloader-config-arch.d.ts +9 -0
- package/lib/krill/modules/bootloader-config-arch.js +13 -0
- package/lib/krill/modules/bootloader-config-ubuntu.d.ts +9 -0
- package/lib/krill/modules/bootloader-config-ubuntu.js +93 -0
- package/lib/krill/modules/bootloader-config.d.ts +9 -0
- package/lib/krill/modules/bootloader-config.js +23 -0
- package/lib/krill/modules/bootloader.d.ts +10 -0
- package/lib/krill/modules/bootloader.js +43 -0
- package/lib/krill/modules/change-password.d.ts +10 -0
- package/lib/krill/modules/change-password.js +16 -0
- package/lib/krill/modules/del-live-user.d.ts +9 -0
- package/lib/krill/modules/del-live-user.js +37 -0
- package/lib/krill/modules/fstab.d.ts +9 -0
- package/lib/krill/modules/fstab.js +93 -0
- package/lib/krill/modules/grubcfg.d.ts +12 -0
- package/lib/krill/modules/grubcfg.js +33 -0
- package/lib/krill/modules/hostname.d.ts +8 -0
- package/lib/krill/modules/hostname.js +13 -0
- package/lib/krill/modules/hosts.d.ts +9 -0
- package/lib/krill/modules/hosts.js +30 -0
- package/lib/krill/modules/initramfs-cfg.d.ts +9 -0
- package/lib/krill/modules/initramfs-cfg.js +29 -0
- package/lib/krill/modules/initramfs.d.ts +8 -0
- package/lib/krill/modules/initramfs.js +42 -0
- package/lib/krill/modules/locale-cfg.d.ts +5 -0
- package/lib/krill/modules/locale-cfg.js +58 -0
- package/lib/krill/modules/locale.d.ts +8 -0
- package/lib/krill/modules/locale.js +47 -0
- package/lib/krill/modules/machine-id.d.ts +10 -0
- package/lib/krill/modules/machine-id.js +21 -0
- package/lib/krill/modules/mkfs.d.ts +8 -0
- package/lib/krill/modules/mkfs.js +33 -0
- package/lib/krill/modules/mount-fs.d.ts +12 -0
- package/lib/krill/modules/mount-fs.js +63 -0
- package/lib/krill/modules/mount-vfs.d.ts +12 -0
- package/lib/krill/modules/mount-vfs.js +40 -0
- package/lib/krill/modules/network-cfg.d.ts +14 -0
- package/lib/krill/modules/network-cfg.js +49 -0
- package/lib/krill/modules/partitions.d.ts +15 -0
- package/lib/krill/modules/partitions.js +307 -0
- package/lib/krill/modules/remove-installer-link.d.ts +8 -0
- package/lib/krill/modules/remove-installer-link.js +34 -0
- package/lib/krill/modules/set-keyboard.d.ts +5 -0
- package/lib/krill/modules/set-keyboard.js +50 -0
- package/lib/krill/modules/set-timezone.d.ts +9 -0
- package/lib/krill/modules/set-timezone.js +21 -0
- package/lib/krill/modules/umount.d.ts +9 -0
- package/lib/krill/modules/umount.js +26 -0
- package/lib/krill/modules/unpackfs.d.ts +8 -0
- package/lib/krill/modules/unpackfs.js +17 -0
- package/lib/lib/cli-autologin.js +3 -3
- package/lib/lib/select_keyboard_variant.js +1 -0
- package/lib/lib/utils.d.ts +27 -0
- package/lib/lib/utils.js +54 -19
- package/manpages/doc/man/eggs.html +122 -90
- package/mkinitcpio/README.md +8 -1
- package/mkinitcpio/archlinux/README.md +116 -0
- package/mkinitcpio/archlinux/mkinitcpio-install.conf +5 -0
- package/mkinitcpio/archlinux/mkinitcpio-produce.conf +13 -0
- package/mkinitcpio/manjaro/README.md +31 -11
- package/mkinitcpio/manjaro/mkinitcpio-install.conf +7 -0
- package/mkinitcpio/manjaro/{mkinitcpio.conf → mkinitcpio-produce.conf} +1 -1
- package/package.json +117 -112
- package/scripts/_eggs +8 -8
- package/scripts/bros/waydroid-helper.sh +0 -0
- package/scripts/eggs-adapt.sh +0 -0
- package/scripts/eggs.bash +1 -1
- package/scripts/install-eggs-ppa.sh +0 -0
- package/scripts/mom-cli.sh +8 -8
- package/scripts/pve-live.service +0 -0
- package/scripts/pve-live.sh +0 -0
- package/scripts/resy.sh +0 -0
- package/scripts/userexist.sh +0 -0
- package/lib/classes/i18n.d.ts +0 -34
- package/lib/classes/i18n.js +0 -126
- package/lib/classes/krill_install.d.ts +0 -227
- package/lib/classes/krill_install.js +0 -1370
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ wardrobe was added to eggs on april 2022, it's is a way to guide and consolidate
|
|
|
48
48
|
|
|
49
49
|
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 a single developer.
|
|
50
50
|
|
|
51
|
-
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 results of mine customizations are mostly under [Debian bullseye](https://sourceforge.net/projects/penguins-eggs/files/iso/debian/bullseye/), [Devuan chimaera](
|
|
51
|
+
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 results of mine customizations are mostly under [Debian bullseye](https://sourceforge.net/projects/penguins-eggs/files/iso/debian/bullseye/), [Devuan chimaera](ttps://sourceforge.net/projects/penguins-eggs/files/iso/devuan/chimaera/) and [Ubuntu jammy](https://sourceforge.net/projects/penguins-eggs/files/iso/ubuntu/jammy/) on my sourgeforce page.
|
|
52
52
|
|
|
53
53
|
### krill
|
|
54
54
|
eggs include a CLI installer named krill, this let you to produce and install servers configurations. krill use a nice TUI interface using the same, configuration created by eggs for [calamares](calamares.io). This lead to have "about the same" experience installing, from old distros to new ones and for GUI and CLI. To force using krill in place of calamares in a GUI system just: **sudo eggs install --cli**
|
|
@@ -78,7 +78,7 @@ Or a new installation, can easyly get users and servers data from a luks-eggs-ba
|
|
|
78
78
|
* ```syncfrom``` replace all users homes and all servers homes with data from the luck-eggs-backup file, Force this data in a not appropriate system can easily end in a long disaster recovery.
|
|
79
79
|
|
|
80
80
|
## What distributions can I use?
|
|
81
|
-
eggs was born on Debian strecth, buster and
|
|
81
|
+
eggs was born on Debian strecth, buster and followinng. Actually full support Debian from jessie to bookworm/sid, Devuan beowulf, chimaera, daedalus, Ubuntu bionic, focal, jammy - and all derivatives from them including Linux mint, Deepin, neon KDE, etc - ManjaroLinux and finally Arch, the last distro added.
|
|
82
82
|
|
|
83
83
|
You can read more on the [blog](https://penguins-eggs.net/2021/11/02/distros-that-can-be-remastered-with-eggs/), some examples of iso images remastered with eggs are in the [sourceforge page of the project](https://sourceforge.net/projects/penguins-eggs/files/iso/).
|
|
84
84
|
|
|
@@ -132,7 +132,7 @@ $ npm install -g penguins-eggs
|
|
|
132
132
|
$ eggs COMMAND
|
|
133
133
|
running command...
|
|
134
134
|
$ eggs (--version|-v)
|
|
135
|
-
penguins-eggs/9.1.
|
|
135
|
+
penguins-eggs/9.1.37 linux-x64 node-v16.16.0
|
|
136
136
|
$ eggs --help [COMMAND]
|
|
137
137
|
USAGE
|
|
138
138
|
$ eggs COMMAND
|
|
@@ -155,6 +155,7 @@ USAGE
|
|
|
155
155
|
* [`eggs info`](#eggs-info)
|
|
156
156
|
* [`eggs install`](#eggs-install)
|
|
157
157
|
* [`eggs kill`](#eggs-kill)
|
|
158
|
+
* [`eggs krill`](#eggs-krill)
|
|
158
159
|
* [`eggs mom`](#eggs-mom)
|
|
159
160
|
* [`eggs produce`](#eggs-produce)
|
|
160
161
|
* [`eggs remove`](#eggs-remove)
|
|
@@ -188,7 +189,7 @@ DESCRIPTION
|
|
|
188
189
|
adapt monitor resolution for VM only
|
|
189
190
|
```
|
|
190
191
|
|
|
191
|
-
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
192
|
+
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/adapt.ts)_
|
|
192
193
|
|
|
193
194
|
## `eggs analyze`
|
|
194
195
|
|
|
@@ -209,7 +210,7 @@ EXAMPLES
|
|
|
209
210
|
$ sudo eggs analyze
|
|
210
211
|
```
|
|
211
212
|
|
|
212
|
-
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
213
|
+
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/analyze.ts)_
|
|
213
214
|
|
|
214
215
|
## `eggs autocomplete [SHELL]`
|
|
215
216
|
|
|
@@ -267,7 +268,7 @@ EXAMPLES
|
|
|
267
268
|
install calamares and create it's configuration's files
|
|
268
269
|
```
|
|
269
270
|
|
|
270
|
-
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
271
|
+
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/calamares.ts)_
|
|
271
272
|
|
|
272
273
|
## `eggs config`
|
|
273
274
|
|
|
@@ -291,7 +292,7 @@ EXAMPLES
|
|
|
291
292
|
Configure and install prerequisites deb packages to run it
|
|
292
293
|
```
|
|
293
294
|
|
|
294
|
-
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
295
|
+
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/config.ts)_
|
|
295
296
|
|
|
296
297
|
## `eggs dad`
|
|
297
298
|
|
|
@@ -311,7 +312,7 @@ DESCRIPTION
|
|
|
311
312
|
ask help from daddy - configuration helper
|
|
312
313
|
```
|
|
313
314
|
|
|
314
|
-
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
315
|
+
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/dad.ts)_
|
|
315
316
|
|
|
316
317
|
## `eggs export deb`
|
|
317
318
|
|
|
@@ -402,7 +403,7 @@ DESCRIPTION
|
|
|
402
403
|
informations about eggs configuration
|
|
403
404
|
```
|
|
404
405
|
|
|
405
|
-
_See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
406
|
+
_See code: [src/commands/info.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/info.ts)_
|
|
406
407
|
|
|
407
408
|
## `eggs install`
|
|
408
409
|
|
|
@@ -422,13 +423,14 @@ FLAGS
|
|
|
422
423
|
DESCRIPTION
|
|
423
424
|
command-line system installer - the egg became a penguin!
|
|
424
425
|
|
|
426
|
+
ALIASES
|
|
427
|
+
$ eggs install
|
|
428
|
+
|
|
425
429
|
EXAMPLES
|
|
426
430
|
$ eggs install
|
|
427
431
|
Install the system using GUI or CLI installer
|
|
428
432
|
```
|
|
429
433
|
|
|
430
|
-
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.31/src/commands/install.ts)_
|
|
431
|
-
|
|
432
434
|
## `eggs kill`
|
|
433
435
|
|
|
434
436
|
kill the eggs/free the nest
|
|
@@ -449,7 +451,35 @@ EXAMPLES
|
|
|
449
451
|
kill the eggs/free the nest
|
|
450
452
|
```
|
|
451
453
|
|
|
452
|
-
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
454
|
+
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/kill.ts)_
|
|
455
|
+
|
|
456
|
+
## `eggs krill`
|
|
457
|
+
|
|
458
|
+
command-line system installer - the egg became a penguin!
|
|
459
|
+
|
|
460
|
+
```
|
|
461
|
+
USAGE
|
|
462
|
+
$ eggs krill [-c] [-k] [-p] [-h] [-v]
|
|
463
|
+
|
|
464
|
+
FLAGS
|
|
465
|
+
-c, --cli force use CLI installer
|
|
466
|
+
-h, --help Show CLI help.
|
|
467
|
+
-k, --crypted crypted CLI installation
|
|
468
|
+
-p, --pve Proxmox VE install
|
|
469
|
+
-v, --verbose verbose
|
|
470
|
+
|
|
471
|
+
DESCRIPTION
|
|
472
|
+
command-line system installer - the egg became a penguin!
|
|
473
|
+
|
|
474
|
+
ALIASES
|
|
475
|
+
$ eggs install
|
|
476
|
+
|
|
477
|
+
EXAMPLES
|
|
478
|
+
$ eggs install
|
|
479
|
+
Install the system using GUI or CLI installer
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
_See code: [src/commands/krill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/krill.ts)_
|
|
453
483
|
|
|
454
484
|
## `eggs mom`
|
|
455
485
|
|
|
@@ -466,7 +496,7 @@ DESCRIPTION
|
|
|
466
496
|
ask for mommy - gui helper
|
|
467
497
|
```
|
|
468
498
|
|
|
469
|
-
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
499
|
+
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/mom.ts)_
|
|
470
500
|
|
|
471
501
|
## `eggs produce`
|
|
472
502
|
|
|
@@ -527,7 +557,7 @@ EXAMPLES
|
|
|
527
557
|
in /home/eggs/ovarium and you can customize all you need
|
|
528
558
|
```
|
|
529
559
|
|
|
530
|
-
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
560
|
+
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/produce.ts)_
|
|
531
561
|
|
|
532
562
|
## `eggs remove`
|
|
533
563
|
|
|
@@ -557,7 +587,7 @@ EXAMPLES
|
|
|
557
587
|
remove eggs, eggs configurations, packages dependencies
|
|
558
588
|
```
|
|
559
589
|
|
|
560
|
-
_See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
590
|
+
_See code: [src/commands/remove.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/remove.ts)_
|
|
561
591
|
|
|
562
592
|
## `eggs syncfrom`
|
|
563
593
|
|
|
@@ -581,7 +611,7 @@ EXAMPLES
|
|
|
581
611
|
$ sudo eggs restore
|
|
582
612
|
```
|
|
583
613
|
|
|
584
|
-
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
614
|
+
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/syncfrom.ts)_
|
|
585
615
|
|
|
586
616
|
## `eggs syncto`
|
|
587
617
|
|
|
@@ -604,7 +634,7 @@ EXAMPLES
|
|
|
604
634
|
$ sudo eggs syncto
|
|
605
635
|
```
|
|
606
636
|
|
|
607
|
-
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
637
|
+
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/syncto.ts)_
|
|
608
638
|
|
|
609
639
|
## `eggs tools clean`
|
|
610
640
|
|
|
@@ -699,16 +729,27 @@ EXAMPLES
|
|
|
699
729
|
update/upgrade the penguin's eggs tool
|
|
700
730
|
```
|
|
701
731
|
|
|
702
|
-
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.
|
|
732
|
+
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v9.1.37/src/commands/update.ts)_
|
|
703
733
|
|
|
704
734
|
## `eggs version`
|
|
705
735
|
|
|
706
736
|
```
|
|
707
737
|
USAGE
|
|
708
|
-
$ eggs version
|
|
738
|
+
$ eggs version [--json] [--verbose]
|
|
739
|
+
|
|
740
|
+
FLAGS
|
|
741
|
+
--verbose Show additional information about the CLI.
|
|
742
|
+
|
|
743
|
+
GLOBAL FLAGS
|
|
744
|
+
--json Format output as json.
|
|
745
|
+
|
|
746
|
+
FLAG DESCRIPTIONS
|
|
747
|
+
--verbose Show additional information about the CLI.
|
|
748
|
+
|
|
749
|
+
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
|
|
709
750
|
```
|
|
710
751
|
|
|
711
|
-
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.
|
|
752
|
+
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.1.1/src/commands/version.ts)_
|
|
712
753
|
|
|
713
754
|
## `eggs wardrobe get [REPO]`
|
|
714
755
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -4,8 +4,8 @@ Version=1.0
|
|
|
4
4
|
Name=Install System
|
|
5
5
|
GenericName=System Installer
|
|
6
6
|
Keywords=calamares;system;installer;
|
|
7
|
-
Exec=pkexec calamares
|
|
8
|
-
# Exec=pkexec
|
|
7
|
+
Exec=sh -c "pkexec /usr/bin/calamares"
|
|
8
|
+
# Exec=pkexec calamares
|
|
9
9
|
TryExec=calamares
|
|
10
10
|
Comment=Calamares — System Installer
|
|
11
11
|
Icon=install-debian
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/bin/dev
CHANGED
|
File without changes
|
package/conf/distros/bionic/calamares/calamares-modules/after-bootloader/after-bootloader.sh
CHANGED
|
File without changes
|
package/conf/distros/bionic/calamares/calamares-modules/before-bootloader/before-bootloader.sh
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -18,13 +18,13 @@ zone: "Rome"
|
|
|
18
18
|
# System locales are detected in the following order:
|
|
19
19
|
#
|
|
20
20
|
# - /usr/share/i18n/SUPPORTED
|
|
21
|
-
# - localeGenPath (defaults to /etc/
|
|
21
|
+
# - localeGenPath (defaults to /etc/ if not set)
|
|
22
22
|
# - 'locale -a' output
|
|
23
23
|
#
|
|
24
24
|
# Enable only when your Distribution is using an
|
|
25
|
-
# custom path for
|
|
25
|
+
# custom path for
|
|
26
26
|
#
|
|
27
|
-
#localeGenPath: "PATH_TO/
|
|
27
|
+
#localeGenPath: "PATH_TO/"
|
|
28
28
|
|
|
29
29
|
# GeoIP based Language settings: Leave commented out to disable GeoIP.
|
|
30
30
|
#
|
|
File without changes
|
package/conf/eggs.yaml
CHANGED
|
@@ -63,8 +63,8 @@ make_isohybrid: true
|
|
|
63
63
|
|
|
64
64
|
# Compression algorithm
|
|
65
65
|
# Allowed values are, in order of speed-size tradeoff: lz4, lzo, gzip, xz
|
|
66
|
-
# default
|
|
67
|
-
compression: '
|
|
66
|
+
# default -Xcompression-level 20
|
|
67
|
+
compression: '-Xcompression-level 20'
|
|
68
68
|
|
|
69
69
|
# Allow password login to ssh for users (not root).
|
|
70
70
|
# If ssh_pass=true, then PasswordAuthentication will be set to true
|
package/conf/exclude.list
CHANGED
|
@@ -1,107 +1,92 @@
|
|
|
1
|
-
# rsync excludes file for
|
|
2
|
-
# version
|
|
1
|
+
# rsync excludes file for refractasnapshot and refractasnapshot-gui
|
|
2
|
+
# version 9.3.4
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
# Exclude some system files. These are required, and you probably
|
|
5
|
+
# shouldn't change them.
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
cdrom/*
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
tmp/*
|
|
17
|
-
swapfile
|
|
7
|
+
- /dev/*
|
|
8
|
+
- /cdrom/*
|
|
9
|
+
- /media/*
|
|
10
|
+
- /swapfile
|
|
11
|
+
- /mnt/*
|
|
12
|
+
- /sys/*
|
|
13
|
+
- /proc/*
|
|
14
|
+
- /tmp/*
|
|
15
|
+
- /live
|
|
16
|
+
- /persistence.conf
|
|
18
17
|
|
|
19
18
|
# boot
|
|
20
|
-
boot/
|
|
21
|
-
|
|
22
|
-
boot/grub
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
- /boot/grub/grub.cfg
|
|
20
|
+
- /boot/grub/menu.lst
|
|
21
|
+
- /boot/grub/device.map
|
|
22
|
+
- /boot/*.bak
|
|
23
|
+
- /boot/*.old-dkms
|
|
24
|
+
- /etc/udev/rules.d/70-persistent-cd.rules
|
|
25
|
+
- /etc/udev/rules.d/70-persistent-net.rules
|
|
26
26
|
|
|
27
27
|
# etc
|
|
28
|
-
etc/
|
|
29
|
-
etc/
|
|
30
|
-
etc/blkid.tab
|
|
31
|
-
etc/
|
|
32
|
-
etc/crypttab
|
|
33
|
-
etc/fstab
|
|
34
|
-
etc/fstab.
|
|
35
|
-
etc/
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
etc/
|
|
39
|
-
etc/
|
|
40
|
-
etc/
|
|
41
|
-
etc/mailname
|
|
42
|
-
etc/mtab
|
|
43
|
-
etc/NetworkManager/system-connections/*
|
|
44
|
-
etc/pve/*
|
|
45
|
-
etc/udev/rules.d/70-persistent-cd.rules
|
|
46
|
-
etc/udev/rules.d/70-persistent-net.rules
|
|
47
|
-
#etc/resolv.conf
|
|
48
|
-
|
|
49
|
-
# /root
|
|
50
|
-
root/.bash_history
|
|
51
|
-
root/.dbus
|
|
52
|
-
root/.gconf
|
|
53
|
-
root/.gnome2
|
|
54
|
-
root/keyfile
|
|
55
|
-
|
|
56
|
-
# var
|
|
57
|
-
# var/cache
|
|
58
|
-
var/cache/apt/archives/*.deb
|
|
59
|
-
var/cache/apt-xapian-index/index.*
|
|
60
|
-
var/cache/apt-show-versions/*
|
|
61
|
-
var/cache/apt/*.bin
|
|
62
|
-
var/cache/apt/apt-file/*
|
|
63
|
-
var/cache/debconf/*-old
|
|
64
|
-
var/cache/lightdm
|
|
65
|
-
var/cache/samba/browse.dat
|
|
28
|
+
- /etc/apt/sources.list~
|
|
29
|
+
- /etc/mtab
|
|
30
|
+
- /etc/blkid.tab
|
|
31
|
+
- /etc/blkid.tab.old
|
|
32
|
+
- /etc/crypttab
|
|
33
|
+
- /etc/fstab
|
|
34
|
+
- /etc/fstab.d/*
|
|
35
|
+
- /etc/initramfs-tools/conf.d/resume # see remove-cryptroot and nocrypt.sh
|
|
36
|
+
- /etc/initramfs-tools/conf.d/cryptroot # see remove-cryptroot and nocrypt.sh
|
|
37
|
+
- /etc/machine-id
|
|
38
|
+
- /etc/popularity-contest.conf
|
|
39
|
+
- /etc/ssh/ssh_host_*_key*
|
|
40
|
+
- /etc/ssh/ssh_host_key*
|
|
66
41
|
|
|
67
|
-
#
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
var/lib/NetworkManager/*
|
|
76
|
-
var/lib/nfs/rpc_pipefs/*
|
|
77
|
-
var/lib/sudo/*
|
|
78
|
-
var/lib/udisks/*
|
|
79
|
-
var/lib/urandom/*
|
|
42
|
+
# Added for newer version of live-config/live-boot in wheezy
|
|
43
|
+
# These are only relevant here if you create a snapshot while
|
|
44
|
+
# you're running a live-CD or live-usb.
|
|
45
|
+
- /lib/live/overlay
|
|
46
|
+
- /lib/live/image
|
|
47
|
+
- /lib/live/rootfs
|
|
48
|
+
- /lib/live/mount
|
|
49
|
+
- /run/*
|
|
80
50
|
|
|
81
|
-
#
|
|
82
|
-
|
|
83
|
-
# apache2, clamav, pveprozy, samba, mysql, cga-update-manager
|
|
84
|
-
var/log/!(apache2|clamav|pveproxy|samba|mysql|cga-update-manager)
|
|
51
|
+
# eggs remove all under home
|
|
52
|
+
- /home/*
|
|
85
53
|
|
|
86
|
-
#
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
var/cache/brightness-settings-cache/*
|
|
54
|
+
# /root
|
|
55
|
+
- /root/.aptitude
|
|
56
|
+
- /root/.bash_history
|
|
57
|
+
- /root/.disk-manager.conf
|
|
58
|
+
- /root/.fstab.log
|
|
59
|
+
- /root/.lesshst
|
|
60
|
+
- /root/*/.log
|
|
61
|
+
- /root/.local/share/*
|
|
62
|
+
- /root/.nano_history
|
|
63
|
+
- /root/.synaptic
|
|
64
|
+
- /root/.VirtualBox
|
|
65
|
+
- /root/.ICEauthority
|
|
66
|
+
- /root/.Xauthority
|
|
67
|
+
- /root/.ssh
|
|
101
68
|
|
|
102
|
-
#
|
|
103
|
-
|
|
104
|
-
|
|
69
|
+
# Added for symlink /lib
|
|
70
|
+
- /usr/lib/live/overlay
|
|
71
|
+
- /usr/lib/live/image
|
|
72
|
+
- /usr/lib/live/rootfs
|
|
73
|
+
- /usr/lib/live/mount
|
|
105
74
|
|
|
106
|
-
#
|
|
107
|
-
var/cache/
|
|
75
|
+
# var
|
|
76
|
+
- /var/cache/apt/archives/*.deb
|
|
77
|
+
- /var/cache/apt/pkgcache.bin
|
|
78
|
+
- /var/cache/apt/srcpkgcache.bin
|
|
79
|
+
- /var/cache/apt/apt-file/*
|
|
80
|
+
- /var/cache/debconf/*~old
|
|
81
|
+
- /var/lib/apt/lists/*
|
|
82
|
+
- /var/lib/apt/*~
|
|
83
|
+
- /var/lib/apt/cdroms.list
|
|
84
|
+
- /var/lib/aptitude/*.old
|
|
85
|
+
- /var/lib/dhcp/*
|
|
86
|
+
- /var/lib/dpkg/*~old
|
|
87
|
+
- /var/spool/mail/*
|
|
88
|
+
- /var/mail/*
|
|
89
|
+
- /var/backups/*.gz
|
|
90
|
+
- /var/lib/dbus/machine-id
|
|
91
|
+
- /var/lib/live/config/*
|
|
92
|
+
- /usr/share/icons/*/icon-theme.cache
|
package/conf/tools.yaml
CHANGED
|
@@ -11,6 +11,13 @@ export default class Compressors {
|
|
|
11
11
|
source: string;
|
|
12
12
|
dest: string;
|
|
13
13
|
populate(): Promise<void>;
|
|
14
|
+
fast(): string;
|
|
15
|
+
normal(): string;
|
|
16
|
+
/**
|
|
17
|
+
* max
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
max(): string;
|
|
14
21
|
private prepareCheck;
|
|
15
22
|
private removeCheck;
|
|
16
23
|
private check;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
/**
|
|
5
|
-
* test
|
|
5
|
+
* test available compressors
|
|
6
6
|
*/
|
|
7
7
|
const shelljs_1 = tslib_1.__importDefault(require("shelljs"));
|
|
8
8
|
class Compressors {
|
|
@@ -29,6 +29,43 @@ class Compressors {
|
|
|
29
29
|
this.isEnabled.zstd = await this.check('zstd');
|
|
30
30
|
await this.removeCheck();
|
|
31
31
|
}
|
|
32
|
+
// fastest
|
|
33
|
+
fast() {
|
|
34
|
+
let comp = 'gzip';
|
|
35
|
+
if (this.isEnabled.zstd) {
|
|
36
|
+
comp = 'zstd -b 256K -Xcompression-level 1';
|
|
37
|
+
}
|
|
38
|
+
else if (this.isEnabled.lz4) {
|
|
39
|
+
comp = 'lz4';
|
|
40
|
+
}
|
|
41
|
+
return comp;
|
|
42
|
+
}
|
|
43
|
+
// normal
|
|
44
|
+
normal() {
|
|
45
|
+
let comp = "xz";
|
|
46
|
+
if (this.isEnabled.zstd) {
|
|
47
|
+
comp = 'zstd -b 256K -Xcompression-level 20';
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
comp = 'xz -b 256K';
|
|
51
|
+
}
|
|
52
|
+
return comp;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* max
|
|
56
|
+
* @returns
|
|
57
|
+
*/
|
|
58
|
+
max() {
|
|
59
|
+
let comp = 'xz -b 256K -Xbcj ';
|
|
60
|
+
const filter = 'x86';
|
|
61
|
+
if (process.arch === 'arm') {
|
|
62
|
+
const filter = 'ARM'; // to check
|
|
63
|
+
}
|
|
64
|
+
else if (process.arch === 'arm64') {
|
|
65
|
+
const filter = 'ARM64'; // to check
|
|
66
|
+
}
|
|
67
|
+
return comp + filter;
|
|
68
|
+
}
|
|
32
69
|
async prepareCheck() {
|
|
33
70
|
shelljs_1.default.exec('rm -rf ' + this.source, { silent: true });
|
|
34
71
|
shelljs_1.default.exec('mkdir ' + this.source, { silent: true });
|
package/lib/classes/daddy.js
CHANGED
|
@@ -60,39 +60,16 @@ class Daddy {
|
|
|
60
60
|
config.root_passwd = newConf.root_passwd;
|
|
61
61
|
config.theme = newConf.theme;
|
|
62
62
|
/**
|
|
63
|
-
* Analisi del tipo di compressione
|
|
64
|
-
*
|
|
63
|
+
* Analisi del tipo di compressione disponibile
|
|
65
64
|
*/
|
|
66
65
|
const compressors = new compressors_1.default();
|
|
67
66
|
await compressors.populate();
|
|
68
|
-
|
|
69
|
-
if (
|
|
70
|
-
|
|
67
|
+
config.compression = compressors.normal();
|
|
68
|
+
if (newConf.compression === 'fast') {
|
|
69
|
+
config.compression = compressors.fast();
|
|
71
70
|
}
|
|
72
|
-
else if (
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
switch (newConf.compression) {
|
|
76
|
-
case 'fast': {
|
|
77
|
-
config.compression = fastest;
|
|
78
|
-
break;
|
|
79
|
-
}
|
|
80
|
-
case 'normal': {
|
|
81
|
-
config.compression = 'xz';
|
|
82
|
-
break;
|
|
83
|
-
}
|
|
84
|
-
case 'max': {
|
|
85
|
-
const filter = 'x86';
|
|
86
|
-
if (process.arch === 'arm') {
|
|
87
|
-
const filter = 'ARM'; // to check
|
|
88
|
-
}
|
|
89
|
-
else if (process.arch === 'arm64') {
|
|
90
|
-
const filter = 'ARM64'; // to check
|
|
91
|
-
}
|
|
92
|
-
config.compression = 'xz -Xbcj ' + filter;
|
|
93
|
-
break;
|
|
94
|
-
}
|
|
95
|
-
// No default
|
|
71
|
+
else if (newConf.compression === 'max') {
|
|
72
|
+
config.compression = compressors.max();
|
|
96
73
|
}
|
|
97
74
|
await this.settings.save(config);
|
|
98
75
|
let flags = '';
|