penguins-eggs 10.0.52 → 10.0.54

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 (48) hide show
  1. package/.oclif.manifest.json +53 -5
  2. package/README.md +59 -31
  3. package/addons/eggs/theme/livecd/grub.main.simple.cfg +49 -0
  4. package/addons/eggs/theme/livecd/isolinux.theme.cfg +6 -5
  5. package/conf/derivatives.yaml +2 -0
  6. package/conf/distros/fedora/calamares/settings.yml +0 -6
  7. package/dist/classes/distro.js +18 -14
  8. package/dist/classes/diversions.d.ts +10 -0
  9. package/dist/classes/diversions.js +25 -16
  10. package/dist/classes/incubation/incubator.d/alpine.js +0 -2
  11. package/dist/classes/ovary.d.ts +1 -1
  12. package/dist/classes/ovary.js +60 -46
  13. package/dist/classes/pacman.d/aldos.d.ts +5 -0
  14. package/dist/classes/pacman.d/aldos.js +8 -1
  15. package/dist/classes/pacman.d/alpine.d.ts +5 -0
  16. package/dist/classes/pacman.d/alpine.js +7 -0
  17. package/dist/classes/pacman.d/archlinux.d.ts +5 -0
  18. package/dist/classes/pacman.d/archlinux.js +7 -0
  19. package/dist/classes/pacman.d/debian.d.ts +4 -0
  20. package/dist/classes/pacman.d/debian.js +12 -0
  21. package/dist/classes/pacman.d/fedora.d.ts +5 -0
  22. package/dist/classes/pacman.d/fedora.js +7 -0
  23. package/dist/classes/pacman.d/openmamba.d.ts +5 -0
  24. package/dist/classes/pacman.d/openmamba.js +7 -0
  25. package/dist/classes/pacman.d/opensuse.d.ts +5 -0
  26. package/dist/classes/pacman.d/opensuse.js +7 -0
  27. package/dist/classes/pacman.d/voidlinux.d.ts +4 -0
  28. package/dist/classes/pacman.d/voidlinux.js +6 -0
  29. package/dist/classes/pacman.js +27 -8
  30. package/dist/classes/utils.d.ts +5 -0
  31. package/dist/classes/utils.js +9 -12
  32. package/dist/commands/export/pkg.d.ts +0 -16
  33. package/dist/commands/export/pkg.js +87 -107
  34. package/dist/commands/export/tarballs.d.ts +27 -0
  35. package/dist/commands/export/tarballs.js +84 -0
  36. package/dist/commands/produce.js +5 -4
  37. package/dist/commands/update.js +3 -4
  38. package/dist/krill/modules/bootloader-config.js +128 -111
  39. package/dist/krill/modules/bootloader.js +50 -23
  40. package/dist/krill/modules/mount-fs.js +1 -1
  41. package/dist/krill/modules/umount.js +4 -3
  42. package/dist/krill/sequence.js +10 -8
  43. package/dist/penguins-eggs-tarball-10.0.54-1-linux-x64.tar.gz +0 -0
  44. package/mkinitfs/initramfs-init.in +18 -7
  45. package/package.json +11 -8
  46. package/scripts/_eggs +10 -1
  47. package/scripts/eggs.bash +1 -0
  48. /package/addons/eggs/theme/livecd/{grub.main.cfg → grub.main.full.cfg} +0 -0
@@ -561,9 +561,10 @@
561
561
  "args": {},
562
562
  "description": "produce a live image from your system whithout your data",
563
563
  "examples": [
564
- "sudo eggs produce # fast compression",
565
- "sudo eggs produce --max # max compression",
566
- "sudo eggs produce --pendrive # compression optomized pendrive",
564
+ "sudo eggs produce # zstd fast compression",
565
+ "sudo eggs produce --standard # xz compression",
566
+ "sudo eggs produce --max # xz max compression",
567
+ "sudo eggs produce --pendrive # zstd compression optimized pendrive",
567
568
  "sudo eggs produce --clone # clone",
568
569
  "sudo eggs produce --cryptedclone # crypted clone",
569
570
  "sudo eggs produce --basename=colibri",
@@ -672,7 +673,7 @@
672
673
  "type": "boolean"
673
674
  },
