2019-06-17 21:42:46 +02:00
|
|
|
#!/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
|
2019-06-17 21:42:46 +02:00
|
|
|
|
|
|
|
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
|
2022-12-24 22:16:08 +01:00
|
|
|
ostree summary --repo=$REPO --update
|
|
|
|
|