workstation-ostree-config/compose.sh

13 lines
258 B
Bash
Raw Normal View History

#!/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
2021-06-17 00:49:38 +02:00
rpm-ostree compose tree --unified-core --cachedir=$CACHE --repo=$REPO x1-gen7-sway-desktop.yaml