#! /bin/bash
set -e

mkdir -p build-ubuntu
cd build-ubuntu
cmake -DCMAKE_BUILD_TYPE=Release ../src

make -j8
make package
cp aktualizr*.deb /persistent/aktualizr.deb

git -C ../src describe > /persistent/aktualizr-version

#! /bin/bash
set -e

mkdir -p build-ubuntu
cd build-ubuntu
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_OSTREE=OFF -DBUILD_DEB=ON ../src

make -j8
make package
cp aktualizr*.deb /persistent/aktualizr.deb

git -C ../src describe > /persistent/aktualizr-version

Build Ubuntu package with Debian package support
Build Ubuntu package with Debian package support

Change-Id: I820fa8074f695430ce2eb51f6d8bf14b1a933f58