674
675
  "standard": {
675
- "char": "f",
676
+ "char": "S",
676
677
  "description": "standard compression: xz -b 1M",
677
678
  "name": "standard",
678
679
  "allowNo": false,
@@ -1023,6 +1024,53 @@
1023
1024
  "pkg.js"
1024
1025
  ]
1025
1026
  },
1027
+ "export:tarballs": {
1028
+ "aliases": [],
1029
+ "args": {},
1030
+ "description": "export pkg/iso/tarballs to the destination host",
1031
+ "examples": [
1032
+ "eggs export tarballs",
1033
+ "eggs export tarballs --clean"
1034
+ ],
1035
+ "flags": {
1036
+ "clean": {
1037
+ "char": "c",
1038
+ "description": "remove old .deb before to copy",
1039
+ "name": "clean",
1040
+ "allowNo": false,
1041
+ "type": "boolean"
1042
+ },
1043
+ "help": {
1044
+ "char": "h",
1045
+ "description": "Show CLI help.",
1046
+ "name": "help",
1047
+ "allowNo": false,
1048
+ "type": "boolean"
1049
+ },
1050
+ "verbose": {
1051
+ "char": "v",
1052
+ "description": "verbose",
1053
+ "name": "verbose",
1054
+ "allowNo": false,
1055
+ "type": "boolean"
1056
+ }
1057
+ },
1058
+ "hasDynamicHelp": false,
1059
+ "hiddenAliases": [],
1060
+ "id": "export:tarballs",
1061
+ "pluginAlias": "penguins-eggs",
1062
+ "pluginName": "penguins-eggs",
1063
+ "pluginType": "core",
1064
+ "strict": true,
1065
+ "enableJsonFlag": false,
1066
+ "isESM": true,
1067
+ "relativePath": [
1068
+ "dist",
1069
+ "commands",
1070
+ "export",
1071
+ "tarballs.js"
1072
+ ]
1073
+ },
1026
1074
  "tools:clean": {
1027
1075
  "aliases": [],
1028
1076
  "args": {},
@@ -1498,5 +1546,5 @@
1498
1546
  ]
1499
1547
  }
1500
1548
  },
1501
- "version": "10.0.52"
1549
+ "version": "10.0.54"
1502
1550
  }
