penguins-eggs 10.0.37 → 10.0.40

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 (71) hide show
  1. package/.oclif.manifest.json +1 -1
  2. package/README.md +31 -30
  3. package/conf/derivatives.yaml +3 -2
  4. package/conf/distros/opensuse/README.md +3 -0
  5. package/conf/distros/opensuse/calamares/calamares-modules/bootloader-config/bootloader-config.sh +40 -0
  6. package/conf/distros/opensuse/calamares/calamares-modules/bootloader-config/module.yml +9 -0
  7. package/conf/distros/opensuse/calamares/calamares-modules/cleanup/cleanup.sh +13 -0
  8. package/conf/distros/opensuse/calamares/calamares-modules/cleanup/module.yml +9 -0
  9. package/conf/distros/opensuse/calamares/modules/bootloader.yml +57 -0
  10. package/conf/distros/opensuse/calamares/modules/displaymanager.yml +23 -0
  11. package/conf/distros/opensuse/calamares/modules/finished.yml +5 -0
  12. package/conf/distros/opensuse/calamares/modules/fstab.yml +12 -0
  13. package/conf/distros/opensuse/calamares/modules/locale.yml +98 -0
  14. package/conf/distros/opensuse/calamares/modules/luksopenswaphookcfg.yml +5 -0
  15. package/conf/distros/opensuse/calamares/modules/machineid.yml +17 -0
  16. package/conf/distros/opensuse/calamares/modules/mount.yml +56 -0
  17. package/conf/distros/opensuse/calamares/modules/packages.yml +6 -0
  18. package/conf/distros/opensuse/calamares/modules/partition.yml +242 -0
  19. package/conf/distros/opensuse/calamares/modules/removeuser.yml +15 -0
  20. package/conf/distros/opensuse/calamares/modules/unpackfs.yml +6 -0
  21. package/conf/distros/opensuse/calamares/modules/users.yml +18 -0
  22. package/conf/distros/opensuse/calamares/modules/welcome.yml +19 -0
  23. package/conf/distros/opensuse/calamares/settings.yml +57 -0
  24. package/conf/distros/rolling/calamares/modules/finished.yml +2 -1
  25. package/conf/distros/rolling/calamares/modules/partition.yml +1 -1
  26. package/conf/distros/rolling/calamares/settings.yml +3 -1
  27. package/dist/classes/bleach.js +5 -1
  28. package/dist/classes/cli-autologin.js +33 -27
  29. package/dist/classes/distro.js +48 -47
  30. package/dist/classes/families/fedora.js +1 -1
  31. package/dist/classes/incubation/fisherman.d.ts +1 -1
  32. package/dist/classes/incubation/fisherman.js +1 -1
  33. package/dist/classes/incubation/incubator.js +8 -0
  34. package/dist/classes/locales.js +1 -1
  35. package/dist/classes/ovary.d.ts +2 -6
  36. package/dist/classes/ovary.js +25 -32
  37. package/dist/classes/pacman.js +11 -11
  38. package/dist/classes/tailor.d.ts +11 -14
  39. package/dist/classes/tailor.js +184 -247
  40. package/dist/classes/utils.js +1 -1
  41. package/dist/commands/wardrobe/wear.js +3 -0
  42. package/dist/components/finished.js +5 -4
  43. package/dist/components/install.js +12 -8
  44. package/dist/interfaces/i-materia.d.ts +9 -14
  45. package/dist/krill/modules/add-user.js +9 -12
  46. package/dist/krill/modules/bootloader-config.js +15 -0
  47. package/dist/krill/modules/bootloader.js +2 -2
  48. package/dist/krill/modules/del-live-user.js +3 -2
  49. package/dist/krill/modules/fstab.js +2 -0
  50. package/dist/krill/modules/initramfs.js +10 -0
  51. package/dist/krill/modules/locale.js +5 -5
  52. package/dist/krill/modules/m-keyboard.js +3 -16
  53. package/dist/krill/modules/machine-id.js +3 -3
  54. package/dist/krill/modules/mkfs.d.ts +2 -0
  55. package/dist/krill/modules/mkfs.js +2 -0
  56. package/dist/krill/modules/unpackfs.js +3 -2
  57. package/dist/krill/sequence.d.ts +9 -6
  58. package/dist/krill/sequence.js +162 -259
  59. package/dracut/dracut.conf.d/01-live.conf +2 -1
  60. package/manpages/doc/man/eggs.1.gz +0 -0
  61. package/manpages/doc/man/eggs.html +4 -4
  62. package/mkinitcpio/arch/README.md +48 -0
  63. package/mkinitcpio/arch/mkinitcpio.conf +4 -3
  64. package/mkinitfs/initramfs-init.in +4 -3
  65. package/package.json +12 -9
  66. package/syslinux/chain.c32 +0 -0
  67. package/syslinux/isolinux.bin +0 -0
  68. package/syslinux/ldlinux.c32 +0 -0
  69. package/syslinux/libcom32.c32 +0 -0
  70. package/syslinux/libutil.c32 +0 -0
  71. package/syslinux/vesamenu.c32 +0 -0
