penguins-eggs 10.0.49 → 10.0.52

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 (142) hide show
  1. package/.oclif.manifest.json +1 -1
  2. package/README.md +29 -29
  3. package/addons/eggs/theme/livecd/isolinux.main.simple.cfg +25 -11
  4. package/conf/distros/aldos/calamares/modules/bootloader.yml +85 -0
  5. package/conf/distros/aldos/calamares/modules/displaymanager.yml +22 -0
  6. package/conf/distros/aldos/calamares/modules/finished.yml +5 -0
  7. package/conf/distros/aldos/calamares/modules/fstab.yml +12 -0
  8. package/conf/distros/aldos/calamares/modules/locale.yml +97 -0
  9. package/conf/distros/aldos/calamares/modules/luksopenswaphookcfg.yml +5 -0
  10. package/conf/distros/aldos/calamares/modules/machineid.yml +17 -0
  11. package/conf/distros/aldos/calamares/modules/mount.yml +56 -0
  12. package/conf/distros/aldos/calamares/modules/packages.yml +6 -0
  13. package/conf/distros/aldos/calamares/modules/partition.yml +242 -0
  14. package/conf/distros/aldos/calamares/modules/removeuser.yml +15 -0
  15. package/conf/distros/aldos/calamares/modules/unpackfs.yml +6 -0
  16. package/conf/distros/aldos/calamares/modules/users.yml +19 -0
  17. package/conf/distros/aldos/calamares/modules/welcome.yml +19 -0
  18. package/conf/distros/aldos/calamares/settings.yml +124 -0
  19. package/conf/distros/fedora/calamares/modules/bootloader.conf +85 -0
  20. package/conf/distros/fedora/calamares/modules/bootloader.yml +5 -5
  21. package/conf/distros/fedora/calamares/modules/displaymanager.yml +1 -1
  22. package/conf/distros/fedora/calamares/modules/packages.yml +2 -2
  23. package/conf/distros/fedora/calamares/modules/partition.yml +1 -1
  24. package/conf/distros/fedora/calamares/settings.yml +4 -10
  25. package/conf/distros/openmamba/calamares/modules/bootloader.yml +83 -0
  26. package/conf/distros/openmamba/calamares/modules/displaymanager.yml +22 -0
  27. package/conf/distros/openmamba/calamares/modules/finished.yml +47 -0
  28. package/conf/distros/openmamba/calamares/modules/fstab.yml +37 -0
  29. package/conf/distros/openmamba/calamares/modules/grubcfg.yml +51 -0
  30. package/conf/distros/openmamba/calamares/modules/keyboard.yml +33 -0
  31. package/conf/distros/openmamba/calamares/modules/locale.yml +131 -0
  32. package/conf/distros/openmamba/calamares/modules/luksopenswaphookcfg.yml +7 -0
  33. package/conf/distros/openmamba/calamares/modules/machineid.yml +56 -0
  34. package/conf/distros/openmamba/calamares/modules/mount.yml +121 -0
  35. package/conf/distros/openmamba/calamares/modules/openrcdmcryptcfg.yml +5 -0
  36. package/conf/distros/openmamba/calamares/modules/packages.yml +6 -0
  37. package/conf/distros/openmamba/calamares/modules/partition.yml +318 -0
  38. package/conf/distros/openmamba/calamares/modules/removeuser.yml +13 -0
  39. package/conf/distros/openmamba/calamares/modules/services-systemd.yml +54 -0
  40. package/conf/distros/openmamba/calamares/modules/umount.yml +14 -0
  41. package/conf/distros/openmamba/calamares/modules/unpackfs.yml +93 -0
  42. package/conf/distros/openmamba/calamares/modules/users.yml +272 -0
  43. package/conf/distros/openmamba/calamares/modules/welcome.yml +138 -0
  44. package/conf/distros/openmamba/calamares/settings.yml +228 -0
  45. package/conf/distros/opensuse/calamares/modules/bootloader.conf +86 -0
  46. package/conf/distros/opensuse/calamares/modules/bootloader.yml +5 -5
  47. package/conf/distros/opensuse/calamares/modules/displaymanager.yml +1 -1
  48. package/conf/distros/opensuse/calamares/modules/finished.yml +1 -1
  49. package/conf/distros/opensuse/calamares/modules/fstab.yml +1 -1
  50. package/conf/distros/opensuse/calamares/modules/locale.yml +1 -0
  51. package/conf/distros/opensuse/calamares/modules/luksopenswaphookcfg.yml +1 -1
  52. package/conf/distros/opensuse/calamares/modules/machineid.yml +1 -1
  53. package/conf/distros/opensuse/calamares/modules/mount.yml +1 -1
  54. package/conf/distros/opensuse/calamares/modules/packages.yml +2 -2
  55. package/conf/distros/opensuse/calamares/modules/partition.yml +1 -1
  56. package/conf/distros/opensuse/calamares/modules/removeuser.yml +1 -1
  57. package/conf/distros/opensuse/calamares/settings.yml +4 -10
  58. package/dist/classes/bleach.js +21 -35
  59. package/dist/classes/distro.js +204 -176
  60. package/dist/classes/diversions.d.ts +38 -0
  61. package/dist/classes/diversions.js +107 -0
  62. package/dist/classes/incubation/branding.js +6 -10
  63. package/dist/classes/incubation/fisherman.d.ts +2 -2
  64. package/dist/classes/incubation/fisherman.js +2 -35
  65. package/dist/classes/incubation/incubator.d/openmamba.d.ts +32 -0
  66. package/dist/classes/incubation/incubator.d/openmamba.js +81 -0
  67. package/dist/classes/incubation/incubator.d/opensuse.d.ts +32 -0
  68. package/dist/classes/incubation/incubator.d/opensuse.js +81 -0
  69. package/dist/classes/incubation/{distros → incubator.d}/rolling.js +1 -3
  70. package/dist/classes/incubation/incubator.d.ts +3 -3
  71. package/dist/classes/incubation/incubator.js +118 -119
  72. package/dist/classes/incubation/installer.js +5 -12
  73. package/dist/classes/ovary.d.ts +1 -6
  74. package/dist/classes/ovary.js +26 -68
  75. package/dist/classes/pacman.d/aldos.d.ts +47 -0
  76. package/dist/classes/pacman.d/aldos.js +93 -0
  77. package/dist/classes/pacman.d/openmamba.d.ts +47 -0
  78. package/dist/classes/pacman.d/openmamba.js +93 -0
  79. package/dist/classes/pacman.d.ts +0 -5
  80. package/dist/classes/pacman.js +211 -192
  81. package/dist/classes/tailor.js +2 -0
  82. package/dist/classes/utils.js +15 -1
  83. package/dist/classes/xdg.js +9 -1
  84. package/dist/krill/modules/bootloader.js +59 -26
  85. package/dist/krill/modules/machine-id.js +8 -11
  86. package/dist/krill/sequence.js +1 -5
  87. package/manpages/doc/man/eggs.1.gz +0 -0
  88. package/manpages/doc/man/eggs.html +4 -604
  89. package/package.json +3 -3
  90. package/conf/distros/alpine/calamares/calamares-modules/bootloader-config/bootloader-config.sh +0 -40
  91. package/conf/distros/alpine/calamares/calamares-modules/bootloader-config/module.yml +0 -9
  92. package/conf/distros/alpine/calamares/calamares-modules/cleanup/cleanup.sh +0 -13
  93. package/conf/distros/alpine/calamares/calamares-modules/cleanup/module.yml +0 -9
  94. package/conf/distros/alpine/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -13
  95. package/conf/distros/alpine/calamares/calamares-modules/dpkg-unsafe-io/module.yml +0 -6
  96. package/conf/distros/alpine/calamares/calamares-modules/dpkg-unsafe-io-undo/module.yml +0 -6
  97. package/conf/distros/alpine/calamares/calamares-modules/sources-yolk/module.yml +0 -8
  98. package/conf/distros/alpine/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -50
  99. package/conf/distros/alpine/calamares/calamares-modules/sources-yolk-undo/module.yml +0 -8
  100. package/conf/distros/fedora/calamares/calamares-modules/bootloader-config/bootloader-config.sh +0 -40
  101. package/conf/distros/fedora/calamares/calamares-modules/bootloader-config/module.yml +0 -9
  102. package/conf/distros/fedora/calamares/calamares-modules/cleanup/cleanup.sh +0 -13
  103. package/conf/distros/fedora/calamares/calamares-modules/cleanup/module.yml +0 -9
  104. package/conf/distros/fedora/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -13
  105. package/conf/distros/fedora/calamares/calamares-modules/dpkg-unsafe-io/module.yml +0 -6
  106. package/conf/distros/fedora/calamares/calamares-modules/dpkg-unsafe-io-undo/module.yml +0 -6
  107. package/conf/distros/fedora/calamares/calamares-modules/sources-yolk/module.yml +0 -8
  108. package/conf/distros/fedora/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -50
  109. package/conf/distros/fedora/calamares/calamares-modules/sources-yolk-undo/module.yml +0 -8
  110. package/conf/distros/opensuse/calamares/calamares-modules/bootloader-config/bootloader-config.sh +0 -40
  111. package/conf/distros/opensuse/calamares/calamares-modules/bootloader-config/module.yml +0 -9
  112. package/conf/distros/opensuse/calamares/calamares-modules/cleanup/cleanup.sh +0 -13
  113. package/conf/distros/opensuse/calamares/calamares-modules/cleanup/module.yml +0 -9
  114. package/conf/distros/opensuse/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -13
  115. package/conf/distros/opensuse/calamares/calamares-modules/dpkg-unsafe-io/module.yml +0 -6
  116. package/conf/distros/opensuse/calamares/calamares-modules/dpkg-unsafe-io-undo/module.yml +0 -6
  117. package/conf/distros/opensuse/calamares/calamares-modules/sources-yolk/module.yml +0 -8
  118. package/conf/distros/opensuse/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -50
  119. package/conf/distros/opensuse/calamares/calamares-modules/sources-yolk-undo/module.yml +0 -8
  120. /package/dist/classes/incubation/{distros → incubator.d}/alpine.d.ts +0 -0
  121. /package/dist/classes/incubation/{distros → incubator.d}/alpine.js +0 -0
  122. /package/dist/classes/incubation/{distros → incubator.d}/bionic.d.ts +0 -0
  123. /package/dist/classes/incubation/{distros → incubator.d}/bionic.js +0 -0
  124. /package/dist/classes/incubation/{distros → incubator.d}/buster.d.ts +0 -0
  125. /package/dist/classes/incubation/{distros → incubator.d}/buster.js +0 -0
  126. /package/dist/classes/incubation/{distros → incubator.d}/jessie.d.ts +0 -0
  127. /package/dist/classes/incubation/{distros → incubator.d}/jessie.js +0 -0
  128. /package/dist/classes/incubation/{distros → incubator.d}/noble.d.ts +0 -0
  129. /package/dist/classes/incubation/{distros → incubator.d}/noble.js +0 -0
  130. /package/dist/classes/incubation/{distros → incubator.d}/rolling.d.ts +0 -0
  131. /package/dist/classes/{families → pacman.d}/alpine.d.ts +0 -0
  132. /package/dist/classes/{families → pacman.d}/alpine.js +0 -0
  133. /package/dist/classes/{families → pacman.d}/archlinux.d.ts +0 -0
  134. /package/dist/classes/{families → pacman.d}/archlinux.js +0 -0
  135. /package/dist/classes/{families → pacman.d}/debian.d.ts +0 -0
  136. /package/dist/classes/{families → pacman.d}/debian.js +0 -0
  137. /package/dist/classes/{families → pacman.d}/fedora.d.ts +0 -0
  138. /package/dist/classes/{families → pacman.d}/fedora.js +0 -0
  139. /package/dist/classes/{families → pacman.d}/opensuse.d.ts +0 -0
  140. /package/dist/classes/{families → pacman.d}/opensuse.js +0 -0
  141. /package/dist/classes/{families → pacman.d}/voidlinux.d.ts +0 -0
  142. /package/dist/classes/{families → pacman.d}/voidlinux.js +0 -0