package/README.md CHANGED
@@ -449,6 +449,7 @@ sudo eggs produce --max
449
449
  * [`eggs dad`](#eggs-dad)
450
450
  * [`eggs export iso`](#eggs-export-iso)
451
451
  * [`eggs export pkg`](#eggs-export-pkg)
452
+ * [`eggs export tarballs`](#eggs-export-tarballs)
452
453
  * [`eggs help [COMMAND]`](#eggs-help-command)
453
454
  * [`eggs install`](#eggs-install)
454
455
  * [`eggs kill`](#eggs-kill)
@@ -490,7 +491,7 @@ EXAMPLES
490
491
  $ eggs adapt
491
492
  ```
492
493
 
493
- _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/adapt.ts)_
494
+ _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/adapt.ts)_
494
495
 
495
496
  ## `eggs analyze`
496
497
 
@@ -511,7 +512,7 @@ EXAMPLES
511
512
  sudo eggs analyze
512
513
  ```
513
514
 
514
- _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/analyze.ts)_
515
+ _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/analyze.ts)_
515
516
 
516
517
  ## `eggs autocomplete [SHELL]`
517
518
 
@@ -575,7 +576,7 @@ EXAMPLES
575
576
  sudo eggs calamares --remove
576
577
  ```
577
578
 
578
- _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/calamares.ts)_
579
+ _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/calamares.ts)_
579
580
 
580
581
  ## `eggs config`
581
582
 
@@ -602,7 +603,7 @@ EXAMPLES
602
603
  sudo eggs config --clean --nointeractive
603
604
  ```
604
605
 
605
- _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/config.ts)_
606
+ _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/config.ts)_
606
607
 
607
608
  ## `eggs cuckoo`
608
609
 
@@ -622,7 +623,7 @@ EXAMPLES
622
623
  sudo eggs cuckoo
623
624
  ```
624
625
 
625
- _See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/cuckoo.ts)_
626
+ _See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/cuckoo.ts)_
626
627
 
627
628
  ## `eggs dad`
628
629
 
@@ -650,7 +651,7 @@ EXAMPLES
650
651
  sudo dad --default
651
652
  ```
652
653
 
653
- _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/dad.ts)_
654
+ _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/dad.ts)_
654
655
 
655
656
  ## `eggs export iso`
656
657
 
@@ -675,7 +676,7 @@ EXAMPLES
675
676
  $ eggs export iso --clean
676
677
  ```
677
678
 
678
- _See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/export/iso.ts)_
679
+ _See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/export/iso.ts)_
679
680
 
680
681
  ## `eggs export pkg`
681
682
 
@@ -702,7 +703,32 @@ EXAMPLES
702
703
  $ eggs export pkg --all
703
704
  ```
704
705
 
705
- _See code: [src/commands/export/pkg.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/export/pkg.ts)_
706
+ _See code: [src/commands/export/pkg.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/export/pkg.ts)_
707
+
708
+ ## `eggs export tarballs`
709
+
710
+ export pkg/iso/tarballs to the destination host
711
+
712
+ ```
713
+ USAGE
714
+ $ eggs export tarballs [-a] [-c] [-h] [-v]
715
+
716
+ FLAGS
717
+ -a, --all export all archs
718
+ -c, --clean remove old .deb before to copy
719
+ -h, --help Show CLI help.
720
+ -v, --verbose verbose
721
+
722
+ DESCRIPTION
723
+ export pkg/iso/tarballs to the destination host
724
+
725
+ EXAMPLES
726
+ $ eggs export tarballs
727
+
728
+ $ eggs export tarballs --clean
729
+ ```
730
+
731
+ _See code: [src/commands/export/tarballs.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/export/tarballs.ts)_
706
732
 
707
733
  ## `eggs help [COMMAND]`
708
734
 
@@ -763,7 +789,7 @@ EXAMPLES
763
789
  sudo eggs install --chroot
764
790
  ```
765
791
 
766
- _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/install.ts)_
792
+ _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/install.ts)_
767
793
 
768
794
  ## `eggs kill`
769
795
 
@@ -786,7 +812,7 @@ EXAMPLES
786
812
  sudo eggs kill
787
813
  ```
788
814
 
789
- _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/kill.ts)_
815
+ _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/kill.ts)_
790
816
 
791
817
  ## `eggs krill`
792
818
 
@@ -846,7 +872,7 @@ EXAMPLES
846
872
  $ eggs auto
847
873
  ```
848
874
 
849
- _See code: [src/commands/love.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/love.ts)_
875
+ _See code: [src/commands/love.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/love.ts)_
850
876
 
851
877
  ## `eggs mom`
852
878
 
@@ -866,7 +892,7 @@ EXAMPLES
866
892
  $ eggs mom
867
893
  ```
868
894
 
869
- _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/mom.ts)_
895
+ _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/mom.ts)_
870
896
 
871
897
  ## `eggs produce`
872
898
 
