e6a7fff91e
Added stx-config, stx-fault, and stx-metal.
79 lines
3.5 KiB
Plaintext
79 lines
3.5 KiB
Plaintext
Staging:
|
|
|
|
This is an initial layer to port starlingx to yocto linux, and
|
|
not ready for consumption yet.
|
|
|
|
###########################################################
|
|
************************************************************
|
|
setup build environment
|
|
************************************************************
|
|
###########################################################
|
|
|
|
|
|
mkdir -p layers
|
|
cd 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-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/flihp/meta-measured.git
|
|
git clone --branch thud https://github.com/intel-iot-devkit/meta-iot-cloud.git
|
|
git clone https://github.com/zbsarashki/meta-starlingX.git
|
|
|
|
cd poky
|
|
. ./oe-init-build-env /path/to/prj/dir
|
|
|
|
Next steps: bblayers, local.conf, and setup starlinX repo:
|
|
|
|
###########################################################
|
|
************************************************************
|
|
bblayers.conf:
|
|
************************************************************
|
|
###########################################################
|
|
Then start a project and edit the bblayers.conf file
|
|
to include the following layers :
|
|
PATH_TO_LOCAL_REPO/layers/poky/meta
|
|
PATH_TO_LOCAL_REPO/layers/poky/meta-poky
|
|
PATH_TO_LOCAL_REPO/layers/poky/meta-yocto-bsp
|
|
PATH_TO_LOCAL_REPO/layers/meta-openembedded/meta-oe
|
|
PATH_TO_LOCAL_REPO/layers/meta-openembedded/meta-networking
|
|
PATH_TO_LOCAL_REPO/layers/meta-openembedded/meta-filesystems
|
|
PATH_TO_LOCAL_REPO/layers/meta-openembedded/meta-perl
|
|
PATH_TO_LOCAL_REPO/layers/meta-openembedded/meta-python
|
|
PATH_TO_LOCAL_REPO/layers/meta-openembedded/meta-webserver
|
|
PATH_TO_LOCAL_REPO/layers/meta-openembedded/meta-initramfs
|
|
PATH_TO_LOCAL_REPO/layers/meta-virtualization
|
|
PATH_TO_LOCAL_REPO/layers/meta-cloud-services
|
|
PATH_TO_LOCAL_REPO/layers/meta-cloud-services/meta-openstack
|
|
PATH_TO_LOCAL_REPO/layers/meta-cloud-services/meta-openstack-aio-deploy
|
|
PATH_TO_LOCAL_REPO/layers/meta-cloud-services/meta-openstack-compute-deploy
|
|
PATH_TO_LOCAL_REPO/layers/meta-cloud-services/meta-openstack-controller-deploy
|
|
PATH_TO_LOCAL_REPO/layers/meta-cloud-services/meta-openstack-qemu
|
|
PATH_TO_LOCAL_REPO/layers/meta-cloud-services/meta-openstack-swift-deploy
|
|
PATH_TO_LOCAL_REPO/layers/meta-secure-core/meta
|
|
PATH_TO_LOCAL_REPO/layers/meta-secure-core/meta-tpm2
|
|
PATH_TO_LOCAL_REPO/layers/meta-secure-core/meta-signing-key
|
|
PATH_TO_LOCAL_REPO/layers/meta-secure-core/meta-efi-secure-boot
|
|
PATH_TO_LOCAL_REPO/layers/meta-secure-core/meta-encrypted-storage
|
|
PATH_TO_LOCAL_REPO/layers/meta-secure-core/meta-integrity
|
|
PATH_TO_LOCAL_REPO/layers/meta-security/meta-tpm
|
|
PATH_TO_LOCAL_REPO/layers/meta-selinux
|
|
PATH_TO_LOCAL_REPO/layers/meta-intel
|
|
PATH_TO_LOCAL_REPO/layers/meta-starlingX
|
|
|
|
###########################################################
|
|
************************************************************
|
|
local.conf:
|
|
************************************************************
|
|
###########################################################
|
|
|
|
# Set distro features
|
|
DISTRO_FEATURES_append = " virtualization"
|
|
DISTRO_FEATURES_append = " openstack"
|