@@ -0,0 +1,86 @@
1
+ # OpenSuSE
2
+ # SPDX-FileCopyrightText: no
3
+ # SPDX-License-Identifier: CC0-1.0
4
+ #
5
+ # Bootloader configuration. The bootloader is installed to allow
6
+ # the system to start (and pick one of the installed operating
7
+ # systems to run).
8
+ #
9
+ # Take note that Debian-derivatives that use unmodified GRUB EFI packages
10
+ # should specifically set *efiBootloaderId* to "debian" because that is
11
+ # hard-coded in `grubx64.efi`.
12
+ ---
13
+ # A variable from global storage which overrides the value of efiBootLoader
14
+ #efiBootLoaderVar: "packagechooser_bootloader"
15
+
16
+ # Define which bootloader you want to use for EFI installations
17
+ # Possible options are 'grub', 'sb-shim', 'refind` and 'systemd-boot'.
18
+ efiBootLoader: "sb-shim"
19
+
20
+ # systemd-boot configuration files settings
21
+
22
+ # kernelSearchPath is the path relative to the root of the install to search for kernels
23
+ # A kernel is identified by finding files which match regular expression, kernelPattern
24
+ kernelSearchPath: "/usr/lib/modules"
25
+ kernelPattern: "^vmlinuz.*"
26
+
27
+ # loaderEntries is an array of options to add to loader.conf for systemd-boot
28
+ # please note that the "default" option is added programmatically
29
+ loaderEntries:
30
+ - "timeout 5"
31
+ - "console-mode keep"
32
+
33
+ # systemd-boot and refind support custom kernel params
34
+ kernelParams: [ "quiet" ]
35
+
36
+ # A list of kernel names that refind should accept as kernels
37
+ #refindKernelList: [ "linux","linux-lts","linux-zen","linux-hardened" ]
38
+
39
+ # GRUB 2 binary names and boot directory
40
+ # Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names.
41
+ # These names are also used when using sb-shim, since that needs some
42
+ # GRUB functionality (notably grub-probe) to work. As needed, you may use
43
+ # complete paths like `/usr/bin/efibootmgr` for the executables.
44
+ #
45
+ grubInstall: "grub2-install"
46
+ grubMkconfig: "grub2-mkconfig"
47
+ grubCfg: "/boot/grub2/grub.cfg"
48
+ grubProbe: "grub2-probe"
49
+ efiBootMgr: "efibootmgr"
50
+
51
+ # Optionally set the bootloader ID to use for EFI. This is passed to
52
+ # grub-install --bootloader-id.
53
+ #
54
+ # If not set here, the value from bootloaderEntryName from branding.desc
55
+ # is used, with problematic characters (space and slash) replaced.
56
+ #
57
+ # The ID is also used as a directory name within the EFI environment,
58
+ # and the bootloader is copied from /boot/efi/EFI/<dirname>/ . When
59
+ # setting the option here, keep in mind that the name is sanitized
60
+ # (problematic characters, see above, are replaced).
61
+ #
62
+ # There are some special words possible at the end of *efiBootloaderId*:
63
+ # ${SERIAL} can be used to obtain a uniquely-numbered suffix
64
+ # that is added to the Id (yielding, e.g., `dirname1` or `dirname72`)
65
+ # ${RANDOM} can be used to obtain a unique 4-digit hex suffix
66
+ # ${PHRASE} can be used to obtain a unique 1-to-3-word suffix
67
+ # from a dictionary of space-themed words
68
+ # These words must be at the **end** of the *efiBootloaderId* value.
69
+ # There must also be at most one of them. If there is none, no suffix-
70
+ # processing is done and the *efiBootloaderId* is used unchanged.
71
+ #
72
+ # NOTE: Debian derivatives that use the unmodified Debian GRUB EFI
73
+ # packages may need to set this to "debian" because that is
74
+ # hard-coded in `grubx64.efi`.
75
+ #
76
+ # PACKAGER NOTE: If you really want to change this value, you will also have to
77
+ # change the hardcoded directory name in the grub2(-efi) package.
78
+ efiBootloaderId: "fedora"
79
+
80
+ # Optionally install a copy of the GRUB EFI bootloader as the EFI
81
+ # fallback loader (either bootia32.efi or bootx64.efi depending on
82
+ # the system). This may be needed on certain systems (Intel DH87MC
83
+ # seems to be the only one). If you set this to false, take care
84
+ # to add another module to optionally install the fallback on those
85
+ # boards that need it.
86
+ installEFIFallback: true
@@ -1,4 +1,4 @@
1
- # Debian bookworm
1
+ # OpenSuSE
2
2
  # Bootloader configuration. The bootloader is installed to allow