@@ -875,14 +901,14 @@ produce a live image from your system whithout your data
875
901
  ```
876
902
  USAGE
877
903
  $ eggs produce [--addons <value>...] [--basename <value>] [-c] [-C] [--excludes <value>...] [-h] [--links
878
- <value>...] [-m] [-N] [-n] [-p] [-P <value>] [--release] [-s] [-f] [--theme <value>] [-u] [-v] [-y]
904
+ <value>...] [-m] [-N] [-n] [-p] [-P <value>] [--release] [-s] [-S] [--theme <value>] [-u] [-v] [-y]
879
905
 
880
906
  FLAGS
881
907
  -C, --cryptedclone crypted clone
882
908
  -N, --noicon no icon eggs on desktop
883
909
  -P, --prefix=<value> prefix
910
+ -S, --standard standard compression: xz -b 1M
884
911
  -c, --clone clone
885
- -f, --standard standard compression: xz -b 1M
886
912
  -h, --help Show CLI help.
887
913
  -m, --max max compression: xz -Xbcj ...
888
914
  -n, --nointeractive no user interaction
@@ -902,11 +928,13 @@ DESCRIPTION
902
928
  produce a live image from your system whithout your data
903
929
 
904
930
  EXAMPLES
905
- sudo eggs produce # fast compression
931
+ sudo eggs produce # zstd fast compression
932
+
933
+ sudo eggs produce --standard # xz compression
906
934
 
907
- sudo eggs produce --max # max compression
935
+ sudo eggs produce --max # xz max compression
908
936
 
909
- sudo eggs produce --pendrive # compression optomized pendrive
937
+ sudo eggs produce --pendrive # zstd compression optimized pendrive
910
938
 
911
939
  sudo eggs produce --clone # clone
912
940
 
@@ -923,7 +951,7 @@ EXAMPLES
923
951
  sudo eggs produce --excludes home # exclude ~/*
924
952
  ```
925
953
 
926
- _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/produce.ts)_
954
+ _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/produce.ts)_
927
955
 
928
956
  ## `eggs status`
929
957
 
@@ -944,7 +972,7 @@ EXAMPLES
944
972
  $ eggs status
945
973
  ```
946
974
 
947
- _See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/status.ts)_
975
+ _See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/status.ts)_
948
976
 
949
977
  ## `eggs syncfrom`
950
978
 
@@ -970,7 +998,7 @@ EXAMPLES
970
998
  sudo eggs syncfrom --file /path/to/luks-volume
971
999
  ```
972
1000
 
973
- _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/syncfrom.ts)_
1001
+ _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/syncfrom.ts)_
974
1002
 
975
1003
  ## `eggs syncto`
976
1004
 
@@ -997,7 +1025,7 @@ EXAMPLES
997
1025
  sudo eggs syncto --excludes
998
1026
  ```
999
1027
 
1000
- _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/syncto.ts)_
1028
+ _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/syncto.ts)_
1001
1029
 
1002
1030
  ## `eggs tools clean`
1003
1031
 
@@ -1019,7 +1047,7 @@ EXAMPLES
1019
1047
  sudo eggs tools clean
1020
1048
  ```
1021
1049
 
1022
- _See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/tools/clean.ts)_
1050
+ _See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/tools/clean.ts)_
1023
1051
 
1024
1052
  ## `eggs tools ppa`
1025
1053
 
@@ -1045,7 +1073,7 @@ EXAMPLES
1045
1073
  sudo eggs tools ppa --remove
1046
1074
  ```
1047
1075
 
1048
- _See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/tools/ppa.ts)_
1076
+ _See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/tools/ppa.ts)_
1049
1077
 
1050
1078
  ## `eggs tools skel`
1051
1079
 
@@ -1069,7 +1097,7 @@ EXAMPLES
1069
1097
  sudo eggs tools skel --user user-to-be-copied
1070
1098
  ```
1071
1099
 
1072
- _See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/tools/skel.ts)_
1100
+ _See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/tools/skel.ts)_
1073
1101
 
1074
1102
  ## `eggs tools stat`
1075
1103
 
@@ -1095,7 +1123,7 @@ EXAMPLES
1095
1123
  $ eggs tools stat --year
1096
1124
  ```
1097
1125
 
1098
- _See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/tools/stat.ts)_
1126
+ _See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/tools/stat.ts)_
1099
1127
 
1100
1128
  ## `eggs tools yolk`
1101
1129
 
@@ -1116,7 +1144,7 @@ EXAMPLES
1116
1144
  sudo eggs tools yolk
1117
1145
  ```
1118
1146
 
1119
- _See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/tools/yolk.ts)_
1147
+ _See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/tools/yolk.ts)_
1120
1148
 
1121
1149
  ## `eggs update`
1122
1150
 
@@ -1137,7 +1165,7 @@ EXAMPLES
1137
1165
  $ eggs update
1138
1166
  ```
1139
1167
 
1140
- _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/update.ts)_
1168
+ _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/update.ts)_
1141
1169
 
1142
1170
  ## `eggs version`
1143
1171
 
@@ -1183,7 +1211,7 @@ EXAMPLES
1183
1211
  $ eggs wardrobe get your-wardrobe
1184
1212
  ```
1185
1213
 
1186
- _See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/wardrobe/get.ts)_
1214
+ _See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/wardrobe/get.ts)_
1187
1215
 
1188
1216
  ## `eggs wardrobe list [REPO]`
1189
1217
 
@@ -1212,7 +1240,7 @@ EXAMPLES
1212
1240
  $ eggs wardrobe list --distro arch
1213
1241
  ```
1214
1242
 
1215
- _See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/wardrobe/list.ts)_
1243
+ _See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/wardrobe/list.ts)_
1216
1244
 
1217
1245
  ## `eggs wardrobe show [REPO]`
1218
1246
 
@@ -1242,7 +1270,7 @@ EXAMPLES
1242
1270
  $ eggs wardrobe show accessories/
1243
1271
  ```
1244
1272
 
1245
- _See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/wardrobe/show.ts)_
1273
+ _See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/wardrobe/show.ts)_
1246
1274
 
1247
1275
  ## `eggs wardrobe wear [REPO]`
1248
1276
 
@@ -1273,7 +1301,7 @@ EXAMPLES
1273
1301
  sudo eggs wardrobe wear wagtail/waydroid
