workstation-ostree-config/compose.sh

13 lines
274 B
Bash
Raw Normal View History

#!/bin/sh
set -eu
2022-05-11 23:12:32 +02:00
CACHE=/var/cache/x1-gen7-sway-ostree
REPO=/srv/ostree/repo
mkdir -p $CACHE
if [ ! -d $REPO/objects ]; then
ostree --repo=$REPO init --mode=archive-z2
fi
2021-06-17 00:49:38 +02:00
rpm-ostree compose tree --unified-core --cachedir=$CACHE --repo=$REPO x1-gen7-sway-desktop.yaml