Skip to content

stx packaging integration

Marcela Rosales edited this page Apr 10, 2019 · 4 revisions

live_img and stx-package integration

  1. First you need to setup your developer environment
git clone https://github.com/starlingx-staging/stx-packaging.git
cd stx-packaging
./setup.py
  1. Then, create some starlingx packages:
# You can continue the demo with only these two
make package PKG=x.stx-fault/fm-common DISTRO=ubuntu
make package PKG=x.stx-fault/fm-mgr DISTRO=ubuntu
# You could leave these for later
make package PKG=x.stx-update/tsconfig DISTRO=ubuntu
make package PKG=x.stx-config/sysinv/cgts-client DISTRO=ubuntu
make package PKG=x.stx-fault/fm-api DISTRO=ubuntu
make package PKG=x.stx-fault/fm-rest-api DISTRO=ubuntu

These commands will put the starlingx .deb files in /usr/local/mydebs.

  1. Generate live iso
make liveimg

The live image will be this one stx-packaging/live_img/ubuntu/ubuntu-live.iso.

  1. Test that it's working.
qemu-system-x86_64 --enable-kvm -m 1024 -cdrom ubuntu-live.iso

Log in as root.

Clone this wiki locally