Files
clr-installer/scripts/developer-image-desktop-beta.yaml
T
George T Kramer c2773b0e78 Chroot when enabling clr-installer service
When using the --root option with systemctl, libsystemd for the systemd
in the chroot will be resolved on the host.  In cases where the systemd
in the chroot is a different version from the systemd on the host, this
will result in a library not found error.  Need to chroot when eanbling
clr-installer service to avoid this problem.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2019-03-05 18:17:33 -08:00

63 lines
1.2 KiB
YAML

#clear-linux-config
# switch between aliases if you want to install to an actuall block device
# i.e /dev/sda
block-devices: [
{name: "bdevice", file: "dev-live-desktop-beta.img"}
]
targetMedia:
- name: ${bdevice}
size: "8G"
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: "7.82G"
type: part
bundles: [
bootloader,
clr-installer,
desktop-autostart,
editors,
network-basic,
openssh-server,
os-core,
os-core-update,
]
postArchive: false
postReboot: false
telemetry: 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: "scripts/developer-image-pre.sh"}
]
post-install: [
{cmd: "scripts/live-image-post-update-version.py ${chrootDir}"},
{cmd: "scripts/live-desktop-post-install.sh ${chrootDir}"},
{cmd: "scripts/developer-image-post.sh ${chrootDir}"},
{cmd: "systemctl enable clr-installer", chroot: true}
]