c453ecf6f987e94b665e9ddac694fe2b655c3d46
[workstation-ostree-config.git] / compose.sh
1 #!/bin/sh
2 set -eu
3 CACHE=/var/cache/ostree
4 REPO=/var/tmp/repo
5
6 mkdir -p $CACHE
7
8 if [ ! -d $REPO/objects ]; then
9     ostree --repo=$REPO init --mode=archive-z2
10 fi
11
12 rpm-ostree compose tree --cachedir=$CACHE --repo=$REPO pitti-desktop.yaml