@@ -1498,5 +1498,5 @@
1498
1498
  ]
1499
1499
  }
1500
1500
  },
1501
- "version": "10.0.37"
1501
+ "version": "10.0.40"
1502
1502
  }
package/README.md CHANGED
@@ -491,7 +491,7 @@ EXAMPLES
491
491
  $ eggs adapt
492
492
  ```
493
493
 
494
- _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/adapt.ts)_
494
+ _See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/adapt.ts)_
495
495
 
496
496
  ## `eggs analyze`
497
497
 
@@ -512,7 +512,7 @@ EXAMPLES
512
512
  sudo eggs analyze
513
513
  ```
514
514
 
515
- _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/analyze.ts)_
515
+ _See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/analyze.ts)_
516
516
 
517
517
  ## `eggs autocomplete [SHELL]`
518
518
 
@@ -543,7 +543,7 @@ EXAMPLES
543
543
  $ eggs autocomplete --refresh-cache
544
544
  ```
545
545
 
546
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.3/src/commands/autocomplete/index.ts)_
546
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.4/src/commands/autocomplete/index.ts)_
547
547
 
548
548
  ## `eggs calamares`
549
549
 
@@ -576,7 +576,7 @@ EXAMPLES
576
576
  sudo eggs calamares --remove
577
577
  ```
578
578
 
579
- _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/calamares.ts)_
579
+ _See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/calamares.ts)_
580
580
 
581
581
  ## `eggs config`
582
582
 
@@ -603,7 +603,7 @@ EXAMPLES
603
603
  sudo eggs config --clean --nointeractive
604
604
  ```
605
605
 
606
- _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/config.ts)_
606
+ _See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/config.ts)_
607
607
 
608
608
  ## `eggs cuckoo`
609
609
 
@@ -623,7 +623,7 @@ EXAMPLES
623
623
  sudo eggs cuckoo
624
624
  ```
625
625
 
626
- _See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/cuckoo.ts)_
626
+ _See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/cuckoo.ts)_
627
627
 
628
628
  ## `eggs dad`
629
629
 
@@ -651,7 +651,7 @@ EXAMPLES
651
651
  sudo dad --default
652
652
  ```
653
653
 
654
- _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/dad.ts)_
654
+ _See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/dad.ts)_
655
655
 
656
656
  ## `eggs export deb`
657
657
 
@@ -678,7 +678,7 @@ EXAMPLES
678
678
  $ eggs export deb --all
679
679
  ```
680
680
 
681
- _See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/export/deb.ts)_
681
+ _See code: [src/commands/export/deb.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/export/deb.ts)_
682
682
 
683
683
  ## `eggs export iso`
684
684
 
@@ -703,7 +703,7 @@ EXAMPLES
703
703
  $ eggs export iso --clean
704
704
  ```
705
705
 
706
- _See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/export/iso.ts)_
706
+ _See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/export/iso.ts)_
707
707
 
708
708
  ## `eggs help [COMMAND]`
709
709
 
@@ -723,7 +723,7 @@ DESCRIPTION
723
723
  Display help for eggs.
724
724
  ```
725
725
 
726
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.11/src/commands/help.ts)_
726
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.12/src/commands/help.ts)_
727
727
 
728
728
  ## `eggs install`
729
729
 