3
3
  # the system to start (and pick one of the installed operating
4
4
  # systems to run).
@@ -27,10 +27,10 @@ timeout: "10"
27
27
  # GRUB functionality (notably grub-probe) to work. As needed, you may use
28
28
  # complete paths like `/usr/bin/efibootmgr` for the executables.
29
29
  #
30
- grubInstall: "grub-install"
31
- grubMkconfig: "grub-mkconfig"
30
+ grubInstall: "grub2-install"
31
+ grubMkconfig: "grub2-mkconfig"
32
32
  grubCfg: "/boot/grub/grub.cfg"
33
- grubProbe: "grub-probe"
33
+ grubProbe: "grub2-probe"
34
34
  efiBootMgr: "efibootmgr"
35
35
 
36
36
  # Optionally set the bootloader ID to use for EFI. This is passed to
@@ -45,7 +45,7 @@ efiBootMgr: "efibootmgr"
45
45
  # (problematic characters, see above, are replaced).
46
46
  #
47
47
  # efiBootloaderId: "dirname"
48
- efiBootloaderId: "Debian"
48
+ efiBootloaderId: "fedora"
49
49
 
50
50
  # Optionally install a copy of the GRUB EFI bootloader as the EFI
51
51
  # fallback loader (either bootia32.efi or bootx64.efi depending on
