penguins-eggs 25.11.12 → 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 (153) hide show
  1. package/.oclif.manifest.json +149 -140
  2. package/README.md +726 -1
  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/buster/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
  16. package/conf/distros/buster/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -0
  17. package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
  18. package/conf/distros/fedora/calamares/calamares-modules/bootloaderspecification/bootloaderspecification.sh +0 -0
  19. package/conf/distros/focal/calamares/calamares-modules/.keepit +0 -0
  20. package/conf/distros/focal/calamares/calamares-modules/cleanup/cleanup.sh +20 -0
  21. package/conf/distros/focal/calamares/calamares-modules/cleanup/module.yml +9 -0
  22. package/conf/distros/focal/calamares/calamares-modules/sources-yolk/module.yml +8 -0
  23. package/conf/distros/focal/calamares/calamares-modules/sources-yolk/sources-yolk.sh +50 -0
  24. package/conf/distros/focal/calamares/calamares-modules/sources-yolk-undo/module.yml +8 -0
  25. package/conf/distros/focal/calamares/libexec/.keepit +0 -0
  26. package/conf/distros/focal/calamares/libexec/README.md +5 -0
  27. package/conf/distros/focal/calamares/libexec/calamares-aptsources.sh +15 -0
  28. package/conf/distros/focal/calamares/libexec/calamares-l10n-helper.sh +38 -0
  29. package/conf/distros/focal/calamares/libexec/calamares-logs-helper.sh +34 -0
  30. package/conf/distros/focal/calamares/libexec/calamares-nomodeset.sh +19 -0
  31. package/conf/distros/focal/calamares/modules/after_bootloader_context.yml +26 -0
  32. package/conf/distros/focal/calamares/modules/before_bootloader_context.yml +12 -0
  33. package/conf/distros/focal/calamares/modules/bootloader.yml +86 -0
  34. package/conf/distros/focal/calamares/modules/bootloader.yml.old +35 -0
  35. package/conf/distros/focal/calamares/modules/displaymanager.yml +12 -0
  36. package/conf/distros/focal/calamares/modules/finished.yml +6 -0
  37. package/conf/distros/focal/calamares/modules/fstab.yml +63 -0
  38. package/conf/distros/focal/calamares/modules/grubcfg.yml +51 -0
  39. package/conf/distros/focal/calamares/modules/keyboard.yml +29 -0
  40. package/conf/distros/focal/calamares/modules/locale.yml +7 -0
  41. package/conf/distros/focal/calamares/modules/machineid.yml +10 -0
  42. package/conf/distros/focal/calamares/modules/mount.yml +20 -0
  43. package/conf/distros/focal/calamares/modules/netinstall.yml +5 -0
  44. package/conf/distros/focal/calamares/modules/packages.mustache +5 -0
  45. package/conf/distros/focal/calamares/modules/partition.yml +21 -0
  46. package/conf/distros/focal/calamares/modules/removeuser.mustache +3 -0
  47. package/conf/distros/focal/calamares/modules/shellprocess@aptsources.yml +11 -0
  48. package/conf/distros/focal/calamares/modules/shellprocess@boot_deploy.yml +9 -0
  49. package/conf/distros/focal/calamares/modules/shellprocess@boot_reconfigure.yml +15 -0
  50. package/conf/distros/focal/calamares/modules/shellprocess@install_translations.yml +8 -0
  51. package/conf/distros/focal/calamares/modules/shellprocess@logs.yml +8 -0
  52. package/conf/distros/focal/calamares/modules/shellprocess@mkinitramfs.yml +6 -0
  53. package/conf/distros/focal/calamares/modules/shellprocess@nomodeset.yml +12 -0
  54. package/conf/distros/focal/calamares/modules/umount.yml +4 -0
  55. package/conf/distros/focal/calamares/modules/unpackfs.mustache +6 -0
  56. package/conf/distros/focal/calamares/modules/users.yml +27 -0
  57. package/conf/distros/focal/calamares/modules/welcome.yml +24 -0
  58. package/conf/distros/focal/calamares/settings.yml +97 -0
  59. package/conf/distros/noble/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
  60. package/conf/distros/noble/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
  61. package/conf/distros/noble/calamares/libexec/calamares-aptsources.sh +0 -0
  62. package/conf/distros/noble/calamares/libexec/calamares-l10n-helper.sh +0 -0
  63. package/conf/distros/noble/calamares/libexec/calamares-logs-helper.sh +0 -0
  64. package/conf/distros/noble/calamares/libexec/calamares-nomodeset.sh +0 -0
  65. package/conf/distros/opensuse/calamares/calamares-modules/bootloaderspecification/bootloaderspecification.sh +0 -0
  66. package/conf/distros/opensuse/calamares/settings.yml +0 -0
  67. package/conf/distros/opensuse/calamares/zstd2lzo.sh +0 -0
  68. package/conf/distros/trixie/calamares/calamares-modules/cleanup/cleanup.sh +0 -0
  69. package/conf/distros/trixie/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +0 -0
  70. package/conf/distros/trixie/calamares/calamares-modules/sources-yolk/sources-yolk.sh +0 -0
  71. package/conf/init/unattended.sh +0 -0
  72. package/dist/appimage/first-run-check.d.ts +8 -0
  73. package/dist/appimage/first-run-check.js +13 -0
  74. package/dist/appimage/prerequisites.d.ts +34 -0
  75. package/dist/appimage/prerequisites.js +350 -0
  76. package/dist/bin/dev.cmd +3 -0
  77. package/dist/bin/dev.js +6 -0
  78. package/dist/bin/run.cmd +3 -0
  79. package/dist/bin/run.js +5 -0
  80. package/dist/classes/cli-autologin.js +4 -4
  81. package/dist/classes/diversions.d.ts +5 -0
  82. package/dist/classes/diversions.js +23 -7
  83. package/dist/classes/pacman.js +10 -11
  84. package/dist/classes/utils.d.ts +4 -0
  85. package/dist/classes/utils.js +19 -3
  86. package/dist/commands/calamares.js +1 -1
  87. package/dist/commands/config.js +2 -2
  88. package/dist/commands/{analyze.d.ts → export/appimage.d.ts} +10 -9
  89. package/dist/commands/export/appimage.js +76 -0
  90. package/dist/commands/export/iso.js +1 -1
  91. package/dist/commands/export/pkg.d.ts +1 -1
  92. package/dist/commands/export/pkg.js +2 -2
  93. package/dist/commands/{install.d.ts → krill.d.ts} +3 -4
  94. package/dist/commands/{install.js → krill.js} +5 -6
  95. package/dist/commands/produce.js +1 -1
  96. package/dist/commands/setup.d.ts +21 -0
  97. package/dist/commands/setup.js +90 -0
  98. package/dist/commands/tools/repo.d.ts +0 -5
  99. package/dist/commands/tools/repo.js +205 -127
  100. package/dist/commands/update.d.ts +1 -1
  101. package/dist/commands/update.js +68 -59
  102. package/dist/krill/components/information.js +2 -2
  103. package/dist/krill/components/title.js +13 -13
  104. package/dist/lib/utils.d.ts +16 -0
  105. package/dist/lib/utils.js +24 -32
  106. package/dracut/create-symlink +0 -0
  107. package/dracut/export +0 -0
  108. package/dracut/export-dracut-analysis +0 -0
  109. package/dracut/export-dracut-log +0 -0
  110. package/dracut/mkisofs +0 -0
  111. package/dracut/modules.d/00debug-shell/debug-hook.sh +0 -0
  112. package/dracut/modules.d/00debug-shell/module-setup.sh +0 -0
  113. package/dracut/modules.d/90block/block-cmdline.sh +0 -0
  114. package/dracut/modules.d/90block/module-setup.sh +0 -0
  115. package/dracut/modules.d/95iso-scan/iso-scan-fallback.sh +0 -0
  116. package/dracut/modules.d/95iso-scan/iso-scan.sh +0 -0
  117. package/dracut/modules.d/95iso-scan/module-setup.sh +0 -0
  118. package/dracut/modules.d/95luks-loop/luks-loop.sh +0 -0
  119. package/dracut/modules.d/95luks-loop/module-setup.sh +0 -0
  120. package/dracut/renew-initramfs +0 -0
  121. package/dracut/sbin2bin +0 -0
  122. package/dracut/update-dracut-conf-d +0 -0
  123. package/dracut/update-dracut-modules +0 -0
  124. package/eui/eui-autostart-cinnamon.desktop +0 -0
  125. package/eui/eui-autostart-xfce.desktop +0 -0
  126. package/eui/eui-create-image.sh +0 -0
  127. package/eui/eui-start.sh +0 -0
  128. package/manpages/doc/man/eggs.1.gz +0 -0
  129. package/manpages/doc/man/eggs.html +582 -9
  130. package/package.json +125 -130
  131. package/perrisbrewery/scripts/postinst +0 -0
  132. package/perrisbrewery/scripts/postrm +0 -0
  133. package/perrisbrewery/scripts/preinst +0 -0
  134. package/perrisbrewery/scripts/prerm +0 -0
  135. package/perrisbrewery/template/dependencies.yaml +0 -5
  136. package/perrisbrewery/template/man.template.md +7 -0
  137. package/scripts/99clean +0 -0
  138. package/scripts/_eggs +28 -47
  139. package/scripts/adapt.sh +0 -0
  140. package/scripts/appimage-build.sh +152 -0
  141. package/scripts/appimage-install.sh +43 -0
  142. package/scripts/bros/waydroid-helper.sh +0 -0
  143. package/scripts/eggs.bash +3 -4
  144. package/scripts/lsb_release +0 -0
  145. package/scripts/mom.sh +0 -0
  146. package/scripts/pve-live.service +0 -0
  147. package/scripts/pve-live.sh +0 -0
  148. package/scripts/resy +0 -0
  149. package/dist/commands/analyze.js +0 -95
  150. package/dist/commands/pods.d.ts +0 -22
  151. package/dist/commands/pods.js +0 -92
  152. package/scripts/boot-encrypted-root.sh +0 -220
  153. package/scripts/mount-encrypted-home.sh +0 -324
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/bin/dev.js CHANGED
File without changes
@@ -0,0 +1,20 @@
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
+ # remove calamares link desktop
13
+ rm -f $CHROOT/usr/share/applications/install-system.desktop
14
+
15
+ # remove CLI autologin if exists
16
+ rm -f $CHROOT/etc/systemd/system/getty@.service.d/override.conf
17
+
18
+ # remove 10-installer if exists
19
+ rm -f $CHROOT/etc/sudoers.d/10-installer
20
+
@@ -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,8 @@
1
+ # Debian Buster
2
+ # sources-yolk
3
+ ---
4
+ type: "job"
5
+ name: "sources-yolk"
6
+ interface: "process"
7
+ command: "/usr/sbin/sources-yolk.sh"
8
+ timeout: 600
@@ -0,0 +1,50 @@
1
+ #!/bin/sh
2
+
3
+ #
4
+ # We use just yolk during installation
5
+ #
6
+ # sources-yolk.sh
7
+ # add yolk
8
+ #
9
+ # sources-yolk.sh -u
10
+ # remove yolk
11
+
12
+ #
13
+ #
14
+ #
15
+ main() {
16
+ if [ "$1" = "-u" ]; then
17
+ remove
18
+ else
19
+ add
20
+ fi
21
+ sync
22
+ exit 0
23
+ }
24
+
25
+
26
+ #
27
+ #
28
+ #
29
+ remove() {
30
+ if [ -f "$YOLK_LIST" ]; then
31
+ rm -f "$YOLK_LIST"
32
+ fi
33
+ }
34
+
35
+ #
36
+ #
37
+ #
38
+ add() {
39
+ echo "deb [trusted=yes] file:/var/local/yolk ./" > "$YOLK_LIST"
40
+ chroot "$CHROOT" apt-get --yes update
41
+ }
42
+
43
+ #
44
+ # WE START HERE
45
+ #
46
+ CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
47
+ YOLK_LIST="$CHROOT/etc/apt/sources.list.d/yolk.list"
48
+
49
+ main "$1"
50
+
@@ -0,0 +1,8 @@
1
+ # Debian Buster
2
+ # sources-yolk-undo
3
+ ---
4
+ type: "job"
5
+ name: "sources-yolk-undo"
6
+ interface: "process"
7
+ command: "/usr/sbin/sources-yolk.sh -u"
8
+ timeout: 600
File without changes
@@ -0,0 +1,5 @@
1
+ # penguins-eggs
2
+
3
+ Contains scripts for calamares, which are copied to `/usr/libexec/calamares`.
4
+
5
+ The creation of `/usr/libexec/calamares` and its population should be done by `eggs calamares --install`, while `eggs calamares --remove` should ensure its removal.
@@ -0,0 +1,15 @@
1
+ #!/bin/sh
2
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
3
+ # SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
4
+
5
+ # Carry nomodeset into chroot
6
+
7
+ set -ex
8
+
9
+ echo "Reinstalling ubuntu-keyring"
10
+
11
+ ls /etc/apt/sources.list.d/
12
+
13
+ apt-get install --reinstall ubuntu-keyring
14
+
15
+ ls /etc/apt/sources.list.d/
@@ -0,0 +1,38 @@
1
+ #!/bin/sh
2
+ # SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
3
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
4
+
5
+ # apt install language-selector-common
6
+
7
+ # calamares currently has subpar l10n capabilites.
8
+ # this helper is ment to aid in getting very primitive language support
9
+ # of the ground by using a helper from ubuntu's language-selector-common
10
+ # to retrieve a list of packages required for the chosen system language
11
+ # and then manually installig it.
12
+ # https://github.com/calamares/calamares/issues/924
13
+
14
+ set -ex
15
+
16
+ . /etc/default/locale
17
+
18
+ echo $LANG
19
+ echo $LC_TIME
20
+ without_ext=$(echo $LANG | cut -d. -f1)
21
+
22
+ # Calamares technically should mangle locale.gen, but it's broken
23
+ # https://github.com/calamares/calamares/issues/940
24
+ # To unbreak this call locale-gen manually with LC_TIME. This may be the same
25
+ # as LANG, which gets set up by lang-pack-en-base
26
+ # (installed by check-language-support).
27
+ # But since the pack may be any language and network might not be available
28
+ # we set up both the LANG and LC_TIME so that both are definitely set up
29
+ # regardless of network availablity or calamares bugs.
30
+ # NB: this is a special way of calling it unique to Ubuntu which will mangle
31
+ # the config and enable it in one go
32
+ /usr/sbin/locale-gen --keep-existing "$LANG"
33
+ /usr/sbin/locale-gen --keep-existing "$LC_TIME"
34
+
35
+ apt-get update || true
36
+ # apt-get install language-selector-common || true
37
+ missing=$(check-language-support --language="$without_ext")
38
+ apt-get install -y $missing || true
@@ -0,0 +1,34 @@
1
+ #!/bin/sh
2
+ # SPDX-FileCopyrightText: 2018-2019 Harald Sitter <sitter@kde.org>
3
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
4
+
5
+ set -ex
6
+
7
+ # may fail
8
+ root=$1
9
+ install_dir=$root/var/log/installer
10
+ log_path=".cache/calamares/session.log"
11
+ [ -d $install_dir ] || mkdir -p $install_dir
12
+
13
+ if [ -e $HOME/$log_path ]; then
14
+ cp $HOME/$log_path $install_dir/debug
15
+ elif [ -e /root/$log_path ] ; then
16
+ cp /root/$log_path $install_dir/debug
17
+ else
18
+ echo "WARNING: Cannot find calamares/session.log"
19
+ fi
20
+
21
+ cp __LIVE_MEDIUM_PATH__.disk/info $install_dir/media-info
22
+ #cp /var/log/casper.log $install_dir/casper.log
23
+ cp /var/log/syslog $install_dir/syslog
24
+
25
+ gzip --stdout $root/var/lib/dpkg/status > $install_dir/initial-status.gz
26
+
27
+ # OEM id isn't a thing, when in OEM mode ubiquity would also archive that.
28
+ # https://github.com/calamares/calamares/issues/943
29
+
30
+ chmod -v 600 $install_dir/*
31
+ # Make these world readable, they can absolutely not contain anything relevant
32
+ # to security.
33
+ chmod -v 644 $install_dir/initial-status.gz
34
+ chmod -v 644 $install_dir/media-info
@@ -0,0 +1,19 @@
1
+ #!/bin/sh
2
+ # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
3
+ # SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
4
+
5
+ # Carry nomodeset into chroot
6
+
7
+ set -ex
8
+
9
+ if ! grep -q nomodeset /proc/cmdline; then
10
+ exit 0
11
+ fi
12
+
13
+ echo "Forwarding nomodeset to installed system"
14
+
15
+ cat > /etc/default/grub.d/ubuntu-installation-nomodeset.cfg << 'EOF'
16
+ GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} nomodeset"
17
+ EOF
18
+
19
+ update-grub
@@ -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}}}