@@ -764,7 +764,7 @@ EXAMPLES
764
764
  sudo eggs install --chroot
765
765
  ```
766
766
 
767
- _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/install.ts)_
767
+ _See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/install.ts)_
768
768
 
769
769
  ## `eggs kill`
770
770
 
@@ -787,7 +787,7 @@ EXAMPLES
787
787
  sudo eggs kill
788
788
  ```
789
789
 
790
- _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/kill.ts)_
790
+ _See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/kill.ts)_
791
791
 
792
792
  ## `eggs krill`
793
793
 
@@ -847,7 +847,7 @@ EXAMPLES
847
847
  $ eggs auto
848
848
  ```
849
849
 
850
- _See code: [src/commands/love.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/love.ts)_
850
+ _See code: [src/commands/love.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/love.ts)_
851
851
 
852
852
  ## `eggs mom`
853
853
 
@@ -867,7 +867,7 @@ EXAMPLES
867
867
  $ eggs mom
868
868
  ```
869
869
 
870
- _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/mom.ts)_
870
+ _See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/mom.ts)_
871
871
 
872
872
  ## `eggs produce`
873
873
 
@@ -924,7 +924,7 @@ EXAMPLES
924
924
  sudo eggs produce --excludes home # exclude ~/*
925
925
  ```
926
926
 
927
- _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/produce.ts)_
927
+ _See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/produce.ts)_
928
928
 
929
929
  ## `eggs status`
930
930
 
@@ -945,7 +945,7 @@ EXAMPLES
945
945
  $ eggs status
946
946
  ```
947
947
 
948
- _See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/status.ts)_
948
+ _See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/status.ts)_
949
949
 
950
950
  ## `eggs syncfrom`
951
951
 
@@ -971,7 +971,7 @@ EXAMPLES
971
971
  sudo eggs syncfrom --file /path/to/luks-volume
972
972
  ```
973
973
 
974
- _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/syncfrom.ts)_
974
+ _See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/syncfrom.ts)_
975
975
 
976
976
  ## `eggs syncto`
977
977
 
@@ -998,7 +998,7 @@ EXAMPLES
998
998
  sudo eggs syncto --excludes
999
999
  ```
1000
1000
 
1001
- _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/syncto.ts)_
1001
+ _See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/syncto.ts)_
1002
1002
 
1003
1003
  ## `eggs tools clean`
1004
1004
 
@@ -1020,7 +1020,7 @@ EXAMPLES
1020
1020
  sudo eggs tools clean
1021
1021
  ```
1022
1022
 
1023
- _See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/tools/clean.ts)_
1023
+ _See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/tools/clean.ts)_
1024
1024
 
1025
1025
  ## `eggs tools ppa`
1026
1026
 
@@ -1046,7 +1046,7 @@ EXAMPLES
1046
1046
  sudo eggs tools ppa --remove
1047
1047
  ```
1048
1048
 
1049
- _See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/tools/ppa.ts)_
1049
+ _See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/tools/ppa.ts)_
1050
1050
 
1051
1051
  ## `eggs tools skel`
1052
1052
 
@@ -1070,7 +1070,7 @@ EXAMPLES
1070
1070
  sudo eggs tools skel --user user-to-be-copied
1071
1071
  ```
1072
1072
 
1073
- _See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/tools/skel.ts)_
1073
+ _See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/tools/skel.ts)_
1074
1074
 
1075
1075
  ## `eggs tools stat`
1076
1076
 
@@ -1096,7 +1096,7 @@ EXAMPLES
1096
1096
  $ eggs tools stat --year
1097
1097
  ```
1098
1098
 
1099
- _See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/tools/stat.ts)_
1099
+ _See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/tools/stat.ts)_
1100
1100
 
1101
1101
  ## `eggs tools yolk`
1102
1102
 
@@ -1117,7 +1117,7 @@ EXAMPLES
1117
1117
  sudo eggs tools yolk
1118
1118
  ```
1119
1119
 
1120
- _See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/tools/yolk.ts)_
1120
+ _See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/tools/yolk.ts)_
1121
1121
 
1122
1122
  ## `eggs update`
1123
1123
 
@@ -1138,7 +1138,7 @@ EXAMPLES
1138
1138
  $ eggs update
1139
1139
  ```