@@ -1,4 +1,4 @@
1
- # Debian/bookworm
1
+ # OpenSuSE
2
2
  # Configure one or more display managers (e.g. SDDM)
3
3
  # with a "best effort" approach.
4
4
  ---
@@ -1,4 +1,4 @@
1
- # Debian/Bookworm
1
+ # OpenSuSE
2
2
  ---
3
3
  restartNowEnabled: true
4
4
  restartNowChecked: true
@@ -1,4 +1,4 @@
1
- # Debian/Bookworm
1
+ # OpenSuSE
2
2
  ---
3
3
  mountOptions:
4
4
  default: defaults,noatime
@@ -1,3 +1,4 @@
1
+ # OpenSuSE
1
2
  ---
2
3
  # This settings are used to set your default system time zone.
3
4
  # Time zones are usually located under /usr/share/zoneinfo and
@@ -1,4 +1,4 @@
1
- # Debian/Bookworm
1
+ # OpenSuSE
2
2
  # Writes an openswap configuration with LUKS settings to the given path
3
3
  ---
4
4
  # Path of the configuration file to write (in the target system)
@@ -1,4 +1,4 @@
1
- # Debian/bookworm
1
+ # OpenSuSE
2
2
  # added Whether to copy entropy from the host
3
3
  ---
