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
|
set -euo pipefail
|
||||||
|
|
||||||
if ! command -v bootc; then
|
if command -v bootc; then
|
||||||
rpm-ostree install bootc
|
bootupctl backend generate-update-metadata
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bootupctl backend generate-update-metadata
|
|
||||||
rm -fr /tmp/* /var/*
|
rm -fr /tmp/* /var/*
|
||||||
ostree container commit
|
ostree container commit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue