particle-os-cli/scripts/post_build.sh

11 lines
187 B
Bash

#!/usr/bin/env bash
set -euo pipefail
if ! command -v bootc; then
rpm-ostree install bootc
fi
bootupctl backend generate-update-metadata
rm -fr /tmp/* /var/*
ostree container commit