penguins-eggs 10.0.2 → 10.0.3

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.
Files changed (43) hide show
  1. package/.oclif.manifest.json +7 -8
  2. package/README.md +35 -35
  3. package/addons/eggs/theme/livecd/grub.main.cfg +3 -3
  4. package/addons/eggs/theme/livecd/isolinux.main.cfg +3 -3
  5. package/dist/classes/incubation/fisherman-helper/packages.js +8 -1
  6. package/dist/classes/xdg.js +3 -0
  7. package/dist/commands/adapt.d.ts +2 -2
  8. package/dist/commands/analyze.d.ts +2 -2
  9. package/dist/commands/calamares.d.ts +8 -8
  10. package/dist/commands/config.d.ts +5 -5
  11. package/dist/commands/cuckoo.d.ts +1 -1
  12. package/dist/commands/dad.d.ts +4 -4
  13. package/dist/commands/export/deb.d.ts +4 -4
  14. package/dist/commands/export/iso.d.ts +4 -4
  15. package/dist/commands/install.d.ts +15 -15
  16. package/dist/commands/install.js +6 -20
  17. package/dist/commands/kill.d.ts +4 -4
  18. package/dist/commands/mom.d.ts +1 -1
  19. package/dist/commands/produce.d.ts +18 -18
  20. package/dist/commands/status.d.ts +2 -2
  21. package/dist/commands/syncfrom.d.ts +5 -5
  22. package/dist/commands/syncto.d.ts +4 -4
  23. package/dist/commands/tools/clean.d.ts +3 -3
  24. package/dist/commands/tools/ppa.d.ts +5 -5
  25. package/dist/commands/tools/skel.d.ts +3 -3
  26. package/dist/commands/tools/stat.d.ts +3 -3
  27. package/dist/commands/tools/yolk.d.ts +2 -2
  28. package/dist/commands/update.d.ts +2 -2
  29. package/dist/commands/wardrobe/get.d.ts +3 -3
  30. package/dist/commands/wardrobe/list.d.ts +4 -4
  31. package/dist/commands/wardrobe/show.d.ts +5 -5
  32. package/dist/commands/wardrobe/wear.d.ts +6 -6
  33. package/dist/interfaces/i-packages.d.ts +4 -17
  34. package/dist/interfaces/i-packages.js +0 -14
  35. package/dist/krill/modules/packages.js +37 -27
  36. package/dist/krill/prepare.d.ts +2 -1
  37. package/dist/krill/prepare.js +4 -2
  38. package/dist/krill/sequence.d.ts +2 -1
  39. package/dist/krill/sequence.js +62 -42
  40. package/dist/lib/cli-autologin.js +1 -1
  41. package/manpages/doc/man/eggs.1.gz +0 -0
  42. package/manpages/doc/man/eggs.html +9 -9
  43. package/package.json +9 -8
@@ -310,7 +310,7 @@
310
310
  "examples": [
311
311
  "sudo eggs install",
312
312
  "sudo eggs install --unattended --halt",
313
- "sudo eggs install --custom it"
313
+ "sudo eggs install --chroot"
314
314
  ],
315
315
  "flags": {
316
316
  "btrfs": {
@@ -327,13 +327,12 @@
327
327
  "allowNo": false,
328
328
  "type": "boolean"
329
329
  },
330
- "custom": {
330
+ "chroot": {
331
331
  "char": "c",
332
- "description": "custom unattended configuration",
333
- "name": "custom",
334
- "hasDynamicHelp": false,
335
- "multiple": false,
336
- "type": "option"
332
+ "description": "chroot before to end",
333
+ "name": "chroot",
334
+ "allowNo": false,
335
+ "type": "boolean"
337
336
  },
338
337
  "domain": {
339
338
  "char": "d",
@@ -1454,5 +1453,5 @@
1454
1453
  ]
1455
1454
  }
1456
1455
  },
1457
- "version": "10.0.2"
1456
+ "version": "10.0.3"
1458
1457
  }
package/README.md CHANGED
@@ -444,7 +444,7 @@ EXAMPLES
444
444
  $ eggs adapt
445
445
  ```
446
446
 
447
- _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/adapt.ts)_
447
+ _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/adapt.ts)_
448
448
 
449
449
  ## `eggs analyze`
450
450
 
@@ -465,7 +465,7 @@ EXAMPLES
465
465
  sudo eggs analyze
466
466
  ```
