Files
clr-installer/scripts/developer-live-desktop.yaml
T
2019-05-13 17:41:11 -07:00

100 lines
2.1 KiB
YAML

#clear-linux-config
# c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil
# vi: set shiftwidth=2 tabstop=2 expandtab:
# :indentSize=2:tabSize=2:noTabs=true:
# File: developer-live-desktop.yaml
# Use Case: Live Image which boots into GUI Desktop
# Optionally allows for installing Clear Linux OS
# using the GUI clr-installer from the toolbar.
# switch between aliases if you want to install to an actual block device
# i.e /dev/sda
block-devices: [
{name: "bdevice", file: "dev-clear-live-desktop.img"}
]
# Ensure this fits on an 8GB USB driver by sizing
# to less then 8 billion bytes like manufactures
targetMedia:
- name: ${bdevice}
size: "7800000000"
type: disk
children:
- name: ${bdevice}1
fstype: vfat
mountpoint: /boot
size: "150M"
type: part
- name: ${bdevice}2
fstype: swap
size: "32M"
type: part
- name: ${bdevice}3
fstype: ext4
mountpoint: /
size: "0" # Fill the test of the image
type: part
bundles: [
bootloader,
c-basic,
clr-installer-gui,
desktop-autostart,
editors,
gimp,
libreoffice,
network-basic,
openssh-server,
os-core,
os-core-update,
NetworkManager-extras,
package-utils,
pidgin,
vlc,
]
postArchive: false
postReboot: false
telemetry: false
iso: true
autoUpdate: false
keyboard: us
language: en_US.UTF-8
kernel: kernel-native
kernel-arguments: {add: [clri.loglevel=4], remove: [console=ttyS0,115200n8]}
users:
- login: clrlinux
username: Clear Linux OS
admin: true
pre-install: [
{cmd: "${yamlDir}/developer-image-pre.sh"}
]
post-install: [
{cmd: "${yamlDir}/live-image-post-update-version.py ${chrootDir}"},
{cmd: "${yamlDir}/live-desktop-post-install.sh ${chrootDir}"},
{cmd: "${yamlDir}/developer-image-post.sh ${chrootDir}"},
{cmd: "/bin/rm -f ${chrootDir}/usr/share/applications/clr-installer.desktop"},
]
version: 0
#
# Editor modelines - https://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 2
# tab-width: 2
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=2 tabstop=2 expandtab:
# :indentSize=2:tabSize=2:noTabs=true:
#