4
4
  # Whether to create /etc/machine-id for systemd.
@@ -1,4 +1,4 @@
1
- # Debian/Bookworm
1
+ # OpenSuSE
2
2
  # Mount filesystems in the target (generally, before treating the
3
3
  # target as a usable chroot / "live" system). Filesystems are
4
4
  # automatically mounted from the partitioning module. Filesystems
@@ -1,6 +1,6 @@
1
- # Debian/Buster et others
1
+ # OpenSuSE
2
2
  # packages
3
3
  ---
4
- backend: apt
4
+ backend: dnf
5
5
 
6
6
  {{operations}}
@@ -1,4 +1,4 @@
1
- # Debian/Buster et others
1
+ # OpenSuSE
2
2
  # partition.yaml
3
3
  ---
4
4
  # This setting specifies the mount point of the EFI system partition. Some
@@ -1,4 +1,4 @@
1
- # Debian Buster
1
+ # OpenSuSE
2
2
  # removeuser
3
3
  # SPDX-FileCopyrightText: no
4
4
  # SPDX-License-Identifier: CC0-1.0
@@ -1,4 +1,4 @@
1
- # Debian/bookworm
1
+ # Fedora
2
2
  ---
3
3
  # "local" is LIBDIR/calamares/modules with settings in SHARE/calamares/modules
