Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions system_files/shared/usr/share/ublue-os/just/update.just
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ update:
if command -v bctl &>/dev/null; then
exec bctl update
fi
echo "Starting OS image update (this may take a while as layers download)..."
sudo bootc upgrade
# Updates system Flatpaks
if flatpak remotes | grep -q system; then
Expand Down
1 change: 1 addition & 0 deletions tests/test_update_just.bats
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ _run() {
@test "update: runs bootc upgrade when no layered packages are present" {
_run "${UPDATE_SCRIPT}"
[ "${status}" -eq 0 ]
[[ "${output}" == *"Starting OS image update"* ]]
grep -qF "sudo bootc upgrade" "${COMMAND_LOG}"
! grep -qF "rpm-ostree upgrade" "${COMMAND_LOG}"
}
Expand Down
Loading