1140
1140
 
1141
- _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/update.ts)_
1141
+ _See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/update.ts)_
1142
1142
 
1143
1143
  ## `eggs version`
1144
1144
 
@@ -1158,7 +1158,7 @@ FLAG DESCRIPTIONS
1158
1158
  Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
1159
1159
  ```
1160
1160
 
1161
- _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.12/src/commands/version.ts)_
1161
+ _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.13/src/commands/version.ts)_
1162
1162
 
1163
1163
  ## `eggs wardrobe get [REPO]`
1164
1164
 
@@ -1184,7 +1184,7 @@ EXAMPLES
1184
1184
  $ eggs wardrobe get your-wardrobe
1185
1185
  ```
1186
1186
 
1187
- _See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/wardrobe/get.ts)_
1187
+ _See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/wardrobe/get.ts)_
1188
1188
 
1189
1189
  ## `eggs wardrobe list [REPO]`
1190
1190
 
@@ -1213,7 +1213,7 @@ EXAMPLES
1213
1213
  $ eggs wardrobe list --distro arch
1214
1214
  ```
1215
1215
 
1216
- _See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/wardrobe/list.ts)_
1216
+ _See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/wardrobe/list.ts)_
1217
1217
 
1218
1218
  ## `eggs wardrobe show [REPO]`
1219
1219
 
@@ -1243,7 +1243,7 @@ EXAMPLES
1243
1243
  $ eggs wardrobe show accessories/
1244
1244
  ```
1245
1245
 
1246
- _See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/wardrobe/show.ts)_
1246
+ _See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/wardrobe/show.ts)_
1247
1247
 
1248
1248
  ## `eggs wardrobe wear [REPO]`
1249
1249
 
@@ -1274,7 +1274,7 @@ EXAMPLES
1274
1274
  sudo eggs wardrobe wear wagtail/waydroid