4
4
  modules-search: [ local, /usr/lib/calamares/modules ]
@@ -65,29 +65,23 @@ sequence:
65
65
  - partition
66
66
  - mount
67
67
  - unpackfs
68
- - dpkg-unsafe-io
69
- - sources-yolk
70
68
  {{hasSystemd}}machineid
71
69
  - fstab
72
70
  - locale
73
71
  - keyboard
74
72
  - localecfg
73
+ - luksbootkeyfile
74
+ - dracutlukscfg
75
75
  {{createUsers}}users
76
76
  {{hasDisplaymanager}}displaymanager
77
77
  - networkcfg
78
78
  - hwclock
79
79
  {{hasSystemd}}services-systemd
80
- - bootloader-config
80
+ - dracut
81
81
  - grubcfg
82
82
  - bootloader
83
83
  - packages
84
- - luksbootkeyfile
85
- - plymouthcfg
86
- - initramfscfg
87
- - initramfs
88
- - dpkg-unsafe-io-undo
89
84
  - removeuser
90
- - sources-yolk-undo
91
85
  - cleanup
92
86
  - umount
93
87
 
@@ -25,41 +25,27 @@ export default class Bleach {
25
25
  Utils.warning('cleaning the system');
26
26
  }
27
27
  const distro = new Distro();
28
- switch (distro.familyId) {
29
- case 'debian': {
30
- // await exec(`apt remove $(dpkg -l | grep linux-image | awk '{print $2}' | grep -v $(uname -r))`)
31
- await exec('apt-get clean', echo);
32
- await exec('apt-get autoclean', echo);
33
- const lockFile = '/var/lib/apt/lists/lock';
34
- await exec(`rm ${lockFile} -rf`, echo);
35
- break;
36
- }
37
- case 'archlinux': {
38
- // await exec(`pacman -R $(pacman -Q | grep linux | grep -v $(uname -r))`)
39
- await exec('yes | sudo pacman -Scc', Utils.setEcho(true));
40
- break;
41
- }
42
- case 'alpine': {
43
- // await exec(`apk del $(apk info | grep linux- | grep -v $(uname -r))`)
44
- await exec('apk cache clean', echo);
45
- await exec('apk cache purge', echo);
46
- break;
47
- }
48
- case 'fedora': {
49
- await exec(`dnf remove $(dnf repoquery --installonly --latest-limit=-1 -q)`);
50
- await exec(`dnf clean all`, echo);
51
- break;
52
- }
53
- case 'opensuse': {
54
- // await exec(`zypper remove $(rpm -qa | grep kernel | grep -v $(uname -r))`)
55
- await exec(`zypper clean`, echo);
56
- break;
57
- }
58
- case 'voidlinux': {
59
- await exec(`xbps-remove -O`, echo);
60
- break;
61
- }
62
- // No default
28
+ if (distro.familyId === 'alpine') {
29
+ await exec('apk cache clean', echo);
30
+ await exec('apk cache purge', echo);
31
+ }
32
+ else if (distro.familyId === 'archlinux') {
33
+ await exec('yes | sudo pacman -Scc', Utils.setEcho(true));
34
+ }
35
+ else if (distro.familyId === 'debian') {
36
+ await exec('apt-get clean', echo);
37
+ await exec('apt-get autoclean', echo);
38
+ await exec(`rm /var/lib/apt/lists/lock -rf`, echo);
39
+ }
40
+ else if (distro.familyId === 'fedora' || distro.familyId === 'openmamba') {
41
+ await exec(`dnf remove $(dnf repoquery --installonly --latest-limit=-1 -q)`);
42
+ await exec(`dnf clean all`, echo);
43
+ }
44
+ else if (distro.familyId === 'opensuse') {
45
+ await exec(`zypper clean`, echo);
46
+ }
47
+ else if (distro.familyId === 'voidlinux') {
48
+ await exec(`xbps-remove -O`, echo);
63
49
  }
64
50
  await this.cleanHistory(verbose);
65
51
  await this.cleanJournal(verbose);