penguins-eggs 25.11.8 → 25.11.21

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 (166) hide show
  1. package/.oclif.manifest.json +149 -140
  2. package/README.md +90 -132
  3. package/README.pdf +1343 -2331
  4. package/addons/eggs/adapt/applications/eggs-adapt.desktop +0 -0
  5. package/addons/eggs/pve/applications/eggs-pve.desktop +0 -0
  6. package/addons/eggs/rsupport/applications/eggs-rsupport.desktop +0 -0
  7. package/addons/eggs/theme/applications/install-system.desktop +0 -0
  8. package/assets/calamares/install-system.sh +0 -0
  9. package/assets/penguins-eggs.desktop +0 -0
  10. package/assets/penguins-krill.desktop +0 -0
  11. package/assets/penguins-links-add.desktop +0 -0
  12. package/assets/penguins-live-installer.desktop +0 -0
  13. package/bin/dev.js +0 -0
  14. package/conf/distros/alpine/calamares/calamares-modules/machineid-openrc/machineid-openrc.sh +0 -0
  15. package/conf/distros/archlinux/calamares/modules/bootloader.yml +1 -1
  16. package/conf/distros/archlinux/calamares/modules/partition.yml +385 -8
  17. package/conf/distros/buster/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
  18. package/conf/distros/buster/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -0
  19. package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
  20. package/conf/distros/fedora/calamares/calamares-modules/bootloaderspecification/bootloaderspecification.sh +0 -0
  21. package/conf/distros/focal/calamares/calamares-modules/.keepit +0 -0
  22. package/conf/distros/focal/calamares/calamares-modules/cleanup/cleanup.sh +20 -0
  23. package/conf/distros/focal/calamares/calamares-modules/cleanup/module.yml +9 -0
  24. package/conf/distros/focal/calamares/calamares-modules/sources-yolk/module.yml +8 -0
  25. package/conf/distros/focal/calamares/calamares-modules/sources-yolk/sources-yolk.sh +50 -0
  26. package/conf/distros/focal/calamares/calamares-modules/sources-yolk-undo/module.yml +8 -0
  27. package/conf/distros/focal/calamares/libexec/.keepit +0 -0
  28. package/conf/distros/focal/calamares/libexec/README.md +5 -0
  29. package/conf/distros/focal/calamares/libexec/calamares-aptsources.sh +15 -0
  30. package/conf/distros/focal/calamares/libexec/calamares-l10n-helper.sh +38 -0
  31. package/conf/distros/focal/calamares/libexec/calamares-logs-helper.sh +34 -0
  32. package/conf/distros/focal/calamares/libexec/calamares-nomodeset.sh +19 -0
  33. package/conf/distros/focal/calamares/modules/after_bootloader_context.yml +26 -0
  34. package/conf/distros/focal/calamares/modules/before_bootloader_context.yml +12 -0
  35. package/conf/distros/focal/calamares/modules/bootloader.yml +86 -0
  36. package/conf/distros/focal/calamares/modules/bootloader.yml.old +35 -0
  37. package/conf/distros/focal/calamares/modules/displaymanager.yml +12 -0
  38. package/conf/distros/focal/calamares/modules/finished.yml +6 -0
  39. package/conf/distros/focal/calamares/modules/fstab.yml +63 -0
  40. package/conf/distros/focal/calamares/modules/grubcfg.yml +51 -0
  41. package/conf/distros/focal/calamares/modules/keyboard.yml +29 -0
  42. package/conf/distros/focal/calamares/modules/locale.yml +7 -0
  43. package/conf/distros/focal/calamares/modules/machineid.yml +10 -0
  44. package/conf/distros/focal/calamares/modules/mount.yml +20 -0
  45. package/conf/distros/focal/calamares/modules/netinstall.yml +5 -0
  46. package/conf/distros/focal/calamares/modules/packages.mustache +5 -0
  47. package/conf/distros/focal/calamares/modules/partition.yml +21 -0
  48. package/conf/distros/focal/calamares/modules/removeuser.mustache +3 -0
  49. package/conf/distros/focal/calamares/modules/shellprocess@aptsources.yml +11 -0
  50. package/conf/distros/focal/calamares/modules/shellprocess@boot_deploy.yml +9 -0
  51. package/conf/distros/focal/calamares/modules/shellprocess@boot_reconfigure.yml +15 -0
  52. package/conf/distros/focal/calamares/modules/shellprocess@install_translations.yml +8 -0
  53. package/conf/distros/focal/calamares/modules/shellprocess@logs.yml +8 -0
  54. package/conf/distros/focal/calamares/modules/shellprocess@mkinitramfs.yml +6 -0
  55. package/conf/distros/focal/calamares/modules/shellprocess@nomodeset.yml +12 -0
  56. package/conf/distros/focal/calamares/modules/umount.yml +4 -0
  57. package/conf/distros/focal/calamares/modules/unpackfs.mustache +6 -0
  58. package/conf/distros/focal/calamares/modules/users.yml +27 -0
  59. package/conf/distros/focal/calamares/modules/welcome.yml +24 -0
  60. package/conf/distros/focal/calamares/settings.yml +97 -0
  61. package/conf/distros/noble/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
  62. package/conf/distros/noble/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
  63. package/conf/distros/noble/calamares/libexec/calamares-aptsources.sh +0 -0
  64. package/conf/distros/noble/calamares/libexec/calamares-l10n-helper.sh +0 -0
  65. package/conf/distros/noble/calamares/libexec/calamares-logs-helper.sh +0 -0
  66. package/conf/distros/noble/calamares/libexec/calamares-nomodeset.sh +0 -0
  67. package/conf/distros/opensuse/calamares/calamares-modules/bootloaderspecification/bootloaderspecification.sh +0 -0
  68. package/conf/distros/opensuse/calamares/settings.yml +0 -0
  69. package/conf/distros/opensuse/calamares/zstd2lzo.sh +0 -0
  70. package/conf/distros/trixie/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
  71. package/conf/distros/trixie/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -0
  72. package/conf/distros/trixie/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
  73. package/conf/init/unattended.sh +0 -0
  74. package/dist/appimage/first-run-check.d.ts +8 -0
  75. package/dist/appimage/first-run-check.js +13 -0
  76. package/dist/appimage/prerequisites.d.ts +34 -0
  77. package/dist/appimage/prerequisites.js +350 -0
  78. package/dist/bin/dev.cmd +3 -0
  79. package/dist/bin/dev.js +6 -0
  80. package/dist/bin/run.cmd +3 -0
  81. package/dist/bin/run.js +5 -0
  82. package/dist/classes/cli-autologin.js +4 -4
  83. package/dist/classes/distro.js +11 -27
  84. package/dist/classes/diversions.d.ts +5 -0
  85. package/dist/classes/diversions.js +23 -7
  86. package/dist/classes/incubation/customize/customize-partitions.js +8 -1
  87. package/dist/classes/incubation/fisherman-helper/packages.js +1 -1
  88. package/dist/classes/incubation/incubator.js +2 -2
  89. package/dist/classes/pacman.d/archlinux.js +5 -5
  90. package/dist/classes/pacman.d/debian.js +0 -2
  91. package/dist/classes/pacman.d/opensuse.js +2 -2
  92. package/dist/classes/pacman.js +10 -11
  93. package/dist/classes/utils.d.ts +4 -0
  94. package/dist/classes/utils.js +19 -3
  95. package/dist/commands/calamares.js +1 -1
  96. package/dist/commands/config.js +2 -2
  97. package/dist/commands/{analyze.d.ts → export/appimage.d.ts} +10 -9
  98. package/dist/commands/export/appimage.js +76 -0
  99. package/dist/commands/export/iso.js +1 -1
  100. package/dist/commands/export/pkg.d.ts +1 -1
  101. package/dist/commands/export/pkg.js +2 -2
  102. package/dist/commands/{install.d.ts → krill.d.ts} +3 -4
  103. package/dist/commands/{install.js → krill.js} +5 -6
  104. package/dist/commands/produce.js +1 -1
  105. package/dist/commands/setup.d.ts +21 -0
  106. package/dist/commands/setup.js +90 -0
  107. package/dist/commands/tools/repo.d.ts +0 -5
  108. package/dist/commands/tools/repo.js +205 -127
  109. package/dist/commands/update.d.ts +1 -1
  110. package/dist/commands/update.js +68 -59
  111. package/dist/krill/components/information.js +2 -2
  112. package/dist/krill/components/title.js +13 -13
  113. package/dist/lib/utils.d.ts +16 -0
  114. package/dist/lib/utils.js +24 -32
  115. package/dracut/create-symlink +0 -0
  116. package/dracut/export +0 -0
  117. package/dracut/export-dracut-analysis +0 -0
  118. package/dracut/export-dracut-log +0 -0
  119. package/dracut/mkisofs +0 -0
  120. package/dracut/modules.d/00debug-shell/debug-hook.sh +0 -0
  121. package/dracut/modules.d/00debug-shell/module-setup.sh +0 -0
  122. package/dracut/modules.d/90block/block-cmdline.sh +0 -0
  123. package/dracut/modules.d/90block/module-setup.sh +0 -0
  124. package/dracut/modules.d/95iso-scan/iso-scan-fallback.sh +0 -0
  125. package/dracut/modules.d/95iso-scan/iso-scan.sh +0 -0
  126. package/dracut/modules.d/95iso-scan/module-setup.sh +0 -0
  127. package/dracut/modules.d/95luks-loop/luks-loop.sh +0 -0
  128. package/dracut/modules.d/95luks-loop/module-setup.sh +0 -0
  129. package/dracut/renew-initramfs +0 -0
  130. package/dracut/sbin2bin +0 -0
  131. package/dracut/update-dracut-conf-d +0 -0
  132. package/dracut/update-dracut-modules +0 -0
  133. package/eui/eui-autostart-cinnamon.desktop +0 -0
  134. package/eui/eui-autostart-xfce.desktop +0 -0
  135. package/eui/eui-create-image.sh +0 -0
  136. package/eui/eui-start.sh +0 -0
  137. package/manpages/doc/man/eggs.1.gz +0 -0
  138. package/manpages/doc/man/eggs.html +582 -9
  139. package/package.json +125 -130
  140. package/perrisbrewery/scripts/postinst +0 -0
  141. package/perrisbrewery/scripts/postrm +0 -0
  142. package/perrisbrewery/scripts/preinst +0 -0
  143. package/perrisbrewery/scripts/prerm +0 -0
  144. package/perrisbrewery/template/dependencies.yaml +0 -5
  145. package/perrisbrewery/template/man.template.md +7 -0
  146. package/scripts/99clean +0 -0
  147. package/scripts/_eggs +28 -47
  148. package/scripts/adapt.sh +0 -0
  149. package/scripts/appimage-build.sh +152 -0
  150. package/scripts/appimage-install.sh +43 -0
  151. package/scripts/bros/waydroid-helper.sh +0 -0
  152. package/scripts/eggs.bash +3 -4
  153. package/scripts/lsb_release +0 -0
  154. package/scripts/mom.sh +0 -0
  155. package/scripts/pve-live.service +0 -0
  156. package/scripts/pve-live.sh +0 -0
  157. package/scripts/resy +0 -0
  158. package/dist/classes/distro-hossein.d.ts +0 -52
  159. package/dist/classes/distro-hossein.js +0 -239
  160. package/dist/classes/incubation/incubator.d/bionic.d.ts +0 -32
  161. package/dist/classes/incubation/incubator.d/bionic.js +0 -83
  162. package/dist/commands/analyze.js +0 -95
  163. package/dist/commands/pods.d.ts +0 -22
  164. package/dist/commands/pods.js +0 -92
  165. package/scripts/boot-encrypted-root.sh +0 -220
  166. package/scripts/mount-encrypted-home.sh +0 -324
@@ -0,0 +1,26 @@
1
+ # SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
2
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
3
+ #
4
+ # Workaround from ubiquity. Ubuntu's grub will want to look in EFI/ubuntu, so
5
+ # let's make sure it can find something there.
6
+ # This only copies the cfg and doesn't overwrite, this is specifically so
7
+ # this doesn't interfere with an ubuntu installed on the system already.
8
+ #
9
+ # We'll also drop our preinstalled repository at this point if we had one.
10
+ # That way it doesn't litter the final system. The repo is created by
11
+ # livecd-rootfs-neon and contains bootloader packages so we can be installed
12
+ # without internet access. (this is run for both efi and bios types)
13
+ ---
14
+ dontChroot: false
15
+ timeout: 120
16
+ firmwareType:
17
+ efi:
18
+ # grub hack
19
+ - -mkdir /boot/efi/EFI/ubuntu
20
+ - -cp /boot/efi/EFI/neon/grub.cfg /boot/efi/EFI/ubuntu/
21
+ - command: -apt-get update
22
+ timeout: 60
23
+
24
+ bios:
25
+ - command: -apt-get update
26
+ timeout: 60
@@ -0,0 +1,12 @@
1
+ # SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
2
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
3
+ #
4
+ # Make sure the correct bootloader package is installed for efi.
5
+ # Also pull in the shim so secureboot has a chance at working.
6
+ ---
7
+ firmwareType:
8
+ efi:
9
+ - command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict grub-efi-amd64-signed
10
+ timeout: 300
11
+ - command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict shim-signed
12
+ timeout: 300
@@ -0,0 +1,86 @@
1
+ # SPDX-FileCopyrightText: no
2
+ # SPDX-License-Identifier: CC0-1.0
3
+ #
4
+ # Bootloader configuration. The bootloader is installed to allow
5
+ # the system to start (and pick one of the installed operating
6
+ # systems to run).
7
+ #
8
+ # Take note that Debian-derivatives that use unmodified GRUB EFI packages
9
+ # should specifically set *efiBootloaderId* to "debian" because that is
10
+ # hard-coded in `grubx64.efi`.
11
+ ---
12
+ # A variable from global storage which overrides the value of efiBootLoader
13
+ #efiBootLoaderVar: "packagechooser_bootloader"
14
+
15
+ # Define which bootloader you want to use for EFI installations
16
+ # Possible options are 'grub', 'sb-shim', 'refind` and 'systemd-boot'.
17
+ efiBootLoader: "grub"
18
+
19
+ # systemd-boot configuration files settings
20
+
21
+ # kernelSearchPath is the path relative to the root of the install to search for kernels
22
+ # A kernel is identified by finding files which match regular expression, kernelPattern
23
+ kernelSearchPath: "/usr/lib/modules"
24
+ kernelPattern: "^vmlinuz.*"
25
+
26
+ # loaderEntries is an array of options to add to loader.conf for systemd-boot
27
+ # please note that the "default" option is added programmatically
28
+ loaderEntries:
29
+ - "timeout 5"
30
+ - "console-mode keep"
31
+
32
+ # systemd-boot and refind support custom kernel params
33
+ kernelParams: [ "quiet" ]
34
+
35
+ # A list of kernel names that refind should accept as kernels
36
+ #refindKernelList: [ "linux","linux-lts","linux-zen","linux-hardened" ]
37
+
38
+ # GRUB 2 binary names and boot directory
39
+ # Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names.
40
+ # These names are also used when using sb-shim, since that needs some
41
+ # GRUB functionality (notably grub-probe) to work. As needed, you may use
42
+ # complete paths like `/usr/bin/efibootmgr` for the executables.
43
+ #
44
+ grubInstall: "grub-install"
45
+ grubMkconfig: "grub-mkconfig"
46
+ grubCfg: "/boot/grub/grub.cfg"
47
+ grubProbe: "grub-probe"
48
+ efiBootMgr: "efibootmgr"
49
+
50
+ # Optionally set the bootloader ID to use for EFI. This is passed to
51
+ # grub-install --bootloader-id.
52
+ #
53
+ # If not set here, the value from bootloaderEntryName from branding.desc
54
+ # is used, with problematic characters (space and slash) replaced.
55
+ #
56
+ # The ID is also used as a directory name within the EFI environment,
57
+ # and the bootloader is copied from /boot/efi/EFI/<dirname>/ . When
58
+ # setting the option here, keep in mind that the name is sanitized
59
+ # (problematic characters, see above, are replaced).
60
+ #
61
+ # There are some special words possible at the end of *efiBootloaderId*:
62
+ # ${SERIAL} can be used to obtain a uniquely-numbered suffix
63
+ # that is added to the Id (yielding, e.g., `dirname1` or `dirname72`)
64
+ # ${RANDOM} can be used to obtain a unique 4-digit hex suffix
65
+ # ${PHRASE} can be used to obtain a unique 1-to-3-word suffix
66
+ # from a dictionary of space-themed words
67
+ # These words must be at the **end** of the *efiBootloaderId* value.
68
+ # There must also be at most one of them. If there is none, no suffix-
69
+ # processing is done and the *efiBootloaderId* is used unchanged.
70
+ #
71
+ # NOTE: Debian derivatives that use the unmodified Debian GRUB EFI
72
+ # packages may need to set this to "debian" because that is
73
+ # hard-coded in `grubx64.efi`.
74
+ #
75
+ # efiBootloaderId: "dirname"
76
+
77
+ # Optionally install a copy of the GRUB EFI bootloader as the EFI
78
+ # fallback loader (either bootia32.efi or bootx64.efi depending on
79
+ # the system). This may be needed on certain systems (Intel DH87MC
80
+ # seems to be the only one). If you set this to false, take care
81
+ # to add another module to optionally install the fallback on those
82
+ # boards that need it.
83
+ installEFIFallback: true
84
+
85
+ # Optionally install both BIOS and UEFI GRUB bootloaders.
86
+ installHybridGRUB: false
@@ -0,0 +1,35 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
3
+ ---
4
+ efiBootLoader: "grub"
5
+
6
+ # systemd-boot configuration files settings, set kernel and initramfs file names
7
+ # and amount of time before default selection boots
8
+ kernel: "/vmlinuz-linux"
9
+ img: "/initramfs-linux.img"
10
+ fallback: "/initramfs-linux-fallback.img"
11
+ timeout: "10"
12
+ # Optionally set the menu entry name and kernel name to use in systemd-boot.
13
+ # If not specified here, these settings will be taken from branding.desc.
14
+ # bootloaderEntryName: "Generic GNU/Linux"
15
+ # kernelLine: ", with Stable-Kernel"
16
+ # fallbackKernelLine: ", with Stable-Kernel (fallback initramfs)"
17
+
18
+ # GRUB 2 binary names and boot directory
19
+ # Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names.
20
+ grubInstall: "grub-install"
21
+ grubMkconfig: "grub-mkconfig"
22
+ grubCfg: "/boot/grub/grub.cfg"
23
+
24
+ # Optionally set the bootloader ID to use for EFI. This is passed to
25
+ # grub-install --bootloader-id.
26
+ #
27
+ # If not set here, the value from bootloaderEntryName from branding.desc
28
+ # is used, with problematic characters (space and slash) replaced.
29
+ #
30
+ # The ID is also used as a directory name within the EFI environment,
31
+ # and the bootloader is copied from /boot/efi/EFI/<dirname>/ . When
32
+ # setting the option here, take care to use only valid directory
33
+ # names since no sanitizing is done.
34
+ #
35
+ efiBootloaderId: "ubuntu"
@@ -0,0 +1,12 @@
1
+ ---
2
+ displaymanagers:
3
+ - lightdm
4
+ - gdm
5
+ - mdm
6
+ - sddm
7
+ - lxdm
8
+ - slim
9
+
10
+ basicSetup: false
11
+ sddm:
12
+ configuration_file: "/etc/sddm.conf"
@@ -0,0 +1,6 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org>
3
+ # SPDX-FileCopyrightText: 2015-2016 Rohan Garg <rohan@kde.org>
4
+ ---
5
+ restartNowMode: user-checked
6
+ restartNowCommand: "systemctl -i reboot"
@@ -0,0 +1,63 @@
1
+ # calamares 3.2.x
2
+ mountOptions:
3
+ default: defaults,noatime
4
+ # btrfs: defaults,noatime,autodefrag,compress=zstd
5
+ btrfs: defaults
6
+ # btrfs_swap: defaults,noatime
7
+ btrfs_swap: defaults
8
+
9
+ # Mount options to use for the EFI System Partition. If not defined, the
10
+ # *mountOptions* for *vfat* are used, or if that is not set either,
11
+ # *default* from *mountOptions*.
12
+ efiMountOptions: umask=0077
13
+
14
+ # If a filesystem is on an SSD, add the following options. If a specific
15
+ # filesystem is listed here, use those options, otherwise no additional
16
+ # options are set (i.e. there is no *default* like in *mountOptions*).
17
+ #
18
+ # This example configuration applies the *discard* option to most
19
+ # common filesystems on an SSD. This may not be the right option
20
+ # for your distribution. If you use a systemd timer to trim the
21
+ # SSD, it may interfere with the *discard* option. Opinions vary
22
+ # as to whether *discard* is worth the effort -- it depends on
23
+ # the usage pattern of the disk as well.
24
+ #
25
+ # ssdExtraMountOptions:
26
+ # ext4: discard
27
+ # jfs: discard
28
+ # xfs: discard
29
+ # swap: discard
30
+ # btrfs: discard,compress=lzo
31
+ #
32
+ # The standard configuration applies asynchronous discard support and ssd optimizations to btrfs
33
+ # and does nothing for other filesystems.
34
+ ssdExtraMountOptions:
35
+ btrfs: discard=async,ssd
36
+
37
+ # Additional options added to each line in /etc/crypttab
38
+ crypttabOptions: luks
39
+ # For Debian and Debian-based distributions, change the above line to:
40
+ # crypttabOptions: luks,keyscript=/bin/cat
41
+
42
+ # Options for handling /tmp in /etc/fstab
43
+ # Currently default (required) and ssd are supported
44
+ # The corresponding string can contain the following variables:
45
+ # tmpfs: true or tmpfs: false to either mount /tmp as tmpfs or not
46
+ # options: "<mount options>"
47
+ #
48
+ # Example:
49
+ #tmpOptions:
50
+ # default:
51
+ # tmpfs: false
52
+ # options: ""
53
+ # ssd:
54
+ # tmpfs: true
55
+ # options: "defaults,noatime,mode=1777"
56
+ #
57
+ tmpOptions:
58
+ default:
59
+ tmpfs: false
60
+ options: ""
61
+ ssd:
62
+ tmpfs: true
63
+ options: "defaults,noatime,mode=1777"
@@ -0,0 +1,51 @@
1
+ # SPDX-FileCopyrightText: no
2
+ # SPDX-License-Identifier: CC0-1.0
3
+ #
4
+ # Create, overwrite or update /etc/default/grub in the target system.
5
+ #
6
+ # Write lines to /etc/default/grub (in the target system) based
7
+ # on calculated values and the values set in the *defaults* key
8
+ # in this configuration file.
9
+ #
10
+ # Calculated values are:
11
+ # - GRUB_DISTRIBUTOR, branding module, *bootloaderEntryName* (this
12
+ # string is sanitized, and see also setting *keep_distributor*)
13
+ # - GRUB_ENABLE_CRYPTODISK, based on the presence of filesystems
14
+ # that use LUKS
15
+ # - GRUB_CMDLINE_LINUX_DEFAULT, adding LUKS setup and plymouth
16
+ # support to the kernel.
17
+
18
+ ---
19
+ # If set to true, always creates /etc/default/grub from scratch even if the file
20
+ # already existed. If set to false, edits the existing file instead.
21
+ overwrite: false
22
+
23
+ # If set to true, prefer to write files in /etc/default/grub.d/
24
+ # rather than the single file /etc/default/grub. If this is set,
25
+ # Calamares will write /etc/default/grub.d/00calamares.cfg instead.
26
+ prefer_grub_d: false
27
+
28
+ # If set to true, an **existing** setting for GRUB_DISTRIBUTOR is
29
+ # kept, not updated to the *bootloaderEntryName* from the branding file.
30
+ # Use this if the GRUB_DISTRIBUTOR setting in the file is "smart" in
31
+ # some way (e.g. uses shell-command substitution).
32
+ keep_distributor: false
33
+
34
+ # The default kernel params that should always be applied.
35
+ # This is an array of strings. If it is unset, the default is
36
+ # `["quiet"]`. To avoid the default, explicitly set this key
37
+ # to an empty list, `[]`.
38
+ kernel_params: [ "quiet" ]
39
+
40
+ # Default entries to write to /etc/default/grub if it does not exist yet or if
41
+ # we are overwriting it.
42
+ #
43
+ defaults:
44
+ GRUB_TIMEOUT: 5
45
+ GRUB_DEFAULT: "saved"
46
+ GRUB_DISABLE_SUBMENU: true
47
+ GRUB_TERMINAL_OUTPUT: "console"
48
+ GRUB_DISABLE_RECOVERY: true
49
+
50
+ # Set to true to force defaults to be used even when not overwriting
51
+ always_use_defaults: false
@@ -0,0 +1,29 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
3
+ #
4
+ # NOTE: you must have ckbcomp installed and runnable
5
+ # on the live system, for keyboard layout previews.
6
+ ---
7
+ # The name of the file to write X11 keyboard settings to
8
+ # The default value is the name used by upstream systemd-localed.
9
+ # Relative paths are assumed to be relative to /etc/X11/xorg.conf.d
10
+ xOrgConfFileName: "/etc/X11/xorg.conf.d/00-keyboard.conf"
11
+
12
+ # The path to search for keymaps converted from X11 to kbd format
13
+ # Leave this empty if the setting does not make sense on your distribution.
14
+ #convertedKeymapPath: "/lib/kbd/keymaps/xkb"
15
+
16
+ # Write keymap configuration to /etc/default/keyboard, usually
17
+ # found on Debian-related systems.
18
+ # Defaults to true if nothing is set.
19
+ #writeEtcDefaultKeyboard: true
20
+
21
+ # Use the Locale1 service instead of directly managing configuration files.
22
+ # This is the modern mechanism for configuring the systemwide keyboard layout,
23
+ # and works on Wayland compositors to set the current layout.
24
+ # Defaults to false on X11 and true otherwise.
25
+ #useLocale1: true
26
+
27
+ # Guess the default layout from the user locale. If false, keeps the current
28
+ # OS keyboard layout as the default (useful if the layout is pre-configured).
29
+ guessLayout: true
@@ -0,0 +1,7 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
3
+ ---
4
+ geoip:
5
+ style: "json"
6
+ url: "https://geoip.kde.org/v1/calamares"
7
+ selector: ""
@@ -0,0 +1,10 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
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
@@ -0,0 +1,20 @@
1
+ # calamares 3.2.x
2
+ ---
3
+ extraMounts:
4
+ - device: proc
5
+ fs: proc
6
+ mountPoint: /proc
7
+ - device: sys
8
+ fs: sysfs
9
+ mountPoint: /sys
10
+ - device: /dev
11
+ mountPoint: /dev
12
+ options: bind
13
+ - device: tmpfs
14
+ fs: tmpfs
15
+ mountPoint: /run
16
+
17
+ extraMountsEfi:
18
+ - device: efivarfs
19
+ fs: efivarfs
20
+ mountPoint: /sys/firmware/efi/efivars
@@ -0,0 +1,5 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org>
3
+ # SPDX-FileCopyrightText: 2017 Jonathan Riddell <jr@jriddell.org>
4
+ ---
5
+ groupsUrl: file:///usr/share/calamares/netinstall.php
@@ -0,0 +1,5 @@
1
+ # A mustache template for module: packages.conf
2
+ ---
3
+ backend: {{{backend}}}
4
+
5
+ {{{operations}}}
@@ -0,0 +1,21 @@
1
+ efiSystemPartition: "/boot/efi"
2
+ enableLuksAutomatedPartitioning: true
3
+ luksGeneration: luks2
4
+ userSwapChoices:
5
+ - none
6
+ - file
7
+ initialSwapChoice: file
8
+ drawNestedPartitions: true
9
+ defaultFileSystemType: "ext4"
10
+ availableFileSystemTypes: ["ext4","btrfs","xfs"]
11
+ partitionLayout:
12
+ - name: "ubuntu_boot"
13
+ filesystem: ext4
14
+ noEncrypt: true
15
+ onlyPresentWithEncryption: true
16
+ mountPoint: "/boot"
17
+ size: 4G
18
+ - name: "ubuntu_root"
19
+ filesystem: unknown
20
+ mountPoint: "/"
21
+ size: 100%
@@ -0,0 +1,3 @@
1
+ # A mustache template for module: removeuser.conf
2
+ ---
3
+ username: {{{username}}}
@@ -0,0 +1,11 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
3
+ #
4
+ # This is run inside the chroot!
5
+ # Carries nomodeset into the installed system iff the live system is running
6
+ # with it.
7
+ ---
8
+ dontChroot: false
9
+ timeout: 60
10
+ script:
11
+ - "/usr/libexec/calamares/calamares-aptsources.sh"
@@ -0,0 +1,9 @@
1
+ # SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
2
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
3
+ #
4
+ ---
5
+ message: "Preparing the boot environment..."
6
+ dontChroot: true
7
+ timeout: 300
8
+ script:
9
+ - cp --preserve=timestamps __LIVE_MEDIUM_PATH__live/vmlinuz-`uname -r` ${ROOT}/boot/vmlinuz-`uname -r`
@@ -0,0 +1,15 @@
1
+ # SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
2
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
3
+ #
4
+ # Follow up to boot_deploy. This is inside chroot!
5
+ # Make sure everything is configured properly by reconfiguring the package.
6
+ ---
7
+ message: "Final reconfiguration of the kernel and bootloader..."
8
+ dontChroot: false
9
+ timeout: 300
10
+ script:
11
+ - chmod 644 /boot/vmlinuz-`uname -r`
12
+ - chown 0:0 /boot/vmlinuz-`uname -r`
13
+ # Reconfigure to ensure hooks are run as necessary. But disable initrd
14
+ # updating, it happens in initramfs module controlled by cala.
15
+ - INITRD=No dpkg-reconfigure -fnoninteractive linux-image-`uname -r`
@@ -0,0 +1,8 @@
1
+ # SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
2
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
3
+ ---
4
+ message: "installation of translation packages..."
5
+ dontChroot: false
6
+ timeout: 1800
7
+ script:
8
+ - "/usr/libexec/calamares/calamares-l10n-helper.sh"
@@ -0,0 +1,8 @@
1
+ # SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
2
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
3
+ ---
4
+ message: "Logs.."
5
+ dontChroot: true
6
+ timeout: 30
7
+ script:
8
+ - "/usr/libexec/calamares/calamares-logs-helper.sh ${ROOT}"
@@ -0,0 +1,6 @@
1
+ # shellprocess_mkinitramfs.conf
2
+ message: "Creating the boot image (initramfs)..."
3
+ dontChroot: false
4
+ timeout: 300
5
+ script:
6
+ - "mkinitramfs -o /boot/initrd.img-$(uname -r)"
@@ -0,0 +1,12 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
3
+ #
4
+ # This is run inside the chroot!
5
+ # Carries nomodeset into the installed system iff the live system is running
6
+ # with it.
7
+ ---
8
+ message: "nomodeset"
9
+ dontChroot: false
10
+ timeout: 60
11
+ script:
12
+ - "/usr/libexec/calamares/calamares-nomodeset.sh"
@@ -0,0 +1,4 @@
1
+ ---
2
+ # Setting emergency to true will make it so this module is still run
3
+ # when a prior module fails
4
+ emergency: true
@@ -0,0 +1,6 @@
1
+ # A mustache template for module: unpackfs.conf
2
+ ---
3
+ unpack:
4
+ - source: {{{source}}}
5
+ sourcefs: "squashfs"
6
+ destination: ""
@@ -0,0 +1,27 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2018-2020 Harald Sitter <sitter@kde.org>
3
+ # SPDX-FileCopyrightText: 2015-2016 Rohan Garg <rohan@kde.org>
4
+ ---
5
+ doAutologin: true
6
+ setRootPassword: false
7
+ sudoersGroup: sudo
8
+ defaultGroups:
9
+ - name: adm
10
+ must_exist: true
11
+ - name: cdrom
12
+ must_exist: true
13
+ - name: dip
14
+ must_exist: true
15
+ #- name: lpadmin
16
+ # must_exist: true
17
+ - name: plugdev
18
+ must_exist: true
19
+ - name: sambashare
20
+ system: true
21
+ - name: sudo
22
+ must_exist: true
23
+ # Explicitly set the shell instead of defering to calamares. We have a platform
24
+ # expectation derived from ubuntu here.
25
+ userShell: /bin/bash
26
+ passwordRequirements:
27
+ nonempty: true
@@ -0,0 +1,24 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org>
3
+ # SPDX-FileCopyrightText: 2017 Jonathan Riddell <jr@jriddell.org>
4
+ # SPDX-FileCopyrightText: 2015-2016 Rohan Garg <rohan@kde.org>
5
+ ---
6
+ showSupportUrl: true
7
+ showKnownIssuesUrl: true
8
+ showReleaseNotesUrl: true
9
+
10
+ requirements:
11
+ # HTTP GET this URL to determine if internet access available
12
+ internetCheckUrl: http://networkcheck.kde.org
13
+ requiredStorage: 8.0
14
+ requiredRam: 1.0
15
+ check:
16
+ - storage
17
+ - ram
18
+ - power
19
+ - internet
20
+ - root
21
+ required:
22
+ - root
23
+ - storage
24
+ - ram
@@ -0,0 +1,97 @@
1
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2
+ # SPDX-FileCopyrightText: 2018-2021 Harald Sitter <sitter@kde.org>
3
+ # SPDX-FileCopyrightText: 2017 Jonathan Riddell <jr@jriddell.org>
4
+ # SPDX-FileCopyrightText: 2016 Rohan Garg <rohan@kde.org>
5
+ ---
6
+ modules-search: [ local, /usr/share/calamares/modules ]
7
+
8
+ instances:
9
+ - id: mkinitramfs
10
+ module: shellprocess
11
+ config: shellprocess@mkinitramfs.conf
12
+
13
+ - id: install_translations
14
+ module: shellprocess
15
+ config: shellprocess@install_translations.conf
16
+
17
+ - id: before_bootloader
18
+ module: contextualprocess
19
+ config: before_bootloader_context.conf
20
+
21
+ - id: after_bootloader
22
+ module: contextualprocess
23
+ config: after_bootloader_context.conf
24
+
25
+ - id: logs
26
+ module: shellprocess
27
+ config: shellprocess@logs.conf
28
+
29
+ - id: boot_deploy
30
+ module: shellprocess
31
+ config: shellprocess@boot_deploy.conf
32
+
33
+ - id: boot_reconfigure
34
+ module: shellprocess
35
+ config: shellprocess@boot_reconfigure.conf
36
+ # NB: nomodeset is not forwared for OEM mode. An OEM shouldn't use this
37
+ # kind of hack for OEM installations!
38
+
39
+ - id: nomodeset
40
+ module: shellprocess
41
+ config: shellprocess@nomodeset.conf
42
+
43
+ - id: aptsources
44
+ module: shellprocess
45
+ config: shellprocess@aptsources.conf
46
+
47
+ sequence:
48
+
49
+ - show:
50
+ - welcome
51
+ - locale
52
+ - keyboard
53
+ - partition
54
+ - users # OPTIONAL
55
+
56
+ - exec:
57
+ - partition
58
+ - mount
59
+ - unpackfs
60
+ - machineid
61
+ - fstab
62
+ - locale
63
+ - keyboard
64
+ - localecfg
65
+ - luksbootkeyfile
66
+ - users # OPTIONAL
67
+ - displaymanager
68
+ - networkcfg
69
+ - hwclock
70
+ - shellprocess@boot_deploy
71
+ - initramfscfg
72
+ - grubcfg
73
+ - contextualprocess@before_bootloader
74
+ - bootloader
75
+ - contextualprocess@after_bootloader
76
+ - shellprocess@mkinitramfs
77
+ # initramfs
78
+ - shellprocess@boot_reconfigure
79
+ - shellprocess@nomodeset
80
+ - shellprocess@aptsources
81
+ - shellprocess@install_translations
82
+ - packages
83
+ - cleanup
84
+ - shellprocess@logs
85
+ - umount
86
+
87
+ - show:
88
+ - finished
89
+
90
+ branding: default
91
+ prompt-install: false
92
+ dont-chroot: false
93
+ oem-setup: false
94
+ disable-cancel: false
95
+ disable-cancel-during-exec: false
96
+ hide-back-and-next-during-exec: false
97
+ quit-at-end: false