#!/bin/sh set -eu CACHE=/var/cache/x13-gen1-sway-ostree REPO=/srv/ostree/x13-gen1-sway-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 x13-gen1-sway-desktop.yaml