1275
1275
  ```
1276
1276
 
1277
- _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.37/src/commands/wardrobe/wear.ts)_
1277
+ _See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.40/src/commands/wardrobe/wear.ts)_
1278
1278
  <!-- commandsstop -->
1279
1279
 
1280
1280
  # penGUI
@@ -1296,7 +1296,8 @@ Some noteworthy documents include:
1296
1296
  - [Hens: Different Species](https://github.com/pieroproietti/penguins-eggs/blob/master//hens-different-species.md): A brief guide on using Penguins' Eggs in Debian, Arch, and Manjaro.
1297
1297
  - [Arch-naked](https://penguins-eggs.net/docs/Tutorial/archlinux-naked.html): A blog post detailing how to create an Arch naked live, install it, and customize the resulting system into a graphics development station.
1298
1298
 
1299
- If you have any questions or need further assistance, feel free to contact me via email at pieroproietti@gmail.com. You can also stay updated by following my [blog](https://penguins-eggs.net) or connecting with me on , [Telegram](https://t.me/penguins_eggs), [Facebook](https://www.facebook.com/groups/128861437762355/), [GitHub](https://github.com/pieroproietti/penguins-krill), [Jitsi](https://meet.jit.si/PenguinsEggsMeeting), [Reddit](https://www.reddit.com/user/Artisan61) or [Twitter](https://twitter.com/pieroproietti).
1299
+ If you have any questions or need further assistance, feel free to contact me via email at pieroproietti@gmail.com. You can also stay updated by following my [blog](https://penguins-eggs.net) or connecting with me on , [Telegram](https://t.me/penguins_eggs), [Mastodom](https://social.treehouse.systems/@artisan), [Facebook](https://www.facebook.com/groups/128861437762355/), [GitHub](https://github.com/pieroproietti/penguins-krill), [Jitsi](https://meet.jit.si/PenguinsEggsMeeting), [Reddit](https://www.reddit.com/user/Artisan61) or [Twitter](https://twitter.com/pieroproietti),
1300
+ [Mastodom](https://social.treehouse.systems/@artisan).
1300
1301
 
1301
1302
  ## A word of thanks
1302
1303
  * This README would not be so well cared for if not for the work of [Hosein Seilain](https://github.com/hosseinseilani) who spent his time revising and supplementing the text;
@@ -105,8 +105,9 @@
105
105
  distroLike: Ubuntu
106
106
  family: debian
107
107
  ids:
108
- - wilma # Linux Mint 22
109
- - devel # Rhino
108
+ - wilma # Linux Mint 22
109
+ - devel # Rhino
110
+ - abuntu # Abuntu
110
111
 
111
112
  #
112
113
  # ARCH
@@ -0,0 +1,3 @@
1
+ # Alpine
2
+
3
+ It have the configuration for modules, take calamares_modules from buster
@@ -0,0 +1,40 @@
1
+ #!/bin/bash
2
+
3
+ CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
4
+
5
+ # Creo la directory $CHROOT/tmp se mancante
6
+ TMPDIR=$CHROOT/tmp
7
+ if [ ! -d $TMPDIR ]; then
8
+ echo mkdir $TMPDIR
9
+ fi
10
+
11
+ # patch: for same reason we need it for derivatives
12
+ chroot $CHROOT dpkg --configure -a
13
+
14
+ # eseguo apt update
15
+ chroot $CHROOT apt-get --yes --allow-unauthenticated update
16
+ # Set secure permissions for the initramfs if we're configuring
17
+ # full-disk-encryption. The initramfs is re-generated later in the
18
+ # installation process so we only set the permissions snippet without
19
+ # regenerating the initramfs right now:
20
+ if [ "$(mount | grep $CHROOT" " | cut -c -16)" = "/dev/mapper/luks" ]; then
21
+ echo "UMASK=0077" > $CHROOT/etc/initramfs-tools/conf.d/initramfs-permissions
22
+ fi
23
+
24
+ echo "Running bootloader-config..."
25
+
26
+ if [ -d /sys/firmware/efi/efivars ]; then
27
+ echo " * Installing grub-efi (uefi)..."
28
+ MACHINE=$(uname -m)
29
+ if [[ "$MACHINE" == x86_64* ]]; then
30
+ arch="amd64"
31
+ elif [[ "$MACHINE" == i*86 ]]; then
32
+ arch=""
33
+ elif [[ "$MACHINE" == arm* ]]; then
34
+ arch="arm64"
35
+ fi
36
+ DEBIAN_FRONTEND=nointeractive chroot $CHROOT apt-get --yes --allow-unauthenticated --no-install-recommends install grub-efi-${arch} cryptsetup keyutils
37
+ else
38
+ echo " * install grub... (bios)"
39
+ DEBIAN_FRONTEND=nointeractive chroot $CHROOT apt-get --yes --allow-unauthenticated --no-install-recommends install grub-pc cryptsetup
40
+ fi
@@ -0,0 +1,9 @@
1
+ # Debian Buster
2
+ # bootloader-config
3
+ ---
4
+ type: "job"
5
+ name: "bootloader-config"
6
+ interface: "process"
7
+ command: "/usr/sbin/bootloader-config.sh"
8
+ timeout: 1000
9
+ # just long timeout: 600
@@ -0,0 +1,13 @@
1
+ #!/bin/bash
2
+ CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
3
+
4
+ if [ -f "$CHROOT"/etc/motd ]; then
5
+ sed -i '/^eggs-start-message/,/^\eggs-end-message/{/^#/!{/^\$/!d;};}' "$CHROOT"/etc/motd
6
+ fi
7
+
8
+ if [ -f "$CHROOT"/etc/issue ]; then
9
+ sed -i '/^eggs-start-message/,/^\eggs-end-message/{/^#/!{/^\$/!d;};}' "$CHROOT"/etc/issue
10
+ fi
11
+
12
+ rm -f $CHROOT/usr/share/applications/install-system.desktop
13
+ rm -f $CHROOT/etc/systemd/system/getty@.service.d/override.conf # remove cli-autologin
@@ -0,0 +1,9 @@
1
+ # Common
2
+ # cleanup
3
+ ---
4
+ type: "job"
5
+ name: "cleanup"
6
+ interface: "process"
7
+ chroot: false
8
+ command: "/usr/sbin/cleanup.sh"
9
+ timeout: 8
@@ -0,0 +1,57 @@
1
+ # Alpine 3.18
2
+ # Bootloader configuration. The bootloader is installed to allow
3
+ # the system to start (and pick one of the installed operating
4
+ # systems to run).
5
+ ---
6
+ # Define which bootloader you want to use for EFI installations
7
+ # Possible options are 'grub', 'sb-shim' and 'systemd-boot'.
8
+ efiBootLoader: "grub"
9
+
10
+ # systemd-boot configuration files settings, set kernel and initramfs file names
11
+ # and amount of time before default selection boots
12
+ kernel: "/vmlinuz-linux"
13
+ img: "/initramfs-linux.img"
14
+ fallback: "/initramfs-linux-fallback.img"
15
+ timeout: "10"
16
+
17
+ # Optionally set the menu entry name and kernel name to use in systemd-boot.
18
+ # If not specified here, these settings will be taken from branding.desc.
19
+ #
20
+ # bootloaderEntryName: "Generic GNU/Linux"
21
+ # kernelLine: ", with Stable-Kernel"
22
+ # fallbackKernelLine: ", with Stable-Kernel (fallback initramfs)"
23
+
24
+ # GRUB 2 binary names and boot directory
25
+ # Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names.
26
+ # These names are also used when using sb-shim, since that needs some
27
+ # GRUB functionality (notably grub-probe) to work. As needed, you may use
28
+ # complete paths like `/usr/bin/efibootmgr` for the executables.
29
+ #
30
+ grubInstall: "grub-install"
31
+ grubMkconfig: "grub-mkconfig"
32
+ grubCfg: "/boot/grub/grub.cfg"
33
+ grubProbe: "grub-probe"
34
+ efiBootMgr: "efibootmgr"
35
+
36
+ # Optionally set the bootloader ID to use for EFI. This is passed to
37
+ # grub-install --bootloader-id.
38
+ #
39
+ # If not set here, the value from bootloaderEntryName from branding.desc
40
+ # is used, with problematic characters (space and slash) replaced.
41
+ #
42
+ # The ID is also used as a directory name within the EFI environment,
43
+ # and the bootloader is copied from /boot/efi/EFI/<dirname>/ . When
44
+ # setting the option here, keep in mind that the name is sanitized
45
+ # (problematic characters, see above, are replaced).
46
+ #
47
+ # efiBootloaderId: "dirname"
48
+ efiBootloaderId: "Debian"
49
+
50
+ # Optionally install a copy of the GRUB EFI bootloader as the EFI
51
+ # fallback loader (either bootia32.efi or bootx64.efi depending on
52
+ # the system). This may be needed on certain systems (Intel DH87MC
53
+ # seems to be the only one). If you set this to false, take care
54
+ # to add another module to optionally install the fallback on those
55
+ # boards that need it.
56
+ # NOTE: eggs unti calamres 3.2 was installEFIFallback: false
57
+ installEFIFallback: true
@@ -0,0 +1,23 @@
1
+ # Alpine 3.18
2
+ # Configure one or more display managers (e.g. SDDM)
3
+ # with a "best effort" approach.
4
+ ---
5
+ #The DM module attempts to set up all the DMs found in this list, in that precise order.
6
+ #It also sets up autologin, if the feature is enabled in globalstorage.
7
+ #The displaymanagers list can also be set in globalstorage, and in that case it overrides anything set up here.
8
+ displaymanagers:
9
+ {{displaymanagers}}
10
+
11
+ #Enable the following settings to force a desktop environment in your displaymanager configuration file:
12
+ #defaultDesktopEnvironment:
13
+ # executable: "startkde"
14
+ # desktopFile: "plasma"
15
+
16
+ #If true, try to ensure that the user, group, /var directory etc. for the
17
+ #display manager are set up correctly. This is normally done by the distribution
18
+ #packages, and best left to them. Therefore, it is disabled by default.
19
+ basicSetup: false
20
+
21
+ #If true, setup autologin for openSUSE. This only makes sense on openSUSE
22
+ #derivatives or other systems where /etc/sysconfig/displaymanager exists.
23
+ sysconfigSetup: false
@@ -0,0 +1,5 @@
1
+ # Alpine 3.18
2
+ ---
3
+ restartNowEnabled: true
4
+ restartNowChecked: true
5
+ restartNowCommand: reboot
@@ -0,0 +1,12 @@
1
+ # Alpine 3.18
2
+ ---
3
+ mountOptions:
4
+ default: defaults,noatime
5
+ btrfs: defaults #,noatime,space_cache,autodefrag
6
+ ssdExtraMountOptions:
7
+ ext4: discard
8
+ jfs: discard
9
+ xfs: discard
10
+ swap: discard
11
+ btrfs: discard,compress=lzo
12
+ crypttabOptions: luks,keyscript=/bin/cat
@@ -0,0 +1,98 @@
1
+ # Alpine 3.18
2
+ ---
3
+ # This settings are used to set your default system time zone.
4
+ # Time zones are usually located under /usr/share/zoneinfo and
5
+ # provided by the 'tzdata' package of your Distribution.
6
+ #
7
+ # Distributions using systemd can list available
8
+ # time zones by using the timedatectl command.
9
+ # timedatectl list-timezones
10
+ #
11
+ # The starting timezone (e.g. the pin-on-the-map) when entering
12
+ # the locale page can be set through keys *region* and *zone*.
13
+ # If either is not set, defaults to America/New_York.
14
+ #
15
+ region: "Europe"
16
+ zone: "Rome"
17
+
18
+
19
+ # System locales are detected in the following order:
20
+ #
21
+ # - /usr/share/i18n/SUPPORTED
22
+ # - localeGenPath (defaults to /etc/ if not set)
23
+ # - 'locale -a' output
24
+ #
25
+ # Enable only when your Distribution is using an
26
+ # custom path for
27
+ #
28
+ #localeGenPath: "PATH_TO/"
29
+
30
+ # GeoIP based Language settings: Leave commented out to disable GeoIP.
31
+ #
32
+ # GeoIP needs a working Internet connection.
33
+ # This can be managed from `welcome.conf` by adding
34
+ # internet to the list of required conditions.
35
+ #
36
+ # The configuration
37
+ # is in three parts: a *style*, which can be "json" or "xml"
38
+ # depending on the kind of data returned by the service, and
39
+ # a *url* where the data is retrieved, and an optional *selector*
40
+ # to pick the right field out of the returned data (e.g. field
41
+ # name in JSON or element name in XML).
42
+ #
43
+ # The default selector (when the setting is blank) is picked to
44
+ # work with existing JSON providers (which use "time_zone") and
45
+ # Ubiquity's XML providers (which use "TimeZone").
46
+ #
47
+ # If the service configured via *url* uses
48
+ # a different attribute name (e.g. "timezone") in JSON or a
49
+ # different element tag (e.g. "<Time_Zone>") in XML, set this
50
+ # string to the name or tag to be used.
51
+ #
52
+ # In JSON:
53
+ # - if the string contains "." characters, this is used as a
54
+ # multi-level selector, e.g. "a.b" will select the timezone
55
+ # from data "{a: {b: "Europe/Amsterdam" } }".
56
+ # - each part of the string split by "." characters is used as
57
+ # a key into the JSON data.
58
+ # In XML:
59
+ # - all elements with the named tag (e.g. all TimeZone) elements
60
+ # from the document are checked; the first one with non-empty
61
+ # text value is used.
62
+ #
63
+ #
64
+ # An HTTP(S) request is made to *url*. The request should return
65
+ # valid data in a suitable format, depending on *style*;
66
+ # generally this includes a string value with the timezone
67
+ # in <region>/<zone> format. For services that return data which
68
+ # does not follow the conventions of "suitable data" described
69
+ # below, *selector* may be used to pick different data.
70
+ #
71
+ # Note that this example URL works, but the service is shutting
72
+ # down in June 2018.
73
+ #
74
+ # Suitable JSON data looks like
75
+ # ```
76
+ # {"time_zone":"America/New_York"}
77
+ # ```
78
+ # Suitable XML data looks like
79
+ # ```
80
+ # <Response><TimeZone>Europe/Brussels</TimeZone></Response>
81
+ # ```
82
+ #
83
+ # To accommodate providers of GeoIP timezone data with peculiar timezone
84
+ # naming conventions, the following cleanups are performed automatically:
85
+ # - backslashes are removed
86
+ # - spaces are replaced with _
87
+ #
88
+ # Legacy settings "geoipStyle", "geoipUrl" and "geoipSelector"
89
+ # in the top-level are still supported, but I'd advise against.
90
+ #
91
+ # To disable GeoIP checking, either comment-out the entire geoip section,
92
+ # or set the *style* key to an unsupported format (e.g. `none`).
93
+ # Also, note the analogous feature in src/modules/welcome/welcome.conf.
94
+ #
95
+ geoip:
96
+ style: "json"
97
+ url: "https://geoip.kde.org/v1/calamares"
98
+ selector: "" # leave blank for the default
@@ -0,0 +1,5 @@
1
+ # # Alpine 3.18
2
+ # Writes an openswap configuration with LUKS settings to the given path
3
+ ---
4
+ # Path of the configuration file to write (in the target system)
5
+ configFilePath: /etc/openswap.conf
@@ -0,0 +1,17 @@
1
+ # # Alpine 3.18
2
+ # added Whether to copy entropy from the host
3
+ ---
4
+ # Whether to create /etc/machine-id for systemd.
5
+ systemd: true
6
+ # Whether to create /var/lib/dbus/machine-id for D-Bus.
7
+ dbus: true
8
+ # Whether /var/lib/dbus/machine-id should be a symlink to /etc/machine-id
9
+ # (ignored if dbus is false, or if there is no /etc/machine-id to point to).
10
+ symlink: true
11
+ # Whether to copy entropy from the host
12
+ entropy-copy: true
13
+ # Which files to write (paths in the target)
14
+ entropy-files:
15
+ - /var/lib/urandom/random-seed
16
+ - /var/lib/systemd/random-seed
17
+
@@ -0,0 +1,56 @@
1
+ # # Alpine 3.18
2
+ # Mount filesystems in the target (generally, before treating the
3
+ # target as a usable chroot / "live" system). Filesystems are
4
+ # automatically mounted from the partitioning module. Filesystems
5
+ # listed here are **extra**. The filesystems listed in *extraMounts*
6
+ # are mounted in all target systems. The filesystems listed in
7
+ # *extraMountsEfi* are mounted in the target system **only** if
8
+ # the host machine uses UEFI.
9
+ ---
10
+ # Extra filesystems to mount. The key's value is a list of entries; each
11
+ # entry has four keys:
12
+ # - device The device node to mount
13
+ # - fs The filesystem type to use
14
+ # - mountPoint Where to mount the filesystem
15
+ # - options (optional) Extra options to pass to mount(8)
16
+ #
17
+ extraMounts:
18
+ - device: proc
19
+ fs: proc
20
+ mountPoint: /proc
21
+ - device: sys
22
+ fs: sysfs
23
+ mountPoint: /sys
24
+ - device: /dev
25
+ mountPoint: /dev
26
+ options: {{{options}}}
27
+ - device: tmpfs
28
+ fs: tmpfs
29
+ mountPoint: /run
30
+ - device: /run/udev
31
+ mountPoint: /run/udev
32
+ options: {{{options}}}
33
+
34
+ extraMountsEfi:
35
+ - device: efivarfs
36
+ fs: efivarfs
37
+ mountPoint: /sys/firmware/efi/efivars
38
+
39
+ # added from spiralLinux
40
+ btrfsSubvolumes:
41
+ - mountPoint: /
42
+ subvolume: /@
43
+ - mountPoint: /.snapshots
44
+ subvolume: /@snapshots
45
+ - mountPoint: /home
46
+ subvolume: /@home
47
+ - mountPoint: /root
48
+ subvolume: /@root
49
+ - mountPoint: /var/log
50
+ subvolume: /@var@log
51
+ - mountPoint: /var/lib/AccountsService
52
+ subvolume: /@var@lib@AccountsService
53
+ - mountPoint: /var/lib/blueman
54
+ subvolume: /@var@lib@blueman
55
+ - mountPoint: /tmp
56
+ subvolume: /@tmp
@@ -0,0 +1,6 @@
1
+ # # Alpine 3.18
2
+ # packages
3
+ ---
4
+ backend: apk
5
+
6
+ {{operations}}