1274
1302
  ```
1275
1303
 
1276
- _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.52/src/commands/wardrobe/wear.ts)_
1304
+ _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.54/src/commands/wardrobe/wear.ts)_
1277
1305
  <!-- commandsstop -->
1278
1306
 
1279
1307
  # penGUI
@@ -0,0 +1,49 @@
1
+ #
2
+ # eggs: grub.main.cfg
3
+ #
4
+ if loadfont $prefix/font.pf2 ; then
5
+ set gfxmode=1024x768x32
6
+ insmod efi_gop
7
+ insmod efi_uga
8
+ insmod video_bochs
9
+ insmod video_cirrus
10
+ insmod gfxterm
11
+ insmod jpeg
12
+ insmod png
13
+ terminal_output gfxterm
14
+ fi
15
+
16
+ set theme=/boot/grub/theme.cfg
17
+
18
+ menuentry "{{{fullname}}} Live/Installation" {
19
+ set gfxpayload=keep
20
+ {{{rmModules}}}
21
+ linux {{{vmlinuz}}} {{{kernel_parameters}}} quiet splash
22
+ initrd {{{initrdImg}}}
23
+ }
24
+
25
+ menuentry "{{{fullname}}} Safe Mode" {
26
+ set gfxpayload=keep
27
+ {{{rmModules}}}
28
+ linux {{{vmlinuz}}} {{{kernel_parameters}}} quiet splash
29
+ initrd {{{initrdImg}}}
30
+ }
31
+
32
+ menuentry "{{{fullname}}} Text Mode" {
33
+ set gfxpayload=keep
34
+ {{{rmModules}}}
35
+ linux {{{vmlinuz}}} {{{kernel_parameters}}} quiet splash
36
+ initrd {{{initrdImg}}}
37
+ }
38
+ grub_platform
39
+ if [ "$grub_platform" = "efi" ]; then
40
+ menuentry "Boot from local disk" {
41
+ exit 1
42
+ }
43
+ #menuentry 'UEFI Firmware Settings' {
44
+ # fwsetup
45
+ #}
46
+ #menuentry 'Memory test' {
47
+ # linux /boot/memtest.efi
48
+ #}
49
+ fi
@@ -2,7 +2,7 @@
2
2
  # eggs: isolinux.theme
3
3
  #
4
4
 
5
- # MENU COLOR element backgound foreground shadow
5
+ # MENU COLOR element background foreground shadow
6
6
  # background and foreground are hexadecimal digits for alpha (opacity), red, green and blue,
7
7
  # respectively. #00000000 represents fully transparent, and #ffffffff represents opaque white.
8
8
  # shadow none/std
@@ -10,14 +10,15 @@
10
10
  MENU COLOR screen 37;40 #80ffffff #00000000 std
11
11
  MENU COLOR border 30;44 #40000000 #00000000 std
12
12
  MENU COLOR title 1;36;44 #c00090f0 #00000000 std
13
- MENU COLOR unsel 37;44 #c00090f0 #00000000 std
14
- MENU COLOR sel 7;37;40 #FF00FF #E0FFFF all
15
- MENU COLOR hotsel 1;7;37;40 #FF00FF #E0FFFF all
13
+ MENU COLOR unsel 37;44 #c00090f0 #00000000 std
14
+ MENU COLOR sel 7;37;40 #FF00FF #E0FFAF all
15
+ MENU COLOR hotsel 1;7;37;40 #FF00FF #E0FFFF all
16
16
  MENU COLOR disabled 1;30;44 #c00090f0 #00000000 std
17
17
  MENU COLOR scrollbar 30;44 #c00090f0 #00000000 std
18
18
  MENU COLOR tabmsg 31;40 #c00090f0 #00000000 std
19
19
  MENU COLOR cmdmark 1;36;40 #c00090f0 #00000000 std
20
- MENU COLOR cmdline 37;40 #c00090f0#00000000 std
20
+ #MENU COLOR cmdline 37;40 #c00090f0 #00000000 std
21
+ MENU COLOR cmdline 37;40 #FFFFFF #0000FF std
21
22
  MENU COLOR pwdborder 30;47 #c00090f0 #20ffffff std
22
23
  MENU COLOR pwdheader 31;47 #c00090f0 #20ffffff std
23
24
  MENU COLOR pwdentry 30;47 #c00090f0 #20ffffff std
@@ -140,4 +140,6 @@
140
140
  - Vulcan
141
141
  - Wynsdey
142
142
  - Xahea
143
+ - Yonada
144
+
143
145
 
@@ -37,11 +37,6 @@ disable-cancel-during-exec: false
37
37
  #
38
38
  quit-at-end: false
39
39
 
40
- instances:
41
- - id: cleanup
42
- module: shellprocess
43
- config: shellprocess_cleanup.conf
44
-
45
40
  sequence:
46
41
  # Phase 1 - prepare.
47
42
  # View modules are shown as UI pages, jobs from job modules
@@ -82,7 +77,6 @@ sequence:
82
77
  - bootloader
83
78
  - packages
84
79
  - removeuser
85
- - cleanup
86
80
  - umount
87
81
 
88
82
  # Phase 3 - postinstall.
@@ -10,6 +10,7 @@ import fs from 'node:fs';
10
10
  import path from 'node:path';
11
11
  import shell from 'shelljs';
12
12
  import Utils from './utils.js';
13
+ import Diversions from './diversions.js';
13
14
  // _dirname
14
15
  const __dirname = path.dirname(new URL(import.meta.url).pathname);
15
16
  /**
@@ -64,6 +65,9 @@ class Distro {
64
65
  if (this.distroId.includes('BigLinux')) {
65
66
  this.distroId = "BigLinux";
66
67
  }
68
+ if (this.distroId.includes('BigCommunity')) {
69
+ this.distroId = "BigCommunity";
70
+ }
67
71
  /**
68
72
  * Alpine, Fedora, openmamba, opensuse, VoidLinux solo distroId.
69
73
  *
@@ -87,17 +91,6 @@ class Distro {
87
91
  this.codenameId = 'rolling'; // viene rimosso dal nome
88
92
  this.codenameLikeId = this.familyId; // per krill
89
93
  this.liveMediumPath = '/mnt/'; // Qua è deciso da noi
90
- /**
91
- * Arch
92
- */
93
- }
94
- else if (this.distroId === 'rolling' || this.distroId === 'n/a') {
95
- this.familyId = 'archlinux';
96
- this.distroLike = 'Arch';
97
- this.codenameId = 'rolling';
98
- this.codenameLikeId = 'rolling';
99
- this.liveMediumPath = '/run/archiso/bootmnt/';
100
- this.squashfs = `arch/x86_64/airootfs.sfs`;
101
94
  /**
102
95
  * Fedora/RHEL compatible
103
96
  */
@@ -147,9 +140,20 @@ class Distro {
147
140
  * We must analize codenameId
148
141
  */
149
142
  /**
150
- * Debian jessie
143
+ * Arch
151
144
  */
152
- if (this.codenameId === 'jessie') {
145
+ if (this.codenameId === 'rolling' || this.codenameId === 'n/a') {
146
+ this.familyId = 'archlinux';
147
+ this.distroLike = 'Arch';
148
+ this.codenameId = 'rolling';
149
+ this.codenameLikeId = 'rolling';
150
+ this.liveMediumPath = '/run/archiso/bootmnt/';
151
+ this.squashfs = `arch/x86_64/airootfs.sfs`;
152
+ /**
153
+ * Debian jessie
154
+ */
155
+ }
156
+ else if (this.codenameId === 'jessie') {
153
157
  this.distroLike = 'Debian';
154
158
  this.codenameLikeId = 'jessie';
155
159
  this.liveMediumPath = '/lib/live/mount/medium/';
@@ -305,7 +309,7 @@ class Distro {
305
309
  /**
306
310
  * ManjaroLinux e derivate
307
311
  */
308
- if (this.distroId === 'ManjaroLinux' || this.distroId === 'BigLinux') {
312
+ if (Diversions.isManjaroBased(this.distroId)) {
309
313
  this.liveMediumPath = '/run/miso/bootmnt/';
310
314
  this.squashfs = 'manjaro/x86_64/livefs.sfs';
311
315
  }
@@ -11,6 +11,12 @@
11
11
  */
12
12
  import { IDistro } from '../interfaces/index.js';
13
13
  export default class Diversions {
14
+ /**
15
+ *
16
+ * @param familyId
17
+ * @returns
18
+ */
19
+ static isSystemDBoot(familyId: string, isEfi: boolean): boolean;
14
20
  /**
15
21
  *
16
22
  * @param familyId
@@ -35,4 +41,8 @@ export default class Diversions {
35
41
  * @returns
36
42
  */
37
43
  static distro(): IDistro;
44
+ /**
45
+ * isManjaroBased
46
+ */
47
+ static isManjaroBased(distro: string): boolean;
38
48
  }
@@ -7,6 +7,18 @@
7
7
  */
8
8
  import Distro from './distro.js';
9
9
  export default class Diversions {
10
+ /**
11
+ *
12
+ * @param familyId
13
+ * @returns
14
+ */
15
+ static isSystemDBoot(familyId, isEfi) {
16
+ let isSystemDBoot = false;
17
+ if (familyId === 'fedora' && isEfi) {
18
+ isSystemDBoot = true;
19
+ }
20
+ return isSystemDBoot;
21
+ }
10
22
  /**
11
23
  *
12
24
  * @param familyId
@@ -49,6 +61,7 @@ export default class Diversions {
49
61
  let kp = "";
50
62
  if (familyId === 'aldos') {
51
63
  kp += `root=live:CDLABEL=${volid} rd.live.image rd.live.dir=/live rd.live.squashimg=filesystem.squashfs selinux=0 rootfstype=auto rd.locale.LANG=en_US.UTF-8 KEYBOARDTYPE=pc rd.vconsole.keymap=us rootflags=defaults,relatime,commit=60 nmi_watchdog=0 rhgb rd_NO_LUKS rd_NO_MD rd_NO_DM`;
64
+ // root=live:CDLABEL=ALDOS6420241128 rootfstype=auto ro liveimg quiet rd.locale.LANG=es_MX.UTF-8 KEYBOARDTYPE=pc SYSFONT=latarcyrheb-sun16 rd.vconsole.keymap=es rootflags=defaults,relatime,commit=60 selinux=0 nmi_watchdog=0 rhgb rd_NO_LUKS rd_NO_MD rd_NO_DM
52
65
  }
53
66
  else if (familyId === 'alpine') {
54
67
  kp += `alpinelivelabel=${volid} alpinelivesquashfs=/mnt/live/filesystem.squashfs`;
@@ -56,7 +69,7 @@ export default class Diversions {
56
69
  else if (familyId === 'archlinux') {
57
70
  kp += `boot=live components locales=${process.env.LANG}`;
58
71
  const distroId = this.distro().distroId;
59
- if (isMiso(distroId)) {
72
+ if (this.isManjaroBased(distroId)) {
60
73
  kp += ` misobasedir=manjaro misolabel=${volid}`;
61
74
  // shx.exec(`mkdir -p ${this.settings.iso_work}.miso`)
62
75
  }
@@ -88,20 +101,16 @@ export default class Diversions {
88
101
  static distro() {
89
102
  return new Distro();
90
103
  }
91
- }
92
- /**
93
- * isMiso
94
- */
95
- function isMiso(distro) {
96
- let found = false;
97
- if (distro === 'ManjaroLinux' || distro === `BigLinux`) {
98
- found = true;
104
+ /**
105
+ * isManjaroBased
106
+ */
107
+ static isManjaroBased(distro) {
108
+ let found = false;
109
+ if (distro === 'ManjaroLinux' ||
110
+ distro === `BigLinux` ||
111
+ distro === `BigCommunity`) {
112
+ found = true;
113
+ }
114
+ return found;
99
115
  }
100
- return found;
101
- }
102
- /**
103
- * isArchiso: se non zuppa, pan bagnato
104
- */
105
- function isArchiso(distro) {
106
- return !isMiso(distro);
107
116
  }
@@ -55,7 +55,6 @@ export class Alpine {
55
55
  await fisherman.buildModule('networkcfg');
56
56
  await fisherman.buildModule('hwclock');
57
57
  await fisherman.buildModule('services-openrc');
58
- await fisherman.buildCalamaresModule('bootloader-config', true);
59
58
  await fisherman.buildModule('grubcf');
60
59
  await fisherman.buildModule('bootloader');
61
60
  await fisherman.modulePackages(this.distro, this.release);
@@ -63,7 +62,6 @@ export class Alpine {
63
62
  await fisherman.buildModule('plymouthcfg');
64
63
  await fisherman.buildModule('mkinitfs');
65
64
  await fisherman.moduleRemoveuser(this.user_opt);
66
- await fisherman.buildCalamaresModule('cleanup', true);
67
65
  /**
68
66
  * cfs: custom final steps
69
67
  */
@@ -120,7 +120,7 @@ export default class Ovary {
120
120
  makeEfi(theme?: string): Promise<void>;
121
121
  /**
122
122
  * makeIso
123
- * cmd: cmd 4 xorirriso
123
+ * cmd: cmd 4 xorriso
124
124
  */
125
125
  makeIso(cmd: string, scriptOnly?: boolean): Promise<void>;
126
126
  /**