workstation-ostree-config/compose.sh
Martin Pitt a3397a39b9 Define tree for pitti's workstation
Also add helper script for running the ostree build.
2021-05-01 13:36:56 +02:00

12 lines
251 B
Bash
Executable file

#!/bin/sh
set -eu
CACHE=/var/cache/ostree
REPO=/var/tmp/repo
mkdir -p $CACHE
if [ ! -d $REPO/objects ]; then
ostree --repo=$REPO init --mode=archive-z2
fi
rpm-ostree compose tree --unified-core --cachedir=$CACHE --repo=$REPO pitti-desktop.yaml