Add initial meta-stx to support StarlingX build
meta-stx is a yocto compatible layer that includes
required recipes to build image for StarlingX on top
of yocto 2.7.3 (warrior).
And the following components are included:
- Fault management
- Configuration management
- Software management
- Host management
- Service management
- Ansible and puppet for provisioning
Issue-ID: INF-8
Issue-ID: INF-9
Issue-ID: INF-10
Issue-ID: INF-11
Issue-ID: INF-12
Issue-ID: INF-13
Issue-ID: INF-19
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I4e85c8232df3bf390aa247c75061a54b914bd28a
diff --git a/meta-stx/conf/distro/files/syslinux.cfg b/meta-stx/conf/distro/files/syslinux.cfg
new file mode 100644
index 0000000..cc23c56
--- /dev/null
+++ b/meta-stx/conf/distro/files/syslinux.cfg
@@ -0,0 +1,84 @@
+display splash.cfg
+timeout 0
+F1 help.txt
+F2 devices.txt
+F3 splash.cfg
+serial 0 115200
+
+# Pull in the menu User Interface
+ui vesamenu.c32
+
+menu title Select kernel options and boot kernel
+menu tabmsg Press [Tab] to edit, [Return] to select, [ESC] to return to previous menu
+
+# Dark grey
+menu background #ff555555
+
+# ----------------- NOTE -----------------
+# If you are updating label numbers, make sure that controllerconfig/clone.py
+# is in sync with your changes (only serial console entries).
+# STANDARD_STANDARD = '0'
+# STANDARD_EXTENDED = 'S0'
+# AIO_STANDARD = '2'
+# AIO_EXTENDED = 'S2'
+# AIO_LL_STANDARD = '4'
+# AIO_LL_EXTENDED = 'S4'
+# ----------------------------------------
+
+
+# Standard Controller menu
+menu begin
+ menu title Standard Controller Configuration
+
+ # Serial Console submenu
+ label 0
+ menu label Serial Console
+ menu disable
+ kernel /bzImage
+ append initrd=/initrd rootwait console=ttyS0,115200 inst.text serial inst.stage2=hd:LABEL=oe_iso_boot boot_device=sda rootfs_device=sda biosdevname=0 usbcore.autosuspend=-1 inst.gpt security_profile=standard user_namespace.enable=1 ks=/installer-config/controller_ks.cfg
+
+ # Graphical Console submenu
+ label 1
+ menu label Graphical Console
+ menu disable
+ kernel /bzImage
+ append initrd=/initrd rootwait console=tty0 inst.text inst.stage2=hd:LABEL=oe_iso_boot boot_device=sda rootfs_device=sda biosdevname=0 usbcore.autosuspend=-1 inst.gpt security_profile=standard user_namespace.enable=1 ks=/installer-config/controller_ks.cfg
+menu end
+
+menu SEPARATOR
+
+# AIO Controller menu
+menu begin
+ menu title All-in-one Controller Configuration
+
+ # Serial Console submenu
+ label 2
+ menu label Serial Console
+ kernel /bzImage
+ append initrd=/initrd rootwait console=ttyS0,115200 inst.text serial inst.stage2=hd:LABEL=oe_iso_boot boot_device=sda rootfs_device=sda biosdevname=0 usbcore.autosuspend=-1 inst.gpt security_profile=standard user_namespace.enable=1 ks=/installer-config/ks.cfg
+
+ # Graphical Console submenu
+ label 3
+ menu label Graphical Console
+ kernel /bzImage
+ append initrd=/initrd rootwait console=tty0 inst.text inst.stage2=hd:LABEL=oe_iso_boot boot_device=sda rootfs_device=sda biosdevname=0 usbcore.autosuspend=-1 inst.gpt security_profile=standard user_namespace.enable=1 ks=/installer-config/ks.cfg
+menu end
+
+menu SEPARATOR
+
+# AIO (Low Latency) Controller menu
+menu begin
+ menu title All-in-one (lowlatency) Controller Configuration
+
+ # Serial Console submenu
+ label 4
+ menu label Serial Console
+ kernel /bzImage
+ append nitrd=/initrd rootwait console=ttyS0,115200 inst.text serial inst.stage2=hd:LABEL=oe_iso_boot boot_device=sda rootfs_device=sda biosdevname=0 usbcore.autosuspend=-1 inst.gpt security_profile=standard user_namespace.enable=1 ks=/installer-config/aio_lowlatency_ks.cfg
+
+ # Graphical Console submenu
+ label 5
+ menu label Graphical Console
+ kernel /bzImage
+ append initrd=/initrd rootwait console=tty0 inst.text inst.stage2=hd:LABEL=oe_iso_boot boot_device=sda rootfs_device=sda biosdevname=0 usbcore.autosuspend=-1 inst.gpt security_profile=standard user_namespace.enable=1 ks=/installer-config/aio_lowlatency_ks.cfg
+menu end