new commit

This commit is contained in:
Manuel 2022-11-16 13:07:06 -01:00
parent e73fc406b7
commit b507bb9ccb
58 changed files with 2771 additions and 18 deletions

View File

@ -0,0 +1,21 @@
#!/bin/bash
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
# Set secure permissions for the initramfs if we're configuring
# full-disk-encryption. The initramfs is re-generated later in the
# installation process so we only set the permissions snippet without
# regenerating the initramfs right now:
if [ "$(mount | grep $CHROOT" " | cut -c -16)" = "/dev/mapper/luks" ]; then
echo "UMASK=0077" > $CHROOT/etc/initramfs-tools/conf.d/initramfs-permissions
fi
echo "Running bootloader-config..."
if [ -d /sys/firmware/efi/efivars ]; then
echo " * Installing grub-efi (uefi)..."
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi-amd64-signed cryptsetup keyutils shim-signed
else
echo " * install grub... (bios)"
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc cryptsetup keyutils
fi

View File

@ -166,12 +166,9 @@ grub-pc
" > $build/build/config/package-lists/packages.list.chroot " > $build/build/config/package-lists/packages.list.chroot
# Install software
echo "# Installer packages to install the system to disk. echo "# Installer packages to install the system to disk.
ubiquity calamares
ubiquity-frontend-gtk calamares-settings-debian
ubiquity-slideshow-xubuntu
ubiquity-casper
" > $build/build/config/package-lists/installer.list.chroot " > $build/build/config/package-lists/installer.list.chroot
@ -195,9 +192,6 @@ shim-signed
" > $build/build/config/package-lists/installer.list.binary " > $build/build/config/package-lists/installer.list.binary
# Setup the chroot structure # Setup the chroot structure
mkdir -p $build/build/config/includes.binary mkdir -p $build/build/config/includes.binary
mkdir -p $build/build/config/hooks/live mkdir -p $build/build/config/hooks/live
@ -207,11 +201,15 @@ mkdir -p $build/build/config/packages.chroot
mkdir -p $build/build/config/includes.chroot/etc mkdir -p $build/build/config/includes.chroot/etc
mkdir -p $build/build/config/includes.chroot/usr/share/applications mkdir -p $build/build/config/includes.chroot/usr/share/applications
mkdir -p $build/build/config/includes.chroot/usr/share/backgrounds mkdir -p $build/build/config/includes.chroot/usr/share/backgrounds
mkdir -p $build/build/config/includes.chroot/etc/calamares
mkdir -p $build/build/config/includes.chroot/usr/share/icons mkdir -p $build/build/config/includes.chroot/usr/share/icons
mkdir -p $build/build/config/includes.chroot/usr/share/themes mkdir -p $build/build/config/includes.chroot/usr/share/themes
mkdir -p $build/build/config/includes.chroot/etc/live/config.conf.d mkdir -p $build/build/config/includes.chroot/etc/live/config.conf.d
mkdir -p $build/build/config/includes.chroot/usr/sbin
mkdir -p $build/build/config/includes.chroot/etc/lightdm mkdir -p $build/build/config/includes.chroot/etc/lightdm
mkdir -p $build/build/config/includes.chroot/usr/share/pixmaps mkdir -p $build/build/config/includes.chroot/usr/share/pixmaps
mkdir -p $build/build/config/includes.chroot/usr/share/plymouth
mkdir -p $build/build/config/includes.chroot/usr/share/desktop-base
mkdir -p $build/build/config/includes.chroot/etc/skel/Desktop mkdir -p $build/build/config/includes.chroot/etc/skel/Desktop
mkdir -p $build/build/config/includes.chroot/etc/default mkdir -p $build/build/config/includes.chroot/etc/default
@ -222,15 +220,19 @@ cp $build/applications/* $build/build/config/includes.chroot/usr/share/applicati
cp $build/hooks/live/* $build/build/config/hooks/live cp $build/hooks/live/* $build/build/config/hooks/live
cp $build/hooks/normal/* $build/build/config/hooks/normal cp $build/hooks/normal/* $build/build/config/hooks/normal
cp $build/install-debian/* $build/build/config/includes.chroot/usr/share/pixmaps cp $build/install-debian/* $build/build/config/includes.chroot/usr/share/pixmaps
cp $build/sources-final/* $build/build/config/includes.chroot/usr/sbin
cp $build/bootloader-config/* $build/build/config/includes.chroot/usr/sbin
cp $build/grub/* $build/build/config/includes.chroot/etc/default cp $build/grub/* $build/build/config/includes.chroot/etc/default
cp $build/applications/ubiquity.desktop $build/build/config/includes.chroot/etc/skel/Desktop
cp -r $build/lightdm/* $build/build/config/includes.chroot/etc/lightdm cp -r $build/lightdm/* $build/build/config/includes.chroot/etc/lightdm
cp -r $build/bootloaders/* $build/build/config/bootloaders cp -r $build/bootloaders/* $build/build/config/bootloaders
cp -r $build/backgrounds/* $build/build/config/includes.chroot/usr/share/backgrounds cp -r $build/backgrounds/* $build/build/config/includes.chroot/usr/share/backgrounds
cp -r $build/calamares/* $build/build/config/includes.chroot/etc/calamares
cp -r $build/configs/* $build/build/config/includes.chroot/etc/ cp -r $build/configs/* $build/build/config/includes.chroot/etc/
cp -r $build/icons/* $build/build/config/includes.chroot/usr/share/icons cp -r $build/icons/* $build/build/config/includes.chroot/usr/share/icons
cp -r $build/themes/* $build/build/config/includes.chroot/usr/share/themes cp -r $build/themes/* $build/build/config/includes.chroot/usr/share/themes
cp -r $build/desktop-base/* $build/build/config/includes.chroot/usr/share/desktop-base
cp -r $build/plymouth/* $build/build/config/includes.chroot/usr/share/plymouth
cp -r $build/packages/* $build/build/config/packages.chroot cp -r $build/packages/* $build/build/config/packages.chroot

View File

@ -191,16 +191,13 @@ grub-pc
" > $build/build/config/package-lists/packages.list.chroot " > $build/build/config/package-lists/packages.list.chroot
# Install software
echo "# Installer packages to install the system to disk. echo "# Installer packages to install the system to disk.
ubiquity calamares
ubiquity-frontend-gtk calamares-settings-debian
ubiquity-slideshow-xubuntu
ubiquity-casper
" > $build/build/config/package-lists/installer.list.chroot " > $build/build/config/package-lists/installer.list.chroot
# Packages to be stored in /pool but not installed in the OS . # Packages to be stored in /pool but not installed in the OS .
echo "# These packages are available to the installer, for offline use. echo "# These packages are available to the installer, for offline use.
b43-fwcutter b43-fwcutter
@ -221,8 +218,6 @@ shim-signed
" > $build/build/config/package-lists/installer.list.binary " > $build/build/config/package-lists/installer.list.binary
# Setup the chroot structure # Setup the chroot structure
mkdir -p $build/build/config/includes.binary mkdir -p $build/build/config/includes.binary
mkdir -p $build/build/config/hooks/live mkdir -p $build/build/config/hooks/live
@ -232,11 +227,15 @@ mkdir -p $build/build/config/packages.chroot
mkdir -p $build/build/config/includes.chroot/etc mkdir -p $build/build/config/includes.chroot/etc
mkdir -p $build/build/config/includes.chroot/usr/share/applications mkdir -p $build/build/config/includes.chroot/usr/share/applications
mkdir -p $build/build/config/includes.chroot/usr/share/backgrounds mkdir -p $build/build/config/includes.chroot/usr/share/backgrounds
mkdir -p $build/build/config/includes.chroot/etc/calamares
mkdir -p $build/build/config/includes.chroot/usr/share/icons mkdir -p $build/build/config/includes.chroot/usr/share/icons
mkdir -p $build/build/config/includes.chroot/usr/share/themes mkdir -p $build/build/config/includes.chroot/usr/share/themes
mkdir -p $build/build/config/includes.chroot/etc/live/config.conf.d mkdir -p $build/build/config/includes.chroot/etc/live/config.conf.d
mkdir -p $build/build/config/includes.chroot/usr/sbin
mkdir -p $build/build/config/includes.chroot/etc/lightdm mkdir -p $build/build/config/includes.chroot/etc/lightdm
mkdir -p $build/build/config/includes.chroot/usr/share/pixmaps mkdir -p $build/build/config/includes.chroot/usr/share/pixmaps
mkdir -p $build/build/config/includes.chroot/usr/share/plymouth
mkdir -p $build/build/config/includes.chroot/usr/share/desktop-base
mkdir -p $build/build/config/includes.chroot/etc/skel/Desktop mkdir -p $build/build/config/includes.chroot/etc/skel/Desktop
mkdir -p $build/build/config/includes.chroot/etc/default mkdir -p $build/build/config/includes.chroot/etc/default
@ -247,15 +246,19 @@ cp $build/applications/* $build/build/config/includes.chroot/usr/share/applicati
cp $build/hooks/live/* $build/build/config/hooks/live cp $build/hooks/live/* $build/build/config/hooks/live
cp $build/hooks/normal/* $build/build/config/hooks/normal cp $build/hooks/normal/* $build/build/config/hooks/normal
cp $build/install-debian/* $build/build/config/includes.chroot/usr/share/pixmaps cp $build/install-debian/* $build/build/config/includes.chroot/usr/share/pixmaps
cp $build/sources-final/* $build/build/config/includes.chroot/usr/sbin
cp $build/bootloader-config/* $build/build/config/includes.chroot/usr/sbin
cp $build/grub/* $build/build/config/includes.chroot/etc/default cp $build/grub/* $build/build/config/includes.chroot/etc/default
cp $build/applications/ubiquity.desktop $build/build/config/includes.chroot/etc/skel/Desktop
cp -r $build/lightdm/* $build/build/config/includes.chroot/etc/lightdm cp -r $build/lightdm/* $build/build/config/includes.chroot/etc/lightdm
cp -r $build/bootloaders/* $build/build/config/bootloaders cp -r $build/bootloaders/* $build/build/config/bootloaders
cp -r $build/backgrounds/* $build/build/config/includes.chroot/usr/share/backgrounds cp -r $build/backgrounds/* $build/build/config/includes.chroot/usr/share/backgrounds
cp -r $build/calamares/* $build/build/config/includes.chroot/etc/calamares
cp -r $build/configs/* $build/build/config/includes.chroot/etc/ cp -r $build/configs/* $build/build/config/includes.chroot/etc/
cp -r $build/icons/* $build/build/config/includes.chroot/usr/share/icons cp -r $build/icons/* $build/build/config/includes.chroot/usr/share/icons
cp -r $build/themes/* $build/build/config/includes.chroot/usr/share/themes cp -r $build/themes/* $build/build/config/includes.chroot/usr/share/themes
cp -r $build/desktop-base/* $build/build/config/includes.chroot/usr/share/desktop-base
cp -r $build/plymouth/* $build/build/config/includes.chroot/usr/share/plymouth
cp -r $build/packages/* $build/build/config/packages.chroot cp -r $build/packages/* $build/build/config/packages.chroot

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

View File

@ -0,0 +1,29 @@
---
componentName: my-distro
welcomeStyleCalamares: true
strings:
productName: My-distro GNU/Linux
shortProductName: My-distro GNU/Linux
version: 1.0
shortVersion: 1.0
versionedName: My-distro GNU/Linux
shortVersionedName: My-distro GNU/Linux 1.0
bootloaderEntryName: debian
images:
productLogo: "debian-logo.png"
productIcon: "debian-logo.png"
productWelcome: "languages.png"
slideshow: "show.qml"
style:
sidebarBackground: "#303030"
sidebarText: "#FFFFFF"
sidebarTextSelect: "#4d7079"
sidebarTextSelect: "#292F34"
slideshowAPI: 2

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 KiB

View File

@ -0,0 +1,177 @@
/* === This file is part of Calamares - <https://github.com/calamares> ===
*
* Copyright 2015, Teo Mrnjavac <teo@kde.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, either version 3 of the License, 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 {
id: advanceTimer
interval: 15000
running: false
repeat: true
onTriggered: presentation.goToNextSlide()
}
Slide {
anchors.fill: parent
Image {
id: background
source: "1.png"
anchors.fill: parent
Text {
anchors.centerIn: parent
anchors.verticalCenterOffset: 0
anchors.horizontalCenterOffset: -125
font.pixelSize: parent.width *.015
color: 'white'
text: qsTr(""+
""+
""+
""+
"")
wrapMode: Text.WordWrap
width: 500
horizontalAlignment: Text.AlignLeft
}
}
}
Slide {
anchors.fill: parent
Image {
id: background1
source: "2.png"
anchors.fill: parent
Text {
anchors.centerIn: parent
anchors.verticalCenterOffset: 0
anchors.horizontalCenterOffset: 250
font.pixelSize: parent.width *.015
color: 'white'
text: qsTr(""+
""+
""+
"")
wrapMode: Text.WordWrap
width: 450
horizontalAlignment: Text.AlignLeft
}
}
}
Slide {
anchors.fill: parent
Image {
id: background2
source: "3.png"
anchors.fill: parent
Text {
anchors.centerIn: parent
anchors.verticalCenterOffset: 0
anchors.horizontalCenterOffset: -100
font.pixelSize: parent.width *.015
color: 'white'
text: qsTr(""+
">")
wrapMode: Text.WordWrap
width: 450
horizontalAlignment: Text.AlignLeft
}
}
}
Slide {
anchors.fill: parent
Image {
id: background3
source: "4.png"
anchors.fill: parent
Text {
anchors.centerIn: parent
anchors.verticalCenterOffset: 0
anchors.horizontalCenterOffset: 250
font.pixelSize: parent.width *.015
color: 'white'
text: qsTr(""+
""+
"")
wrapMode: Text.WordWrap
width: 450
horizontalAlignment: Text.AlignLeft
}
}
}
Slide {
anchors.fill: parent
Image {
id: background4
source: "5.png"
anchors.fill: parent
Text {
anchors.centerIn: parent
anchors.verticalCenterOffset: 0
anchors.horizontalCenterOffset: -200
font.pixelSize: parent.width *.015
color: 'white'
text: qsTr("")
wrapMode: Text.WordWrap
width: 450
horizontalAlignment: Text.Center
}
}
}
Slide {
anchors.fill: parent
Image {
id: background5
source: "6.png"
anchors.fill: parent
Text {
anchors.centerIn: parent
anchors.verticalCenterOffset: 0
anchors.horizontalCenterOffset: 250
font.pixelSize: parent.width *.015
color: 'white'
text: qsTr("")
wrapMode: Text.WordWrap
width: 450
horizontalAlignment: Text.Center
}
}
}
Component.onCompleted: advanceTimer.running = true
}

View 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

View 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

View File

@ -0,0 +1,4 @@
---
restartNowEnabled: true
restartNowChecked: true
restartNowCommand: "systemctl -i reboot"

View File

@ -0,0 +1,11 @@
---
mountOptions:
default: defaults,noatime
btrfs: defaults,noatime,space_cache,autodefrag
ssdExtraMountOptions:
ext4: discard
jfs: discard
xfs: discard
swap: discard
btrfs: discard,compress=lzo
crypttabOptions: luks,keyscript=/bin/cat

View File

@ -0,0 +1,6 @@
localeGenPath: "/etc/locale.gen"
geoip:
style: "json"
url: "https://ipapi.co/json"
selector: "timezone"

View 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

View 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

View File

@ -0,0 +1,36 @@
# 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. The filesystems listed in
# *extraMountsEfi* are mounted in the target system **only** if
# the host machine uses UEFI.
---
# Extra filesystems to mount. The key's value is a list of entries; each
# entry has four keys:
# - device The device node to mount
# - fs The filesystem type to use
# - mountPoint Where to mount the filesystem
# - options (optional) Extra options to pass to mount(8)
#
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
extraMountsEfi:
- device: efivarfs
fs: efivarfs
mountPoint: /sys/firmware/efi/efivars

View File

@ -0,0 +1,14 @@
backend: apt
operations:
- remove:
- 'live-boot'
- 'live-boot-doc'
- 'live-config'
- 'live-config-doc'
- 'live-config-systemd'
- 'live-tools'
- 'live-task-localisation'
- 'live-task-recommended'
- 'calamares-settings-debian'
- 'calamares'

View File

@ -0,0 +1,12 @@
efiSystemPartition: "/boot/efi"
userSwapChoices:
- none # Create no swap, use no swap
- small # Up to 4GB
- suspend # At least main memory size
- file # To swap file instead of partition
alwaysShowPartitionLabels: true
initialPartitioningChoice: erase
initialSwapChoice: none
defaultFileSystemType: "ext4"
availableFileSystemTypes: ["ext4","btrfs", "f2fs","xfs"]

View File

@ -0,0 +1,5 @@
---
unpack:
- source: "/run/live/medium/live/filesystem.squashfs"
sourcefs: "squashfs"
destination: ""

View File

@ -0,0 +1,18 @@
---
userGroup: users
defaultGroups:
- cdrom
- floppy
- sudo
- audio
- dip
- video
- plugdev
- netdev
- lpadmin
- scanner
- bluetooth
- sambashare
autologinGroup: autologin
sudoersGroup: sudo
setRootPassword: true

View File

@ -0,0 +1,17 @@
---
showSupportUrl: false
showKnownIssuesUrl: false
showReleaseNotesUrl: false
requirements:
requiredStorage: 10
requiredRam: 1.0
check:
- storage
- ram
- power
- root
required:
- storage
- ram
- root

125
calamares/settings.conf Normal file
View File

@ -0,0 +1,125 @@
# 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
- sources-media
- machineid
- fstab
- locale
- keyboard
- localecfg
- users
- displaymanager
- networkcfg
- hwclock
- services-systemd
- bootloader-config
- grubcfg
- bootloader
- packages
- luksbootkeyfile
- plymouthcfg
- initramfscfg
- initramfs
- 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: my-distro
# 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

View File

@ -0,0 +1,3 @@
WALLPAPER=/usr/share/images/desktop-base/desktop-grub.png
COLOR_NORMAL=white/black
COLOR_HIGHLIGHT=black/white

View File

@ -0,0 +1 @@
../../plymouth/themes/futureprototype

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

View File

@ -0,0 +1,3 @@
WALLPAPER=/usr/share/images/desktop-base/desktop-grub.png
COLOR_NORMAL=white/black
COLOR_HIGHLIGHT=black/white

View File

@ -0,0 +1 @@
../../plymouth/themes/homeworld

View File

@ -0,0 +1 @@
../../desktop-base/active-theme/plymouth

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,8 @@
[Plymouth Theme]
Name=Default theme for Debian 10.0 Buster
Description=A theme that features a white debian 10 logo in a white spinning circle
ModuleName=script
[script]
ImageDir=/usr/share/plymouth/themes/futureprototype
ScriptFile=/usr/share/plymouth/themes/futureprototype/futureprototype.script

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,8 @@
[Plymouth Theme]
Name=Default theme for Debian 11.0 Buster (WIP)
Description=A theme inspired by the Bauhaus movement
ModuleName=script
[script]
ImageDir=/usr/share/plymouth/themes/homeworld
ScriptFile=/usr/share/plymouth/themes/homeworld/homeworld.script

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

25
sources-final/sources-final Executable file
View File

@ -0,0 +1,25 @@
#!/bin/sh
#
# Writes the final sources.list file
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="bullseye"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
EOF
exit 0