467
467
 
468
- _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/analyze.ts)_
468
+ _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/analyze.ts)_
469
469
 
470
470
  ## `eggs autocomplete [SHELL]`
471
471
 
@@ -496,7 +496,7 @@ EXAMPLES
496
496
  $ eggs autocomplete --refresh-cache
497
497
  ```
498
498
 
499
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.1.1/src/commands/autocomplete/index.ts)_
499
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.1.2/src/commands/autocomplete/index.ts)_
500
500
 
501
501
  ## `eggs calamares`
502
502
 
@@ -529,7 +529,7 @@ EXAMPLES
529
529
  sudo eggs calamares --remove
530
530
  ```
531
531
 
532
- _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/calamares.ts)_
532
+ _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/calamares.ts)_
533
533
 
534
534
  ## `eggs config`
535
535
 
@@ -557,7 +557,7 @@ EXAMPLES
557
557
  sudo eggs config --clean --nointeractive
558
558
  ```
559
559
 
560
- _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/config.ts)_
560
+ _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/config.ts)_
561
561
 
562
562
  ## `eggs cuckoo`
563
563
 
@@ -577,7 +577,7 @@ EXAMPLES
577
577
  sudo eggs cuckoo
578
578
  ```
579
579
 
580
- _See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/cuckoo.ts)_
580
+ _See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/cuckoo.ts)_
581
581
 
582
582
  ## `eggs dad`
583
583
 
@@ -604,7 +604,7 @@ EXAMPLES
604
604
  sudo dad --default
605
605
  ```
606
606
 
607
- _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/dad.ts)_
607
+ _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/dad.ts)_
608
608
 
609
609
  ## `eggs export deb`
610
610
 
@@ -631,7 +631,7 @@ EXAMPLES
631
631
  $ eggs export deb --all
632
632
  ```
633
633
 
634
- _See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/export/deb.ts)_
634
+ _See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/export/deb.ts)_
635
635
 
636
636
  ## `eggs export iso`
637
637
 
@@ -656,7 +656,7 @@ EXAMPLES
656
656
  $ eggs export iso --clean
657
657
  ```
658
658
 
659
- _See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/export/iso.ts)_
659
+ _See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/export/iso.ts)_
660
660
 
661
661
  ## `eggs help [COMMAND]`
662
662
 
@@ -684,14 +684,14 @@ krill: the CLI system installer - the egg became a penguin!
684
684
 
685
685
  ```
686
686
  USAGE
687
- $ eggs install [-b] [-k] [-c <value>] [-d <value>] [-H] [-h] [-i] [-n] [-N] [-p] [-r] [-s] [-S] [-u] [-v]
687
+ $ eggs install [-b] [-k] [-c] [-d <value>] [-H] [-h] [-i] [-n] [-N] [-p] [-r] [-s] [-S] [-u] [-v]
688
688
 
689
689
  FLAGS
690
690
  -H, --halt Halt the system after installation
691
691
  -N, --none Swap none: 256M
692
692
  -S, --suspend Swap suspend: RAM x 2
693
693
  -b, --btrfs Format btrfs
694
- -c, --custom=<value> custom unattended configuration
694
+ -c, --chroot chroot before to end
695
695
  -d, --domain=<value> Domain name, defult: .local
696
696
  -h, --help Show CLI help.
697
697
  -i, --ip hostname as ip, eg: ip-192-168-1-33
@@ -714,10 +714,10 @@ EXAMPLES
714
714
 
715
715
  sudo eggs install --unattended --halt
716
716
 
717
- sudo eggs install --custom it
717
+ sudo eggs install --chroot
718
718
  ```
719
719
 
720
- _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/install.ts)_
720
+ _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/install.ts)_
721
721
 
722
722
  ## `eggs kill`
723
723
 
@@ -740,7 +740,7 @@ EXAMPLES
740
740
  sudo eggs kill
741
741
  ```
742
742
 
743
- _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/kill.ts)_
743
+ _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/kill.ts)_
744
744
 
745
745
  ## `eggs krill`
746
746
 
@@ -748,14 +748,14 @@ krill: the CLI system installer - the egg became a penguin!
748
748
 
