fix: Add post build script to prepare image for ISO creation
This commit is contained in:
parent
fbf57e5c83
commit
de45aeb015
2 changed files with 13 additions and 1 deletions
11
scripts/post_build.sh
Normal file
11
scripts/post_build.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue