First Commit
This commit is contained in:
39
calamares/branding/rakuos/branding.desc
Normal file
39
calamares/branding/rakuos/branding.desc
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
componentName: rakuos
|
||||
welcomeStyleCalamares: true
|
||||
welcomeExpandingLogo: true
|
||||
windowExpanding: normal
|
||||
windowSize: 800px,580px
|
||||
windowPlacement: center
|
||||
|
||||
strings:
|
||||
productName: RakuOS GNU/Linux
|
||||
shortProductName: RakuOS
|
||||
version: rolling
|
||||
shortVersion: rolling
|
||||
versionedName: RakuOS rolling
|
||||
shortVersionedName: RakuOS rolling
|
||||
bootloaderEntryName: RakuOS
|
||||
productUrl: https://rakuos.org
|
||||
supportUrl: https://rakuos.org/support
|
||||
knownIssuesUrl: https://bugs.rakuos.org
|
||||
releaseNotesUrl: https://rakuos.org/latest/releasenotes
|
||||
donateUrl: https://rakuos.org
|
||||
|
||||
sidebar: widget
|
||||
navigation: widget
|
||||
|
||||
images:
|
||||
productLogo: "rakuos-logo.png"
|
||||
productIcon: "rakuos-logo.png"
|
||||
productWelcome: "welcome.png"
|
||||
|
||||
slideshow: "show.qml"
|
||||
|
||||
style:
|
||||
SidebarBackground: "#1f62b4"
|
||||
SidebarText: "#FFFFFF"
|
||||
SidebarTextCurrent: "#fbfbfb"
|
||||
SidebarBackgroundCurrent: "#265370"
|
||||
|
||||
slideshowAPI: 2
|
||||
BIN
calamares/branding/rakuos/rakuos-logo.png
Normal file
BIN
calamares/branding/rakuos/rakuos-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
51
calamares/branding/rakuos/show.qml
Normal file
51
calamares/branding/rakuos/show.qml
Normal file
@@ -0,0 +1,51 @@
|
||||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2015, Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2018-2019, Jonathan Carter <jcc@debian.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, or (at your option) any later version.
|
||||
*
|
||||
* Calamares is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import QtQuick 2.0;
|
||||
import calamares.slideshow 1.0;
|
||||
|
||||
Presentation
|
||||
{
|
||||
id: presentation
|
||||
|
||||
Timer {
|
||||
interval: 20000
|
||||
repeat: true
|
||||
onTriggered: presentation.goToNextSlide()
|
||||
}
|
||||
|
||||
Slide {
|
||||
Image {
|
||||
id: background1
|
||||
source: "slide1.png"
|
||||
width: 467; height: 280
|
||||
fillMode: Image.PreserveAspectFit
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
Text {
|
||||
anchors.horizontalCenter: background1.horizontalCenter
|
||||
anchors.top: background1.bottom
|
||||
text: qsTr("Welcome to RakuOS GNU/Linux.<br/>"+
|
||||
"The rest of the installation is automated and should complete in a few minutes.")
|
||||
wrapMode: Text.WordWrap
|
||||
width: 600
|
||||
horizontalAlignment: Text.Center
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
BIN
calamares/branding/rakuos/slide1.png
Normal file
BIN
calamares/branding/rakuos/slide1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
BIN
calamares/branding/rakuos/welcome.png
Normal file
BIN
calamares/branding/rakuos/welcome.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
54
calamares/modules/bootloader.conf
Normal file
54
calamares/modules/bootloader.conf
Normal file
@@ -0,0 +1,54 @@
|
||||
# Bootloader configuration. The bootloader is installed to allow
|
||||
# the system to start (and pick one of the installed operating
|
||||
# systems to run).
|
||||
---
|
||||
# Define which bootloader you want to use for EFI installations
|
||||
# Possible options are 'grub', 'sb-shim' and 'systemd-boot'.
|
||||
efiBootLoader: "grub"
|
||||
|
||||
# systemd-boot configuration files settings, set kernel and initramfs file names
|
||||
# and amount of time before default selection boots
|
||||
kernel: "/vmlinuz-linux"
|
||||
img: "/initramfs-linux.img"
|
||||
fallback: "/initramfs-linux-fallback.img"
|
||||
timeout: "10"
|
||||
|
||||
# Optionally set the menu entry name and kernel name to use in systemd-boot.
|
||||
# If not specified here, these settings will be taken from branding.desc.
|
||||
#
|
||||
# bootloaderEntryName: "Generic GNU/Linux"
|
||||
# kernelLine: ", with Stable-Kernel"
|
||||
# fallbackKernelLine: ", with Stable-Kernel (fallback initramfs)"
|
||||
|
||||
# GRUB 2 binary names and boot directory
|
||||
# Some distributions (e.g. Fedora) use grub2-* (resp. /boot/grub2/) names.
|
||||
# These names are also used when using sb-shim, since that needs some
|
||||
# GRUB functionality (notably grub-probe) to work. As needed, you may use
|
||||
# complete paths like `/usr/bin/efibootmgr` for the executables.
|
||||
#
|
||||
grubInstall: "grub-install"
|
||||
grubMkconfig: "grub-mkconfig"
|
||||
grubCfg: "/boot/grub/grub.cfg"
|
||||
grubProbe: "grub-probe"
|
||||
efiBootMgr: "efibootmgr"
|
||||
|
||||
# Optionally set the bootloader ID to use for EFI. This is passed to
|
||||
# grub-install --bootloader-id.
|
||||
#
|
||||
# If not set here, the value from bootloaderEntryName from branding.desc
|
||||
# is used, with problematic characters (space and slash) replaced.
|
||||
#
|
||||
# The ID is also used as a directory name within the EFI environment,
|
||||
# and the bootloader is copied from /boot/efi/EFI/<dirname>/ . When
|
||||
# setting the option here, keep in mind that the name is sanitized
|
||||
# (problematic characters, see above, are replaced).
|
||||
#
|
||||
# efiBootloaderId: "dirname"
|
||||
|
||||
# Optionally install a copy of the GRUB EFI bootloader as the EFI
|
||||
# fallback loader (either bootia32.efi or bootx64.efi depending on
|
||||
# the system). This may be needed on certain systems (Intel DH87MC
|
||||
# seems to be the only one). If you set this to false, take care
|
||||
# to add another module to optionally install the fallback on those
|
||||
# boards that need it.
|
||||
installEFIFallback: false
|
||||
28
calamares/modules/displaymanager.conf
Normal file
28
calamares/modules/displaymanager.conf
Normal file
@@ -0,0 +1,28 @@
|
||||
# Configure one or more display managers (e.g. SDDM)
|
||||
# with a "best effort" approach.
|
||||
---
|
||||
#The DM module attempts to set up all the DMs found in this list, in that precise order.
|
||||
#It also sets up autologin, if the feature is enabled in globalstorage.
|
||||
#The displaymanagers list can also be set in globalstorage, and in that case it overrides anything set up here.
|
||||
displaymanagers:
|
||||
- slim
|
||||
- sddm
|
||||
- lightdm
|
||||
- gdm
|
||||
- mdm
|
||||
- lxdm
|
||||
- kdm
|
||||
|
||||
#Enable the following settings to force a desktop environment in your displaymanager configuration file:
|
||||
#defaultDesktopEnvironment:
|
||||
# executable: "startkde"
|
||||
# desktopFile: "plasma"
|
||||
|
||||
#If true, try to ensure that the user, group, /var directory etc. for the
|
||||
#display manager are set up correctly. This is normally done by the distribution
|
||||
#packages, and best left to them. Therefore, it is disabled by default.
|
||||
basicSetup: false
|
||||
|
||||
#If true, setup autologin for openSUSE. This only makes sense on openSUSE
|
||||
#derivatives or other systems where /etc/sysconfig/displaymanager exists.
|
||||
sysconfigSetup: false
|
||||
4
calamares/modules/finished.conf
Normal file
4
calamares/modules/finished.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
restartNowEnabled: true
|
||||
restartNowChecked: true
|
||||
restartNowCommand: "systemctl -i reboot"
|
||||
12
calamares/modules/fstab.conf
Normal file
12
calamares/modules/fstab.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
mountOptions:
|
||||
default: defaults,noatime
|
||||
btrfs: defaults,realtime,space_cache=v2,autodefrag,compress=zstd:3
|
||||
|
||||
ssdExtraMountOptions:
|
||||
ext4: discard
|
||||
jfs: discard
|
||||
xfs: discard
|
||||
swap: discard
|
||||
btrfs: discard,compress=lzo
|
||||
crypttabOptions: luks,discard,keyscript=/bin/cat
|
||||
4
calamares/modules/luksopenswaphookcfg.conf
Normal file
4
calamares/modules/luksopenswaphookcfg.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
# Writes an openswap configuration with LUKS settings to the given path
|
||||
---
|
||||
# Path of the configuration file to write (in the target system)
|
||||
configFilePath: /etc/openswap.conf
|
||||
15
calamares/modules/machineid.conf
Normal file
15
calamares/modules/machineid.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
# Whether to create /etc/machine-id for systemd.
|
||||
systemd: true
|
||||
# Whether to create /var/lib/dbus/machine-id for D-Bus.
|
||||
dbus: true
|
||||
# Whether /var/lib/dbus/machine-id should be a symlink to /etc/machine-id
|
||||
# (ignored if dbus is false, or if there is no /etc/machine-id to point to).
|
||||
symlink: true
|
||||
# Whether to copy entropy from the host
|
||||
entropy-copy: true
|
||||
# Which files to write (paths in the target)
|
||||
entropy-files:
|
||||
- /var/lib/urandom/random-seed
|
||||
- /var/lib/systemd/random-seed
|
||||
|
||||
56
calamares/modules/mount.conf
Normal file
56
calamares/modules/mount.conf
Normal file
@@ -0,0 +1,56 @@
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Mount filesystems in the target (generally, before treating the
|
||||
# target as a usable chroot / "live" system). Filesystems are
|
||||
# automatically mounted from the partitioning module. Filesystems
|
||||
# listed here are **extra**. The filesystems listed in *extraMounts*
|
||||
# are mounted in all target systems.
|
||||
---
|
||||
# Extra filesystems to mount. The key's value is a list of entries; each
|
||||
# entry has five keys:
|
||||
# - device The device node to mount
|
||||
# - fs (optional) The filesystem type to use
|
||||
# - mountPoint Where to mount the filesystem
|
||||
# - options (optional) An array of options to pass to mount
|
||||
# - efi (optional) A boolean that when true is only mounted for UEFI installs
|
||||
#
|
||||
# The device is not mounted if the mountPoint is unset or if the fs is
|
||||
# set to unformatted.
|
||||
#
|
||||
extraMounts:
|
||||
- device: proc
|
||||
fs: proc
|
||||
mountPoint: /proc
|
||||
- device: sys
|
||||
fs: sysfs
|
||||
mountPoint: /sys
|
||||
- device: /dev
|
||||
mountPoint: /dev
|
||||
options: [ bind ]
|
||||
- device: tmpfs
|
||||
fs: tmpfs
|
||||
mountPoint: /run
|
||||
- device: /run/udev
|
||||
mountPoint: /run/udev
|
||||
options: [ bind ]
|
||||
- device: efivarfs
|
||||
fs: efivarfs
|
||||
mountPoint: /sys/firmware/efi/efivars
|
||||
efi: true
|
||||
- device: /dev/pts
|
||||
mountPoint: /dev/pts
|
||||
options: [ bind ]
|
||||
# /dev/pts is required by apt for storing the logs
|
||||
|
||||
btrfsSubvolumes:
|
||||
- mountPoint: /
|
||||
subvolume: /@
|
||||
- mountPoint: /home
|
||||
subvolume: /@home
|
||||
- mountPoint: /root
|
||||
subvolume: /@root
|
||||
- mountPoint: /var
|
||||
subvolume: /@var
|
||||
- mountPoint: /var/log
|
||||
subvolume: /@log
|
||||
15
calamares/modules/packages.conf
Normal file
15
calamares/modules/packages.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
backend: apt
|
||||
|
||||
operations:
|
||||
- remove:
|
||||
- 'live-boot'
|
||||
- 'live-boot-doc'
|
||||
- 'live-config'
|
||||
- 'live-config-doc'
|
||||
- 'live-config-systemd'
|
||||
- 'live-config-systemd'
|
||||
- 'live-tools'
|
||||
- 'live-task-localisation'
|
||||
- 'live-task-recommended'
|
||||
- 'calamares-settings-rakuos'
|
||||
- 'calamares'
|
||||
385
calamares/modules/partition.conf
Normal file
385
calamares/modules/partition.conf
Normal file
@@ -0,0 +1,385 @@
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
|
||||
# Options for EFI system partition.
|
||||
#
|
||||
# - *mountPoint*
|
||||
# This setting specifies the mount point of the EFI system partition. Some
|
||||
# distributions (Fedora, Debian, Manjaro, etc.) use /boot/efi, others (KaOS,
|
||||
# etc.) use just /boot.
|
||||
#
|
||||
# Defaults to "/boot/efi", may be empty (but weird effects ensue)
|
||||
# - *recommendedSize*
|
||||
# This optional setting specifies the size of the EFI system partition.
|
||||
# If nothing is specified, the default size of 300MiB will be used.
|
||||
# When writing quantities here, M is treated as MiB, and if you really
|
||||
# want one-million (10^6) bytes, use MB.
|
||||
# - *minimumSize*
|
||||
# This optional setting specifies the absolute minimum size of the EFI
|
||||
# system partition. If nothing is specified, the *recommendedSize*
|
||||
# is used instead.
|
||||
# - *label*
|
||||
# This optional setting specifies the name of the EFI system partition (see
|
||||
# PARTLABEL; gpt only; requires KPMCore >= 4.2.0).
|
||||
# If nothing is specified, the partition name is left unset.
|
||||
#
|
||||
# Going below the *recommended* size is allowed, but the user will
|
||||
# get a warning that it might not work. Going below the *minimum*
|
||||
# size is not allowed and the user will be told it will not work.
|
||||
#
|
||||
# Both quantities must be at least 32MiB, this is enforced by the EFI
|
||||
# spec. If minimum is not specified, it defaults to the recommended
|
||||
# size. Distro's that allow more user latitude can set the minimum lower.
|
||||
efi:
|
||||
mountPoint: "/boot/efi"
|
||||
recommendedSize: 300MiB
|
||||
minimumSize: 32MiB
|
||||
label: "EFI"
|
||||
|
||||
# Deprecated alias of efi.mountPoint
|
||||
# efiSystemPartition: "/boot/efi"
|
||||
|
||||
# Deprecated alias of efi.recommendedSize
|
||||
# efiSystemPartitionSize: 300MiB
|
||||
|
||||
# Deprecated alias of efi.label
|
||||
# efiSystemPartitionName: EFI
|
||||
|
||||
# In autogenerated partitioning, allow the user to select a swap size?
|
||||
# If there is exactly one choice, no UI is presented, and the user
|
||||
# cannot make a choice -- this setting is used. If there is more than
|
||||
# one choice, a UI is presented.
|
||||
#
|
||||
# Legacy settings *neverCreateSwap* and *ensureSuspendToDisk* correspond
|
||||
# to values of *userSwapChoices* as follows:
|
||||
# - *neverCreateSwap* is true, means [none]
|
||||
# - *neverCreateSwap* is false, *ensureSuspendToDisk* is false, [small]
|
||||
# - *neverCreateSwap* is false, *ensureSuspendToDisk* is true, [suspend]
|
||||
#
|
||||
# Autogenerated swap sizes are as follows:
|
||||
# - *suspend*: Swap is always at least total memory size,
|
||||
# and up to 4GiB RAM follows the rule-of-thumb 2 * memory;
|
||||
# from 4GiB to 8 GiB it stays steady at 8GiB, and over 8 GiB memory
|
||||
# swap is the size of main memory.
|
||||
# - *small*: Follows the rules above, but Swap is at
|
||||
# most 8GiB, and no more than 10% of available disk.
|
||||
# In both cases, a fudge factor (usually 10% extra) is applied so that there
|
||||
# is some space for administrative overhead (e.g. 8 GiB swap will allocate
|
||||
# 8.8GiB on disk in the end).
|
||||
#
|
||||
# If *file* is enabled here, make sure to have the *fstab* module
|
||||
# as well (later in the exec phase) so that the swap file is
|
||||
# actually created.
|
||||
userSwapChoices:
|
||||
- none # Create no swap, use no swap
|
||||
- small # Up to 4GB
|
||||
- suspend # At least main memory size
|
||||
# - reuse # Re-use existing swap, but don't create any (unsupported right now)
|
||||
- file # To swap file instead of partition
|
||||
|
||||
# This optional setting specifies the name of the swap partition (see
|
||||
# PARTLABEL; gpt only; requires KPMCore >= 4.2.0).
|
||||
# If nothing is specified, the partition name is left unset.
|
||||
# swapPartitionName: swap
|
||||
|
||||
# LEGACY SETTINGS (these will generate a warning)
|
||||
# ensureSuspendToDisk: true
|
||||
# neverCreateSwap: false
|
||||
|
||||
# This setting specifies the LUKS generation (i.e LUKS1, LUKS2) used internally by
|
||||
# cryptsetup when creating an encrypted partition.
|
||||
#
|
||||
# This option is set to luks1 by default, as grub doesn't support LUKS2 + Argon2id
|
||||
# currently. On the other hand grub does support LUKS2 with PBKDF2 and could therefore be
|
||||
# also set to luks2. Also there are some patches for grub and Argon2.
|
||||
# See: https://aur.archlinux.org/packages/grub-improved-luks2-git
|
||||
#
|
||||
# Choices: luks1, luks2 (in addition, "luks" means "luks1")
|
||||
#
|
||||
# The default is luks1
|
||||
#
|
||||
luksGeneration: luks2
|
||||
|
||||
# This setting determines if encryption should be allowed when using zfs. This
|
||||
# setting has no effect unless zfs support is provided.
|
||||
#
|
||||
# This setting is to handle the fact that some bootloaders(such as grub) do not
|
||||
# support zfs encryption.
|
||||
#
|
||||
# The default is true
|
||||
#
|
||||
# allowZfsEncryption: true
|
||||
|
||||
# Correctly draw nested (e.g. logical) partitions as such.
|
||||
drawNestedPartitions: false
|
||||
|
||||
# Show/hide partition labels on manual partitioning page.
|
||||
alwaysShowPartitionLabels: true
|
||||
|
||||
# Allow manual partitioning.
|
||||
#
|
||||
# When set to false, this option hides the "Manual partitioning" button,
|
||||
# limiting the user's choice to "Erase", "Replace" or "Alongside".
|
||||
# This can be useful when using a custom partition layout we don't want
|
||||
# the user to modify.
|
||||
#
|
||||
# If nothing is specified, manual partitioning is enabled.
|
||||
#allowManualPartitioning: true
|
||||
|
||||
# Show not encrypted boot partition warning.
|
||||
#
|
||||
# When set to false, this option does not show the
|
||||
# "Boot partition not encrypted" warning when encrypting the
|
||||
# root partition but not /boot partition.
|
||||
#
|
||||
# If nothing is specified, the warning is shown.
|
||||
#showNotEncryptedBootMessage: true
|
||||
|
||||
# Initial selection on the Choice page
|
||||
#
|
||||
# There are four radio buttons (in principle: erase, replace, alongside, manual),
|
||||
# and you can pick which of them, if any, is initially selected. For most
|
||||
# installers, "none" is the right choice: it makes the user pick something specific,
|
||||
# rather than accidentally being able to click past an important choice (in particular,
|
||||
# "erase" is a dangerous choice).
|
||||
#
|
||||
# The default is "none"
|
||||
#
|
||||
initialPartitioningChoice: none
|
||||
#
|
||||
# Similarly, some of the installation choices may offer a choice of swap;
|
||||
# the available choices depend on *userSwapChoices*, above, and this
|
||||
# setting can be used to pick a specific one.
|
||||
#
|
||||
# The default is "none" (no swap) if that is one of the enabled options, otherwise
|
||||
# one of the items from the options.
|
||||
initialSwapChoice: none
|
||||
|
||||
# armInstall
|
||||
#
|
||||
# Leaves 16MB empty at the start of a drive when partitioning
|
||||
# where usually the u-boot loader goes
|
||||
#
|
||||
# armInstall: false
|
||||
|
||||
# Default partition table type, used when a "erase" disk is made.
|
||||
#
|
||||
# When erasing a disk, a new partition table is created on disk.
|
||||
# In other cases, e.g. Replace and Alongside, as well as when using
|
||||
# manual partitioning, this partition table exists already on disk
|
||||
# and it is left unmodified.
|
||||
#
|
||||
# Possible values: gpt, msdos (or other names defined by KPMcore).
|
||||
# Names are case-sensitive.
|
||||
#
|
||||
# If nothing is specified, Calamares defaults to "gpt" if system is
|
||||
# efi or "msdos" otherwise.
|
||||
#
|
||||
# defaultPartitionTableType: msdos
|
||||
|
||||
# Requirement for partition table type
|
||||
#
|
||||
# Restrict the installation on disks that match the type of partition
|
||||
# tables that are specified.
|
||||
#
|
||||
# Possible values: msdos, gpt (or other names defined by KPMcore).
|
||||
# Names are case-sensitive.
|
||||
#
|
||||
# If nothing is specified, Calamares defaults to both "msdos" and "gpt".
|
||||
#
|
||||
# requiredPartitionTableType: gpt
|
||||
# requiredPartitionTableType:
|
||||
# - msdos
|
||||
# - gpt
|
||||
|
||||
# Default filesystem type, used when a "new" partition is made.
|
||||
#
|
||||
# When replacing a partition, the new filesystem type will be from the
|
||||
# defaultFileSystemType value. In other cases, e.g. Erase and Alongside,
|
||||
# as well as when using manual partitioning and creating a new
|
||||
# partition, this filesystem type is pre-selected. Note that
|
||||
# editing a partition in manual-creation mode will not automatically
|
||||
# change the filesystem type to this default value -- it is not
|
||||
# creating a new partition.
|
||||
#
|
||||
# Suggested values: ext2, ext3, ext4, reiser, xfs, jfs, btrfs
|
||||
# If nothing is specified, Calamares defaults to "ext4".
|
||||
#
|
||||
# Names are case-sensitive and defined by KPMCore.
|
||||
defaultFileSystemType: "btrfs"
|
||||
|
||||
# Selectable filesystem type, used when "erase" is done.
|
||||
#
|
||||
# When erasing the disk, the *defaultFileSystemType* is used (see
|
||||
# above), but it is also possible to give users a choice:
|
||||
# list suitable filesystems here. A drop-down is provided
|
||||
# to pick which is the filesystems will be used.
|
||||
#
|
||||
# The value *defaultFileSystemType* is added to this list (with a warning)
|
||||
# if not present; the default pick is the *defaultFileSystemType*.
|
||||
#
|
||||
# If not specified at all, uses *defaultFileSystemType* without a
|
||||
# warning (this matches traditional no-choice-available behavior best).
|
||||
# availableFileSystemTypes: ["ext4","f2fs"]
|
||||
|
||||
# Per-directory filesystem restrictions.
|
||||
#
|
||||
# This optional setting specifies what filesystems the user can and cannot use
|
||||
# for various directories and mountpoints when using manual partitioning.
|
||||
#
|
||||
# If nothing is specified, the only restriction enforced by default is that
|
||||
# the EFI system partition must use the fat32 filesystem.
|
||||
#
|
||||
# Otherwise, the filesystem restrictions are defined as follow:
|
||||
#
|
||||
# directoryFilesystemRestrictions:
|
||||
# - directory: "any"
|
||||
# allowedFilesystemTypes: ["all"]
|
||||
# - directory: "/"
|
||||
# allowedFilesystemTypes: ["ext4","xfs","btrfs","jfs","f2fs"]
|
||||
# - mountpoint: "efi"
|
||||
# allowedFilesystemTypes: ["fat32"]
|
||||
# onlyWhenMountpoint: true
|
||||
#
|
||||
# There can be any number of mountpoints listed, each entry having the
|
||||
# following attributes:
|
||||
# - mountpoint: mountpoint's full path
|
||||
# or
|
||||
# "any" to specify a global whitelist that applies to all
|
||||
# mountpoints
|
||||
# or
|
||||
# "efi" to specify a whitelist specific to the EFI system
|
||||
# partition, wherever that partition is located
|
||||
# - allowedFilesystemTypes: the list of all filesystems valid for this
|
||||
# mountpoint. If the list contains exactly one
|
||||
# element, and that element is the special value
|
||||
# "any", all filesystem types recognized by
|
||||
# Calamares will be allowed.
|
||||
# - onlyWhenMountpoint: Whether the restriction should apply only when the
|
||||
# specified directory is a mountpoint. When set to
|
||||
# true, Calamares will only enforce the listed
|
||||
# restrictions when the user makes a separate partition
|
||||
# for this directory and assigns the mountpoint
|
||||
# accordingly. When set to false, Calamares will
|
||||
# ensure this directory uses the specified filesystem
|
||||
# even if the directory is part of a filesystem on a
|
||||
# different mountpoint. Defaults to false.
|
||||
|
||||
# The ClearMounts job unmounts / unmaps things before partitioning.
|
||||
# Some special entries under /dev/mapper are excepted from this process.
|
||||
# The example lists the three hard-coded exceptions which always apply
|
||||
# (they don't need to be listed here). Add other names or wildcards (with
|
||||
# a trailing '*') to this list if the live-ISO has additional mounts.
|
||||
essentialMounts: [ "live-*", "control", "ventoy" ]
|
||||
|
||||
# Show/hide LUKS related functionality in automated partitioning modes.
|
||||
# Disable this if you choose not to deploy early unlocking support in GRUB2
|
||||
# and/or your distribution's initramfs solution.
|
||||
#
|
||||
# BIG FAT WARNING:
|
||||
#
|
||||
# This option is unsupported, as it cuts out a crucial security feature.
|
||||
# Disabling LUKS and shipping Calamares without a correctly configured GRUB2
|
||||
# and initramfs is considered suboptimal use of the Calamares software. The
|
||||
# Calamares team will not provide user support for any potential issue that
|
||||
# may arise as a consequence of setting this option to false.
|
||||
# It is strongly recommended that system integrators put in the work to support
|
||||
# LUKS unlocking support in GRUB2 and initramfs/dracut/mkinitcpio/etc.
|
||||
# For more information on setting up GRUB2 for Calamares with LUKS, see
|
||||
# https://github.com/calamares/calamares/wiki/Deploy-LUKS
|
||||
#
|
||||
# If nothing is specified, LUKS is enabled in automated modes.
|
||||
#enableLuksAutomatedPartitioning: true
|
||||
|
||||
# When enableLuksAutomatedPartitioning is true, this option will pre-check
|
||||
# encryption checkbox. This option is only usefull to help people to not forget
|
||||
# to cypher their disk when installing in enterprise (for exemple).
|
||||
#preCheckEncryption: false
|
||||
|
||||
# LVM support
|
||||
#
|
||||
# There is only one sub-key available, *enable* (defaults to true)
|
||||
# which can be used to show (default) or hide the LVM buttons in the partitioning module.
|
||||
lvm:
|
||||
enable: false
|
||||
|
||||
# Partition layout.
|
||||
#
|
||||
# This optional setting specifies a custom partition layout.
|
||||
#
|
||||
# If nothing is specified, the default partition layout is a single partition
|
||||
# for root that uses 100% of the space and uses the filesystem defined by
|
||||
# defaultFileSystemType.
|
||||
#
|
||||
# Note: the EFI system partition is prepended automatically to the layout if
|
||||
# needed; the swap partition is appended to the layout if enabled (selections
|
||||
# "small" or "suspend" in *userSwapChoices*).
|
||||
#
|
||||
# Otherwise, the partition layout is defined as follow:
|
||||
#
|
||||
# partitionLayout:
|
||||
# - name: "rootfs"
|
||||
# type: "4f68bce3-e8cd-4db1-96e7-fbcaf984b709"
|
||||
# filesystem: "ext4"
|
||||
# noEncrypt: false
|
||||
# mountPoint: "/"
|
||||
# size: 20%
|
||||
# minSize: 500M
|
||||
# maxSize: 10G
|
||||
# attributes: 0xffff000000000003
|
||||
# - name: "home"
|
||||
# type: "933ac7e1-2eb4-4f13-b844-0e14e2aef915"
|
||||
# filesystem: "ext4"
|
||||
# noEncrypt: false
|
||||
# mountPoint: "/home"
|
||||
# size: 3G
|
||||
# minSize: 1.5G
|
||||
# features:
|
||||
# 64bit: false
|
||||
# casefold: true
|
||||
# - name: "data"
|
||||
# filesystem: "fat32"
|
||||
# mountPoint: "/data"
|
||||
# features:
|
||||
# sector-size: 4096
|
||||
# sectors-per-cluster: 128
|
||||
# size: 100%
|
||||
#
|
||||
# There can be any number of partitions, each entry having the following attributes:
|
||||
# - name: filesystem label
|
||||
# and
|
||||
# partition name (gpt only; since KPMCore 4.2.0)
|
||||
# - uuid: partition uuid (optional parameter; gpt only; requires KPMCore >= 4.2.0)
|
||||
# - type: partition type (optional parameter; gpt only; requires KPMCore >= 4.2.0)
|
||||
# - attributes: partition attributes (optional parameter; gpt only; requires KPMCore >= 4.2.0)
|
||||
# - filesystem: filesystem type (optional parameter)
|
||||
# - if not set at all, treat as "unformatted"
|
||||
# - if "unformatted", no filesystem will be created
|
||||
# - if "unknown" (or an unknown FS name, like "elephant") then the
|
||||
# default filesystem type, or the user's choice, will be applied instead
|
||||
# of "unknown" (e.g. the user might pick ext4, or xfs).
|
||||
# - noEncrypt: whether this partition is exempt from encryption if enabled (optional parameter; default is false)
|
||||
# - mountPoint: partition mount point (optional parameter; not mounted if unset)
|
||||
# - size: partition size in bytes (append 'K', 'M' or 'G' for KiB, MiB or GiB)
|
||||
# or
|
||||
# % of the available drive space if a '%' is appended to the value
|
||||
# - minSize: minimum partition size (optional parameter)
|
||||
# - maxSize: maximum partition size (optional parameter)
|
||||
# - features: filesystem features (optional parameter; requires KPMCore >= 4.2.0)
|
||||
# name: boolean or integer or string
|
||||
|
||||
# Checking for available storage
|
||||
#
|
||||
# This overlaps with the setting of the same name in the welcome module's
|
||||
# requirements section. If nothing is set by the welcome module, this
|
||||
# value is used instead. It is still a problem if there is no required
|
||||
# size set at all, and the replace and resize options will not be offered
|
||||
# if no required size is set.
|
||||
#
|
||||
# The value is in Gibibytes (GiB).
|
||||
#
|
||||
# BIG FAT WARNING: except for OEM-phase-0 use, you should be using
|
||||
# the welcome module, **and** configure this value in
|
||||
# `welcome.conf`, not here.
|
||||
# requiredStorage: 3.5
|
||||
54
calamares/modules/services-systemd.conf
Normal file
54
calamares/modules/services-systemd.conf
Normal file
@@ -0,0 +1,54 @@
|
||||
# SPDX-FileCopyrightText: no
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
#
|
||||
# Systemd units manipulation.
|
||||
#
|
||||
# This module can perform actions using systemd units,
|
||||
# (for example, enabling, disabling, or masking services, sockets, paths, etc.)
|
||||
---
|
||||
|
||||
# There is one key for this module: *units*. Its value is a list of entries.
|
||||
# Each entry has three keys:
|
||||
# - *name* is the (string) name of the systemd unit that is being changed.
|
||||
# Use quotes. You can use any valid systemd unit here (for example,
|
||||
# "NetworkManager.service", "cups.socket", "lightdm", "gdm", etc.)
|
||||
# - *action* is the (string) action that you want to perform over the unit
|
||||
# (for example, "enable", "disable", "mask", "unmask", etc.). Please
|
||||
# ensure that the action can actually run under chroot (otherwise it is
|
||||
# pointless)
|
||||
# - *mandatory* is a boolean option, which states whether the change
|
||||
# must be done successfully. If systemd reports an error while changing
|
||||
# a mandatory entry, the installation will fail. When mandatory is false,
|
||||
# errors for that systemd unit are ignored. If mandatory
|
||||
# is not specified, the default is false.
|
||||
#
|
||||
# The order of operations is the same as the order in which entries
|
||||
# appear in the list
|
||||
|
||||
# # This example enables NetworkManager.service (and fails if it can't),
|
||||
# # disables cups.socket (and ignores failure). Then it enables the
|
||||
# # graphical target (e.g. so that SDDM runs for login), and
|
||||
# # finally masks pacman-init (an ArchLinux-only service).
|
||||
# #
|
||||
# units:
|
||||
# - name: "NetworkManager.service"
|
||||
# action: "enable"
|
||||
# mandatory: true
|
||||
#
|
||||
# - name: "cups.socket"
|
||||
# action: "disable"
|
||||
# # The property "mandatory" is taken to be false by default here
|
||||
# # because it is not specified
|
||||
#
|
||||
# - name: "graphical.target"
|
||||
# action: "enable"
|
||||
# # The property "mandatory" is taken to be false by default here
|
||||
# # because it is not specified
|
||||
#
|
||||
# - name: "pacman-init.service"
|
||||
# action: "mask"
|
||||
# # The property "mandatory" is taken to be false by default here
|
||||
# # because it is not specified
|
||||
|
||||
# By default, no changes are made.
|
||||
units: []
|
||||
5
calamares/modules/unpackfs.conf
Normal file
5
calamares/modules/unpackfs.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
unpack:
|
||||
- source: "/run/live/medium/live/filesystem.squashfs"
|
||||
sourcefs: "squashfs"
|
||||
destination: ""
|
||||
23
calamares/modules/users.conf
Normal file
23
calamares/modules/users.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
userGroup: users
|
||||
defaultGroups:
|
||||
- cdrom
|
||||
- floppy
|
||||
- sudo
|
||||
- audio
|
||||
- dip
|
||||
- video
|
||||
- plugdev
|
||||
- netdev
|
||||
- lpadmin
|
||||
- scanner
|
||||
- bluetooth
|
||||
autologinGroup: autologin
|
||||
sudoersGroup: sudo
|
||||
setRootPassword: false
|
||||
|
||||
passwordRequirements:
|
||||
nonempty: true
|
||||
minLength: 6 # Password at least this many characters
|
||||
maxLength: -1 # Password at most this many characters
|
||||
|
||||
17
calamares/modules/welcome.conf
Normal file
17
calamares/modules/welcome.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
showSupportUrl: true
|
||||
showKnownIssuesUrl: true
|
||||
showReleaseNotesUrl: true
|
||||
|
||||
requirements:
|
||||
requiredStorage: 15
|
||||
requiredRam: 1.0
|
||||
check:
|
||||
- storage
|
||||
- ram
|
||||
- power
|
||||
- root
|
||||
required:
|
||||
- storage
|
||||
- ram
|
||||
- root
|
||||
127
calamares/settings.conf
Normal file
127
calamares/settings.conf
Normal file
@@ -0,0 +1,127 @@
|
||||
# Configuration file for Calamares
|
||||
# Syntax is YAML 1.2
|
||||
---
|
||||
|
||||
# "local" is LIBDIR/calamares/modules with settings in SHARE/calamares/modules
|
||||
modules-search: [ local, /usr/lib/calamares/modules ]
|
||||
|
||||
# If this is set to true, Calamares refers to itself as a "setup program"
|
||||
# rather than an "installer". Defaults to the value of dont-chroot, but
|
||||
# Calamares will complain if this is not explicitly set.
|
||||
oem-setup: false
|
||||
|
||||
# If this is set to true, the "Cancel" button will be disabled entirely.
|
||||
# The button is also hidden from view.
|
||||
#
|
||||
# This can be useful if when e.g. Calamares is used as a post-install
|
||||
# configuration tool and you require the user to go through all the
|
||||
# configuration steps.
|
||||
#
|
||||
# Default is false, but Calamares will complain if this is not explicitly set.
|
||||
#
|
||||
# YAML: boolean.
|
||||
disable-cancel: false
|
||||
|
||||
# If this is set to true, the "Cancel" button will be disabled once
|
||||
# you start the 'Installation', meaning there won't be a way to cancel
|
||||
# the Installation until it has finished or installation has failed.
|
||||
#
|
||||
# Default is false, but Calamares will complain if this is not explicitly set.
|
||||
#
|
||||
# YAML: boolean.
|
||||
disable-cancel-during-exec: false
|
||||
|
||||
# If this is set to true, then once the end of the sequence has
|
||||
# been reached, the quit (done) button is clicked automatically
|
||||
# and Calamares will close. Default is false: the user will see
|
||||
# that the end of installation has been reached, and that things are ok.
|
||||
#
|
||||
#
|
||||
quit-at-end: false
|
||||
|
||||
sequence:
|
||||
# Phase 1 - prepare.
|
||||
# View modules are shown as UI pages, jobs from job modules
|
||||
# are executed immediately in the background.
|
||||
# Jobs should be executed sparingly (if at all) in this phase.
|
||||
- show:
|
||||
- welcome
|
||||
- locale
|
||||
- keyboard
|
||||
- partition
|
||||
- users
|
||||
- summary
|
||||
|
||||
# Phase 2 - install.
|
||||
# View modules are not shown. Only the view modules shown
|
||||
# in the previous phase are allowed, their names should be
|
||||
# added here as placeholders to specify the order in which
|
||||
# view module jobs should be enqueued. Job modules are
|
||||
# also allowed.
|
||||
- exec:
|
||||
- partition
|
||||
- mount
|
||||
- unpackfs
|
||||
- luksbootkeyfile
|
||||
- dpkg-unsafe-io
|
||||
- sources-media
|
||||
- machineid
|
||||
- fstab
|
||||
- locale
|
||||
- keyboard
|
||||
- localecfg
|
||||
- users
|
||||
- displaymanager
|
||||
- networkcfg
|
||||
- hwclock
|
||||
- services-systemd
|
||||
- bootloader-config
|
||||
- grubcfg
|
||||
- bootloader
|
||||
- packages
|
||||
- plymouthcfg
|
||||
- initramfscfg
|
||||
- initramfs
|
||||
- dpkg-unsafe-io-undo
|
||||
- sources-media-unmount
|
||||
- sources-final
|
||||
- umount
|
||||
|
||||
# Phase 3 - postinstall.
|
||||
# View modules are shown as UI pages, jobs from job modules are
|
||||
# executed immediately in the background.
|
||||
# Jobs should be executed sparingly (if at all) in this phase.
|
||||
- show:
|
||||
- finished
|
||||
|
||||
# A branding component is a directory, either in
|
||||
# SHARE/calamares/branding or in /etc/calamares/branding
|
||||
# (the latter takes precedence). The directory must contain a
|
||||
# YAML file branding.desc which may reference additional resources
|
||||
# (such as images) as paths relative to the current directory.
|
||||
# Only the name of the branding component (directory) should be
|
||||
# specified here, Calamares then takes care of finding it and
|
||||
# loading the contents.
|
||||
branding: rakuos
|
||||
|
||||
# If this is set to true, Calamares will show an "Are you sure?" prompt right
|
||||
# before each execution phase, i.e. at points of no return. If this is set to
|
||||
# false, no prompt is shown. Default is false.
|
||||
#
|
||||
# YAML: boolean.
|
||||
prompt-install: false
|
||||
|
||||
# If this is set to true, Calamares will execute all target environment
|
||||
# commands in the current environment, without chroot. This setting should
|
||||
# only be used when setting up Calamares as a post-install configuration tool,
|
||||
# as opposed to a full operating system installer.
|
||||
#
|
||||
# Some official Calamares modules are not expected to function with this
|
||||
# setting. (e.g. partitioning seems like a bad idea, since that is expected to
|
||||
# have been done already)
|
||||
#
|
||||
# Default is false (for a normal installer).
|
||||
#
|
||||
# YAML: boolean.
|
||||
dont-chroot: false
|
||||
|
||||
Reference in New Issue
Block a user