Commit 307d4416 authored by Jonathan Carter's avatar Jonathan Carter
Browse files

Add aims-live-2020

parent 4c3e0df5
---
type: "job"
name: "bootloader-eficonfig"
interface: "process"
command: "/usr/sbin/bootloader-eficonfig"
timeout: 600
---
componentName: aimsdesktop
strings:
productName: AIMS Desktop
shortProductName: AIMS Desktop
version: 2018.1
shortVersion: 2018.1
versionedName: AIMS Desktop 2018.1
shortVersionedName: AIMS Desktop 2018.1
bootloaderEntryName: AIMS Desktop
productUrl: https://aims.ac.za
supportUrl: https://help.aims.ac.za
knownIssuesUrl: https://help.aims.ac.za
releaseNotesUrl: https://help.aims.ac.za
images:
productLogo: "aimsdesktop.png"
productIcon: "aimsdesktop.png"
productWelcome: "languages.png"
slideshow: "show.qml"
style:
sidebarBackground: "#2f343f"
sidebarText: "#FFFFFF"
sidebarTextSelect: "#093c7c"
/* === This file is part of Calamares - <http://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, ei[\chm-
* (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: "Welcome to AIMS Desktop.<br/>"+
"The rest of the installation is automated and we'll notify you when it's complete."
wrapMode: Text.WordWrap
width: 600
horizontalAlignment: Text.Center
}
}
}
---
type: "job"
name: "enable-locales"
interface: "process"
command: "/usr/sbin/enable-locales"
---
restartNowEnabled: true
restartNowChecked: true
restartNowCommand: "systemctl -i reboot"
---
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
backend: apt
operations:
- remove:
- calamares
- '^live-*'
- '^libkf5*'
# 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.
efiSystemPartition: "/boot/efi"
# Make sure an autogenerated swap partition is big enough for hibernation in
# automated partitioning modes.
# Default is true.
ensureSuspendToDisk: true
# Never create swap partitions in automated partitioning modes.
# If this is true, ensureSuspendToDisk is ignored.
# Default is false.
neverCreateSwap: true
# Correctly draw nested (e.g. logical) partitions as such.
drawNestedPartitions: false
# Show/hide partition labels on manual partitioning page.
alwaysShowPartitionLabels: true
# Default filesystem type, pre-selected in the "Create Partition" dialog.
# The filesystem type selected here is also used for automated install
# modes (Erase, Replace and Alongside).
# Suggested values: ext2, ext3, ext4, reiser, xfs, jfs, btrfs
# If nothing is specified, Calamares defaults to "ext4".
defaultFileSystemType: "ext4"
# 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.
# Support is offered to system integrators that wish to do so, through the
# Calamares bug tracker, as well as in #calamares on Freenode.
# For more information on setting up GRUB2 for Calamares with LUKS, see
# https://github.com/calamares/calamares/wiki/LUKS-Deployment
#
# If nothing is specified, LUKS is enabled in automated modes.
#enableLuksAutomatedPartitioning: true
---
unpack:
- source: "/lib/live/mount/medium/live/filesystem.squashfs"
sourcefs: "squashfs"
destination: ""
---
userGroup: users
defaultGroups:
- cdrom
- floppy
- sudo
- audio
- dip
- video
- plugdev
- netdev
- lpadmin
- scanner
- bluetooth
autologinGroup: autologin
sudoersGroup: sudo
setRootPassword: false
---
prettyName: "Webview"
url: "https://aims.ac.za"
---
showSupportUrl: true
showKnownIssuesUrl: true
showReleaseNotesUrl: true
requirements:
requiredStorage: 5.5
requiredRam: 1.0
check:
- storage
- ram
- power
- internet
- root
required:
- storage
- ram
- root
---
type: "job"
name: "mount-media-chroot"
interface: "process"
command: "/usr/sbin/mount-media-chroot"
chroot: false
#!/bin/bash
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
if [ -d /sys/firmware/efi/efivars ]; then
echo " * Replacing grub-pc with grub-efi..."
# grub-probe doesn't work in a chroot...
mv $CHROOT/usr/sbin/grub-probe $CHROOT/usr/sbin/grub-probe.bak
echo "exit 0" > $CHROOT/usr/sbin/grub-probe
chmod +x $CHROOT/usr/sbin/grub-probe
chroot $CHROOT apt-get --allow-unauthenticated -y install grub-efi
mv -f $CHROOT/usr/sbin/grub-probe.bak $CHROOT/usr/sbin/grub-probe
fi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment