2 # Copyright (C) 2019 Wind River Systems, Inc.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
21 ------------------------
23 git clone --branch r3_rebase git@github.com:zbsarashki/staging-stx.git
29 ------------------------
31 This layer enables starlingx on poky.
35 -------------------------
37 This layer depends on:
40 URI: git://git.openembedded.org/meta-openembedded/
47 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.
50 -------------------------
56 Building the meta-stx layer
57 ---------------------------
62 mkdir -p $P/workspace/{layers,build}
63 cd $P/workspace/layers
65 git clone --branch thud git://git.yoctoproject.org/poky.git
66 git clone --branch thud git://git.openembedded.org/meta-openembedded
67 git clone --branch thud git://git.yoctoproject.org/meta-virtualization
68 git clone --branch thud git://git.yoctoproject.org/meta-cloud-services
69 git clone --branch thud git://git.yoctoproject.org/meta-intel
70 git clone --branch thud git://git.yoctoproject.org/meta-intel-qat
71 git clone --branch thud git://git.yoctoproject.org/meta-selinux
72 git clone --branch thud git://git.yoctoproject.org/meta-security
73 git clone --branch thud https://github.com/jiazhang0/meta-secure-core.git
74 git clone --branch thud https://github.com/intel-iot-devkit/meta-iot-cloud.git
75 git clone --branch thud https://github.com/rauc/meta-rauc.git
76 git clone --branch thud git://git.yoctoproject.org/meta-intel
77 git clone --branch thud git://git.yoctoproject.org/meta-intel-qat
78 git clone --branch thud https://github.com/intel-iot-devkit/meta-iot-cloud.git
79 git clone https://github.com/zbsarashki/meta-stx.git
82 Add the following layers to conf/bblayers.conf
88 cd $P/workspace/layers/poky
89 source oe-init-build-env $P/workspace/build
91 cat > conf/bblayers.conf << EOF
92 # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
93 # changes incompatibly
94 POKY_BBLAYERS_CONF_VERSION = "2"
100 $P/workspace/layers/poky/meta \\
101 $P/workspace/layers/poky/meta-poky \\
102 $P/workspace/layers/poky/meta-yocto-bsp \\
103 $P/workspace/layers/meta-openembedded/meta-oe \\
104 $P/workspace/layers/meta-openembedded/meta-networking \\
105 $P/workspace/layers/meta-openembedded/meta-filesystems \\
106 $P/workspace/layers/meta-openembedded/meta-perl \\
107 $P/workspace/layers/meta-openembedded/meta-python \\
108 $P/workspace/layers/meta-openembedded/meta-webserver \\
109 $P/workspace/layers/meta-openembedded/meta-initramfs \\
110 $P/workspace/layers/meta-openembedded/meta-gnome \\
111 $P/workspace/layers/meta-virtualization \\
112 $P/workspace/layers/meta-cloud-services \\
113 $P/workspace/layers/meta-cloud-services/meta-openstack \\
114 $P/workspace/layers/meta-cloud-services/meta-openstack-aio-deploy \\
115 $P/workspace/layers/meta-cloud-services/meta-openstack-compute-deploy \\
116 $P/workspace/layers/meta-cloud-services/meta-openstack-controller-deploy \\
117 $P/workspace/layers/meta-cloud-services/meta-openstack-qemu \\
118 $P/workspace/layers/meta-cloud-services/meta-openstack-swift-deploy \\
119 $P/workspace/layers/meta-secure-core/meta-signing-key \\
120 $P/workspace/layers/meta-secure-core/meta-efi-secure-boot \\
121 $P/workspace/layers/meta-secure-core/meta-encrypted-storage \\
122 $P/workspace/layers/meta-secure-core/meta-integrity \\
123 $P/workspace/layers/meta-secure-core/meta-tpm2 \\
124 $P/workspace/layers/meta-secure-core/meta \\
125 $P/workspace/layers/meta-security \\
126 $P/workspace/layers/meta-security/meta-security-compliance \\
127 $P/workspace/layers/meta-selinux \\
128 $P/workspace/layers/meta-intel \\
129 $P/workspace/layers/meta-intel-qat \\
130 $P/workspace/layers/meta-rauc \\
131 $P/workspace/layers/meta-iot-cloud \\
132 $P/workspace/layers/meta-stx \\
135 sed -i -e 's/^\(#MACHINE.*\"qemuarm\"\)/MACHINE \?= \"intel-corei7-64\"\n\1/g' conf/local.conf
136 echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"' >> conf/local.conf
141 ---------------------------
146 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.
148 Disclaimer of Warranty / No Support: Wind River does not provide support and maintenance services for this software, under Wind River’s 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.