749
749
  ```
750
750
  USAGE
751
- $ eggs krill [-b] [-k] [-c <value>] [-d <value>] [-H] [-h] [-i] [-n] [-N] [-p] [-r] [-s] [-S] [-u] [-v]
751
+ $ eggs krill [-b] [-k] [-c] [-d <value>] [-H] [-h] [-i] [-n] [-N] [-p] [-r] [-s] [-S] [-u] [-v]
752
752
 
753
753
  FLAGS
754
754
  -H, --halt Halt the system after installation
755
755
  -N, --none Swap none: 256M
756
756
  -S, --suspend Swap suspend: RAM x 2
757
757
  -b, --btrfs Format btrfs
758
- -c, --custom=<value> custom unattended configuration
758
+ -c, --chroot chroot before to end
759
759
  -d, --domain=<value> Domain name, defult: .local
760
760
  -h, --help Show CLI help.
761
761
  -i, --ip hostname as ip, eg: ip-192-168-1-33
@@ -778,7 +778,7 @@ EXAMPLES
778
778
 
779
779
  sudo eggs install --unattended --halt
780
780
 
781
- sudo eggs install --custom it
781
+ sudo eggs install --chroot
782
782
  ```
783
783
 
784
784
  ## `eggs mom`
@@ -799,7 +799,7 @@ EXAMPLES
799
799
  $ eggs mom
800
800
  ```
801
801
 
802
- _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/mom.ts)_
802
+ _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/mom.ts)_
803
803
 
804
804
  ## `eggs produce`
805
805
 
@@ -807,8 +807,8 @@ produce a live image from your system whithout your data
807
807
 
808
808
  ```
809
809
  USAGE
810
- $ eggs produce [--addons <value>] [--basename <value>] [-c] [-C] [--excludes <value>] [-h] [--links
811
- <value>] [-m] [-N] [-n] [-p <value>] [--release] [-s] [-f] [--theme <value>] [-u] [-v] [-y]
810
+ $ eggs produce [--addons <value>...] [--basename <value>] [-c] [-C] [--excludes <value>...] [-h] [--links
811
+ <value>...] [-m] [-N] [-n] [-p <value>] [--release] [-s] [-f] [--theme <value>] [-u] [-v] [-y]
812
812
 
813
813
  FLAGS
814
814
  -C, --cryptedclone crypted clone
@@ -855,7 +855,7 @@ EXAMPLES
855
855
  sudo eggs produce --excludes=static
856
856
  ```
857
857
 
858
- _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/produce.ts)_
858
+ _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/produce.ts)_
859
859
 
860
860
  ## `eggs status`
861
861
 
@@ -876,7 +876,7 @@ EXAMPLES
876
876
  $ eggs status
877
877
  ```
878
878
 
879
- _See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/status.ts)_
879
+ _See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/status.ts)_
880
880
 
881
881
  ## `eggs syncfrom`
882
882
 
@@ -902,7 +902,7 @@ EXAMPLES
902
902
  sudo eggs syncfrom --file /path/to/luks-volume
903
903
  ```
904
904
 
905
- _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/syncfrom.ts)_
905
+ _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/syncfrom.ts)_
906
906
 
907
907
  ## `eggs syncto`
908
908
 
@@ -929,7 +929,7 @@ EXAMPLES
929
929
  sudo eggs syncto --excludes
930
930
  ```
931
931
 
932
- _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/syncto.ts)_
932
+ _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/syncto.ts)_
933
933
 
934
934
  ## `eggs tools clean`
935
935
 
@@ -951,7 +951,7 @@ EXAMPLES
951
951
  sudo eggs tools clean
952
952
  ```
953
953
 
954
- _See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/tools/clean.ts)_
954
+ _See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/tools/clean.ts)_
955
955
 
956
956
  ## `eggs tools ppa`
957
957
 
@@ -977,7 +977,7 @@ EXAMPLES
977
977
  sudo eggs tools ppa --remove
978
978
  ```
979
979
 
980
- _See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/tools/ppa.ts)_
980
+ _See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/tools/ppa.ts)_
981
981
 
982
982
  ## `eggs tools skel`
983
983
 
@@ -1001,7 +1001,7 @@ EXAMPLES
1001
1001
  sudo eggs tools skel --user user-to-be-copied
1002
1002
  ```
1003
1003
 
1004
- _See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/tools/skel.ts)_
1004
+ _See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/tools/skel.ts)_
1005
1005
 
1006
1006
  ## `eggs tools stat`
1007
1007
 
@@ -1027,7 +1027,7 @@ EXAMPLES
1027
1027
  $ eggs tools stat --year
1028
1028
  ```
1029
1029
 
