StarlingX layer for OpenEmbedded build system
Go to file
Jackie Huang 5ae0c0b8bb drbd-utils: fix the path of init script
The path of init script in the systemd service is not the actual
installed path, the service failed to start with error:

drbd.service: Failed at step EXEC spawning /etc/rc.d/init.d/drbd: No
such file or directory

So fix it with the correct path

fix #187

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2020-03-16 02:08:42 -04:00
classes workaround issue107: handle puppet service calls 2020-03-11 16:41:21 +08:00
conf rename distro to poky-stx and cleanup 2020-03-07 13:46:47 +08:00
issues openldap port from stx to yocto 2019-11-05 18:58:33 -08:00
recipes-bsp/grub grub: add symlinks for compatible with meta-anaconda 2020-02-29 12:23:27 +08:00
recipes-connectivity etcd: disable etcd service by default 2020-03-01 23:29:50 -08:00
recipes-containers docker-forward-journald: fix the incorrect license name 2020-03-11 12:48:51 +08:00
recipes-core pam-config: rdepends on pwquality 2020-03-15 09:19:56 +08:00
recipes-daemons/lldpd lldpd stx.3.0: port upstream patches and stx scripts 2020-02-24 06:16:53 -08:00
recipes-dbs/mysql initial checkin mariadb patches 2019-11-09 23:48:06 -08:00
recipes-devtools python-keystone: fix for the openstak-keystone service 2020-03-13 18:13:53 -04:00
recipes-extended pam-config: rdepends on pwquality 2020-03-15 09:19:56 +08:00
recipes-kernel/linux linux-yocto: Enable modules for stx.3.0 2020-02-21 10:27:52 -08:00
recipes-networking/openvswitch openvswitch: pull in stx config files 2020-02-21 12:29:27 -08:00
recipes-security/gssproxy Add gssproxy and install example conf files 2019-12-02 09:40:14 -08:00
recipes-support drbd-utils: fix the path of init script 2020-03-16 02:08:42 -04:00
recipes-upstream/python pkg port from upstream master branches 2020-01-25 16:09:02 -08:00
.gitignore Adding gitignore 2019-11-02 20:27:35 -07:00
README.md Update README.md 2020-02-02 14:10:04 -08:00

meta-stx

Build

git clone --branch r3_rebase git@github.com:zbsarashki/staging-stx.git
cd staging-stx
./setup.sh

Introduction

This layer enables starlingx on poky.

Dependencies

This layer depends on:

	URI: git://git.openembedded.org/meta-openembedded/
	revision: HEAD

	layes: meta-oe
	meta-python
	meta-networking

You are solely responsible for determining the appropriateness of using or redistributing the above dependencies and assume any risks associated with your exercise of permissions under the license.

Maintenance

Maintainer:

Building the meta-stx layer

Setup workspace

mkdir -p $P/workspace/{layers,build}
cd $P/workspace/layers

git clone --branch thud git://git.yoctoproject.org/poky.git
git clone --branch thud git://git.openembedded.org/meta-openembedded
git clone --branch thud git://git.yoctoproject.org/meta-virtualization
git clone --branch thud git://git.yoctoproject.org/meta-cloud-services
git clone --branch thud git://git.yoctoproject.org/meta-intel
git clone --branch thud git://git.yoctoproject.org/meta-intel-qat
git clone --branch thud git://git.yoctoproject.org/meta-selinux
git clone --branch thud git://git.yoctoproject.org/meta-security
git clone --branch thud https://github.com/jiazhang0/meta-secure-core.git
git clone --branch thud https://github.com/intel-iot-devkit/meta-iot-cloud.git 
git clone --branch thud https://github.com/rauc/meta-rauc.git
git clone --branch thud git://git.yoctoproject.org/meta-intel
git clone --branch thud git://git.yoctoproject.org/meta-intel-qat
git clone --branch thud https://github.com/intel-iot-devkit/meta-iot-cloud.git
git clone https://github.com/zbsarashki/meta-stx.git

Add the following layers to conf/bblayers.conf


P=Path to workspace 

cd $P/workspace/layers/poky
source oe-init-build-env $P/workspace/build

cat > conf/bblayers.conf << EOF
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
 
BBPATH = "\${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \\
	$P/workspace/layers/poky/meta \\
	$P/workspace/layers/poky/meta-poky \\
	$P/workspace/layers/poky/meta-yocto-bsp \\
	$P/workspace/layers/meta-openembedded/meta-oe \\
	$P/workspace/layers/meta-openembedded/meta-networking \\
	$P/workspace/layers/meta-openembedded/meta-filesystems \\
	$P/workspace/layers/meta-openembedded/meta-perl \\
	$P/workspace/layers/meta-openembedded/meta-python \\
	$P/workspace/layers/meta-openembedded/meta-webserver \\
	$P/workspace/layers/meta-openembedded/meta-initramfs \\
	$P/workspace/layers/meta-openembedded/meta-gnome \\
	$P/workspace/layers/meta-virtualization \\
	$P/workspace/layers/meta-cloud-services \\
	$P/workspace/layers/meta-cloud-services/meta-openstack \\
	$P/workspace/layers/meta-cloud-services/meta-openstack-aio-deploy \\
	$P/workspace/layers/meta-cloud-services/meta-openstack-compute-deploy \\
	$P/workspace/layers/meta-cloud-services/meta-openstack-controller-deploy \\
	$P/workspace/layers/meta-cloud-services/meta-openstack-qemu \\
	$P/workspace/layers/meta-cloud-services/meta-openstack-swift-deploy \\
	$P/workspace/layers/meta-secure-core/meta-signing-key \\
	$P/workspace/layers/meta-secure-core/meta-efi-secure-boot \\
	$P/workspace/layers/meta-secure-core/meta-encrypted-storage \\
	$P/workspace/layers/meta-secure-core/meta-integrity \\
	$P/workspace/layers/meta-secure-core/meta-tpm2 \\
	$P/workspace/layers/meta-secure-core/meta \\
	$P/workspace/layers/meta-security \\
	$P/workspace/layers/meta-security/meta-security-compliance \\
	$P/workspace/layers/meta-selinux \\
	$P/workspace/layers/meta-intel \\
	$P/workspace/layers/meta-intel-qat \\
	$P/workspace/layers/meta-rauc \\
	$P/workspace/layers/meta-iot-cloud \\
	$P/workspace/layers/meta-stx \\
	"
EOF
	sed -i -e 's/^\(#MACHINE.*\"qemuarm\"\)/MACHINE \?= \"intel-corei7-64\"\n\1/g' conf/local.conf
	echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"' >> conf/local.conf

Use Case:

Legal Notices

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this software are for identification purposes only. Wind River is a registered trademarks of Wind River Systems, Inc. Linux is a registered trademark of Linus Torvalds.

Disclaimer of Warranty / No Support: Wind River does not provide support and maintenance services for this software, under Wind Rivers standard Software Support and Maintenance Agreement or otherwise. Unless required by applicable law, Wind River provides the software (and each contributor provides its contribution) on an “AS IS” BASIS, WITHOUT WARRANTIES OF ANY KIND, either express or implied, including, without limitation, any warranties of TITLE, NONINFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the software and assume any risks associated with your exercise of permissions under the license.