mirror of
https://github.com/clearlinux/clr-installer.git
synced 2026-09-02 11:41:44 +00:00
Add a message printed on boot that gives basic information and instructions to login as root and run clr-installer to install onto this sytem. Also change $PS1 on the installer image after logged in to indicate we're booted into a live image. Remove clr-installer.service from the Makefile and remove all the toggling on or off from the yaml files. Signed-off-by: Brian J Lovin <brian.j.lovin@intel.com>
44 lines
899 B
YAML
44 lines
899 B
YAML
#clear-linux-config
|
|
|
|
# switch between aliases if you want to install to an actuall block device
|
|
# i.e /dev/sda
|
|
block-devices: [
|
|
{name: "installer", file: "dev-clear-installer.img"}
|
|
]
|
|
|
|
targetMedia:
|
|
- name: ${installer}
|
|
type: disk
|
|
children:
|
|
- name: ${installer}1
|
|
fstype: vfat
|
|
mountpoint: /boot
|
|
size: "150M"
|
|
type: part
|
|
- name: ${installer}2
|
|
fstype: swap
|
|
size: "256M"
|
|
type: part
|
|
- name: ${installer}3
|
|
fstype: ext4
|
|
mountpoint: /
|
|
size: "3.0G"
|
|
type: part
|
|
|
|
bundles: [os-core, os-core-update, clr-installer]
|
|
autoUpdate: false
|
|
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]}
|
|
|
|
pre-install: [
|
|
{cmd: "scripts/developer-image-pre.sh"}
|
|
]
|
|
post-install: [
|
|
{cmd: "scripts/developer-image-post.sh ${chrootDir}"},
|
|
]
|