1030
- _See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/tools/stat.ts)_
1030
+ _See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/tools/stat.ts)_
1031
1031
 
1032
1032
  ## `eggs tools yolk`
1033
1033
 
@@ -1048,7 +1048,7 @@ EXAMPLES
1048
1048
  sudo eggs tools yolk
1049
1049
  ```
1050
1050
 
1051
- _See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/tools/yolk.ts)_
1051
+ _See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/tools/yolk.ts)_
1052
1052
 
1053
1053
  ## `eggs update`
1054
1054
 
@@ -1069,7 +1069,7 @@ EXAMPLES
1069
1069
  $ eggs update
1070
1070
  ```
1071
1071
 
1072
- _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/update.ts)_
1072
+ _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/update.ts)_
1073
1073
 
1074
1074
  ## `eggs version`
1075
1075
 
@@ -1089,7 +1089,7 @@ FLAG DESCRIPTIONS
1089
1089
  Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
1090
1090
  ```
1091
1091
 
1092
- _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.0/src/commands/version.ts)_
1092
+ _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.2/src/commands/version.ts)_
1093
1093
 
1094
1094
  ## `eggs wardrobe get [REPO]`
1095
1095
 
@@ -1115,7 +1115,7 @@ EXAMPLES
1115
1115
  $ eggs wardrobe get your-wardrobe
1116
1116
  ```
1117
1117
 
1118
- _See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/wardrobe/get.ts)_
1118
+ _See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/wardrobe/get.ts)_
1119
1119
 
1120
1120
  ## `eggs wardrobe list [REPO]`
1121
1121
 
@@ -1144,7 +1144,7 @@ EXAMPLES
1144
1144
  $ eggs wardrobe list --distro arch
1145
1145
  ```
1146
1146
 
1147
- _See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/wardrobe/list.ts)_
1147
+ _See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/wardrobe/list.ts)_
1148
1148
 
1149
1149
  ## `eggs wardrobe show [REPO]`
1150
1150
 
@@ -1174,7 +1174,7 @@ EXAMPLES
1174
1174
  $ eggs wardrobe show accessories/
1175
1175
  ```
1176
1176
 
1177
- _See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/wardrobe/show.ts)_
1177
+ _See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/wardrobe/show.ts)_
1178
1178
 
1179
1179
  ## `eggs wardrobe wear [REPO]`
1180
1180
 
@@ -1205,7 +1205,7 @@ EXAMPLES
1205
1205
  sudo eggs wardrobe wear wagtail/waydroid
1206
1206
  ```
1207
1207
 
1208
- _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.2/src/commands/wardrobe/wear.ts)_
1208
+ _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.3/src/commands/wardrobe/wear.ts)_
1209
1209
  <!-- commandsstop -->
1210
1210
  * [`eggs adapt`](#eggs-adapt)
1211
1211
  * [`eggs analyze`](#eggs-analyze)
@@ -19,7 +19,7 @@ set theme=/boot/grub/theme.cfg
19
19
  menuentry "{{{fullname}}} Live/Installation" {
20
20
  set gfxpayload=keep
21
21
  {{{rmModules}}}
22
- linux {{{vmlinuz}}} {{{kernel_parameters}}} auto noprompt priority=critical mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash #ip=ens18:192.168.1.4:255.255.255.0:192.168.1.1:8.8.8.8
22
+ linux {{{vmlinuz}}} {{{kernel_parameters}}} auto noprompt priority=critical mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash
23
23
  initrd {{{initrdImg}}}
24
24
  }
25
25
 
@@ -27,14 +27,14 @@ menuentry "{{{fullname}}} Live/Installation" {
27
27
  menuentry "{{{fullname}}} Safe Mode" {
28
28
  set gfxpayload=keep
29
29
  {{{rmModules}}}
30
- linux {{{vmlinuz}}} {{{kernel_parameters}}} auto noprompt priority=critical nomodeset apparmor=0 net.ifnames=0 noapic noapm nodma nomce nolapic nosmp vga=normal mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash #ip=ens18:192.168.1.4:255.255.255.0:192.168.1.1:8.8.8.8
30
+ linux {{{vmlinuz}}} {{{kernel_parameters}}} auto noprompt priority=critical nomodeset apparmor=0 net.ifnames=0 noapic noapm nodma nomce nolapic nosmp vga=normal mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash
31
31
  initrd {{{initrdImg}}}
32
32
  }
33
33
 
34
34
  menuentry "{{{fullname}}} Text Mode" {
35
35
  set gfxpayload=keep
36
36
  {{{rmModules}}}
37
- linux {{{vmlinuz}}} {{{kernel_parameters}}} auto noprompt priority=critical init 3 mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash #ip=ens18:192.168.1.4:255.255.255.0:192.168.1.1:8.8.8.8
37
+ linux {{{vmlinuz}}} {{{kernel_parameters}}} auto noprompt priority=critical init 3 mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash
38
38
  initrd {{{initrdImg}}}
39
39
  }
40
40
 
@@ -14,21 +14,21 @@ label Live/Installation Mode
14
14
  menu default
15
15
  say "Booting {{{fullname}}} GNU/Linux (kernel {{{kernel}}})"
16
16
  linux {{{vmlinuz}}}
17
- append initrd={{{initrdImg}}} {{{kernel_parameters}}} auto noprompt priority=critical mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash #ip=ens18:192.168.1.4:255.255.255.0:192.168.1.1:8.8.8.8
17
+ append initrd={{{initrdImg}}} {{{kernel_parameters}}} auto noprompt priority=critical mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash
18
18
 
19
19
 
20
20
  label Boot in Safe Mode
21
21
  menu label {{{fullname}}} Safe Mode
22
22
  say "Booting {{{fullname}}} GNU/Linux (kernel {{{kernel}}})"
23
23
  linux {{{vmlinuz}}}
24
- append initrd={{{initrdImg}}} {{{kernel_parameters}}} auto noprompt priority=critical nomodeset apparmor=0 net.ifnames=0 noapic noapm nodma nomce nolapic nosmp vga=normal mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash #ip=ens18:192.168.1.4:255.255.255.0:192.168.1.1:8.8.8.8
24
+ append initrd={{{initrdImg}}} {{{kernel_parameters}}} auto noprompt priority=critical nomodeset apparmor=0 net.ifnames=0 noapic noapm nodma nomce nolapic nosmp vga=normal mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash
25
25
 
26
26
 
27
27
  label Boot in Text Mode
28
28
  menu label {{{fullname}}} Text Mode
29
29
  say "Booting {{{fullname}}} GNU/Linux (kernel {{{kernel}}})"
30
30
  linux {{{vmlinuz}}}
31
- append initrd={{{initrdImg}}} {{{kernel_parameters}}} auto noprompt priority=critical init 3 mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash #ip=ens18:192.168.1.4:255.255.255.0:192.168.1.1:8.8.8.8
31
+ append initrd={{{initrdImg}}} {{{kernel_parameters}}} auto noprompt priority=critical init 3 mitigations=off amd_pstate.enable=0 intel_pstate=disable loglevel=0 nowatchdog elevator=noop slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 loglevel=0 fsck.mode=skip quiet splash
32
32
 
33
33
  label Boot from local
34
34
  com32 chain.c32
@@ -23,8 +23,15 @@ export function remove(distro) {
23
23
  if (distro.familyId === 'debian') {
24
24
  packages.push('penguins-eggs', 'live-boot', 'live-boot-doc', 'live-boot-initramfs-tools', 'live-tools');
25
25
  }
26
- let yaml = '';
26
+ let installedPackages = [];
27
27
  for (const elem of packages) {
28
+ if (Pacman.packageIsInstalled(elem)) {
29
+ installedPackages.push(elem);
30
+ }
31
+ }
32
+ installedPackages.sort();
33
+ let yaml = '';
34
+ for (const elem of installedPackages) {
28
35
  yaml += ` - ${elem.trim()}\n`;
29
36
  }
30
37
  if (yaml !== '') {
@@ -231,6 +231,9 @@ export default class Xdg {
231
231
  /**
232
232
  * special cases
233
233
  */
234
+ // Riccardo suggestion
235
+ await rsyncIfExist(`/home/${user}/.mozilla`, '/etc/skel', verbose);
236
+ await rsyncIfExist(`/home/${user}/.kodi`, '/etc/skel', verbose);
234
237
  // waydroid
235
238
  if (fs.existsSync(`/home/${user}/waydroid-package-manager`)) {
236
239
  await rsyncIfExist(`/home/${user}/waydroid-package-manager`, '/etc/skel', verbose);
@@ -10,8 +10,8 @@ export default class Adapt extends Command {
10
10
  static description: string;
11
11
  static examples: string[];
12
12
  static flags: {
13
- help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
14
- verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
13
+ help: import("@oclif/core/interfaces").BooleanFlag<void>;
14
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
15
  };
16
16
  run(): Promise<void>;
17
17
  }
@@ -12,8 +12,8 @@ export default class Analyze extends Command {
12
12
  static description: string;
13
13
  static examples: string[];
14
14
  static flags: {
15
- help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
16
- verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
15
+ help: import("@oclif/core/interfaces").BooleanFlag<void>;
16
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
17
17
  };
18
18
  config_file: string;
19
19
  snapshot_dir: string;
@@ -13,14 +13,14 @@ export default class Calamares extends Command {
13
13
  static description: string;
14
14
  static examples: string[];
15
15
  static flags: {
16
- help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
17
- install: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
18
- nointeractive: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
19
- policies: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
20
- release: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
21
- remove: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
22
- theme: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
23
- verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
16
+ help: import("@oclif/core/interfaces").BooleanFlag<void>;
17
+ install: import("@oclif/core/interfaces").BooleanFlag<boolean>;
18
+ nointeractive: import("@oclif/core/interfaces").BooleanFlag<boolean>;
19
+ policies: import("@oclif/core/interfaces").BooleanFlag<boolean>;
20
+ release: import("@oclif/core/interfaces").BooleanFlag<boolean>;
21
+ remove: import("@oclif/core/interfaces").BooleanFlag<boolean>;
22
+ theme: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
23
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
24
24
  };
25
25
  incubator: Incubator;
26
26
  remix: IRemix;
@@ -14,11 +14,11 @@ export default class Config extends Command {
14
14
  static description: string;
15
15
  static examples: string[];
16
16
  static flags: {
17
- clean: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
18
- help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
19
- noicons: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
20
- nointeractive: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
21
- verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
17
+ clean: import("@oclif/core/interfaces").BooleanFlag<boolean>;
18
+ help: import("@oclif/core/interfaces").BooleanFlag<void>;
19
+ noicons: import("@oclif/core/interfaces").BooleanFlag<boolean>;
20
+ nointeractive: import("@oclif/core/interfaces").BooleanFlag<boolean>;
21
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
22
22
  };
23
23
  /**
24
24
  *
@@ -10,7 +10,7 @@ export default class Cuckoo extends Command {
10
10
  static description: string;
11
11
  static examples: string[];
12
12
  static flags: {
13
- help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
13
+ help: import("@oclif/core/interfaces").BooleanFlag<void>;
14
14
  };
15
15
  run(nest?: string): Promise<void>;
16
16
  }
@@ -10,10 +10,10 @@ export default class Dad extends Command {
10
10
  static description: string;
11
11
  static examples: string[];
12
12
  static flags: {
13
- clean: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
14
- default: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
15
- help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
16
- verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
13
+ clean: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ default: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
+ help: import("@oclif/core/interfaces").BooleanFlag<void>;
16
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
17
17
  };
18
18
  run(): Promise<void>;
19
19
  }
@@ -10,10 +10,10 @@ export default class ExportDeb extends Command {
10
10
  static description: string;
11
11
  static examples: string[];
12
12
  static flags: {
13
- all: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
14
- clean: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
15
- help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
16
- verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
13
+ all: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ clean: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
+ help: import("@oclif/core/interfaces").BooleanFlag<void>;
16
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
17
17
  };
18
18
  run(): Promise<void>;
19
19
  }
@@ -10,10 +10,10 @@ export default class ExportIso extends Command {
10
10
  static description: string;
11
11
  static examples: string[];
12
12
  static flags: {
13
- checksum: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
14
- clean: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
15
- help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
16
- verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
13
+ checksum: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
+ clean: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
+ help: import("@oclif/core/interfaces").BooleanFlag<void>;
16
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
17
17
  };
18
18
  run(): Promise<void>;
19
19
  }
@@ -14,21 +14,21 @@ export default class Install extends Command {
14
14
  static description: string;
15
15
  static examples: string[];
16
16
  static flags: {
17
- btrfs: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
18
- crypted: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
19
- custom: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
20
- domain: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
21
- halt: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
22
- help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
23
- ip: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
24
- nointeractive: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
25
- none: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
26
- pve: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
27
- random: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
28
- small: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
29
- suspend: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
30
- unattended: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
31
- verbose: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
17
+ btrfs: import("@oclif/core/interfaces").BooleanFlag<boolean>;
18
+ crypted: import("@oclif/core/interfaces").BooleanFlag<boolean>;
19
+ chroot: import("@oclif/core/interfaces").BooleanFlag<boolean>;
20
+ domain: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
21
+ halt: import("@oclif/core/interfaces").BooleanFlag<boolean>;
22
+ help: import("@oclif/core/interfaces").BooleanFlag<void>;
23
+ ip: import("@oclif/core/interfaces").BooleanFlag<boolean>;
24
+ nointeractive: import("@oclif/core/interfaces").BooleanFlag<boolean>;
25
+ none: import("@oclif/core/interfaces").BooleanFlag<boolean>;
26
+ pve: import("@oclif/core/interfaces").BooleanFlag<boolean>;
27
+ random: import("@oclif/core/interfaces").BooleanFlag<boolean>;
28
+ small: import("@oclif/core/interfaces").BooleanFlag<boolean>;
29
+ suspend: import("@oclif/core/interfaces").BooleanFlag<boolean>;
30
+ unattended: import("@oclif/core/interfaces").BooleanFlag<boolean>;
31
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
32
32
  };
33
33
  /**
34
34
  * Execute
@@ -23,12 +23,12 @@ export default class Install extends Command {
23
23
  static examples = [
24
24
  'sudo eggs install',
25
25
  'sudo eggs install --unattended --halt',
26
- 'sudo eggs install --custom it',
26
+ 'sudo eggs install --chroot',
27
27
  ];
28
28
  static flags = {
29
29
  btrfs: Flags.boolean({ char: 'b', description: 'Format btrfs' }),
30
30
  crypted: Flags.boolean({ char: 'k', description: 'Crypted CLI installation' }),
31
- custom: Flags.string({ char: 'c', description: 'custom unattended configuration' }),
31
+ chroot: Flags.boolean({ char: 'c', description: 'chroot before to end' }),
32
32
  domain: Flags.string({ char: 'd', description: 'Domain name, defult: .local' }),
33
33
  halt: Flags.boolean({ char: 'H', description: 'Halt the system after installation' }),
34
34
  help: Flags.help({ char: 'h' }),
@@ -57,22 +57,6 @@ export default class Install extends Command {
57
57
  let krillConfig = {};
58
58
  const content = fs.readFileSync('/etc/penguins-eggs.d/krill.yaml', 'utf8');
59
59
  krillConfig = yaml.load(content);
60
- /* removed
61
- if (custom !== undefined) {
62
- const fname = path.basename(custom)
63
- const url = `https://raw.githubusercontent.com/pieroproietti/penguins-wardrobe/main/config/${fname}.yaml`
64
- let res: AxiosResponse
65
- await axios.get(url, {httpsAgent: agent})
66
- .then(function (response) {
67
- krillConfig = yaml.load(response.data) as IKrillConfig
68
- })
69
- .catch(function (error) {
70
- const content = fs.readFileSync('/etc/penguins-eggs.d/krill.yaml', 'utf8')
71
- krillConfig = yaml.load(content) as IKrillConfig
72
- })
73
- }
74
- }
75
- end removed */
76
60
  // nointeractive
77
61
  const { nointeractive } = flags;
78
62
  // halt
@@ -80,6 +64,8 @@ export default class Install extends Command {
80
64
  // hostname
81
65
  const { ip } = flags;
82
66
  const { random } = flags;
67
+ // chroot before to end
68
+ const { chroot } = flags;
83
69
  let domain = '';
84
70
  if (flags.domain) {
85
71
  domain = flags.domain;
@@ -89,14 +75,14 @@ export default class Install extends Command {
89
75
  const { small } = flags;
90
76
  const { none } = flags;
91
77
  let { crypted } = flags;
92
- const { pve } = flags;
78
+ const pve = flags.pve;
93
79
  if (pve) {
94
80
  crypted = false;
95
81
  }
96
82
  const { verbose } = flags;
97
83
  if (Utils.isRoot()) {
98
84
  if (Utils.isLive()) {
99
- const krill = new Krill(unattended, nointeractive, halt);
85
+ const krill = new Krill(unattended, nointeractive, halt, chroot);
100
86
  await krill.prepare(krillConfig, ip, random, domain, suspend, small, none, crypted, pve, flags.btrfs, verbose);
101
87
  }
102
88
  else {