workstation-ostree-config/compose.sh

13 lines
290 B
Bash
Raw Normal View History

#!/bin/sh
set -eu
2022-08-14 23:08:23 +02:00
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
2022-08-14 23:08:23 +02:00
rpm-ostree compose tree --unified-core --cachedir=$CACHE --repo=$REPO x13-gen1-sway-desktop.yaml