fix: May not be possible to just install bootc, run bootupctl if bootc already exists
This commit is contained in:
parent
486961f3d3
commit
741ec811df
1 changed files with 2 additions and 3 deletions
|
|
@ -2,10 +2,9 @@
|
|||
|
||||
set -euo pipefail
|
||||
|
||||
if ! command -v bootc; then
|
||||
rpm-ostree install bootc
|
||||
if command -v bootc; then
|
||||
bootupctl backend generate-update-metadata
|
||||
fi
|
||||
|
||||
bootupctl backend generate-update-metadata
|
||||
rm -fr /tmp/* /var/*
|
||||
ostree container commit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue