Merge pull request #2285 from cgwalters/log-bootloader-stuff

deploy: Add subbootversion to journal
This commit is contained in:
OpenShift Merge Robot authored and GitHub committed 2021-02-28 16:21:15 +01:00
commit c97aafcda3
2 files changed
+14 -6

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ case "${AUTOPKGTEST_REBOOT_MARK:-}" in
rpm-ostree status
# Assert that the previous boot had a journal entry for it
journalctl -b "-1" -u ostree-finalize-staged.service > svc.txt
assert_file_has_content svc.txt 'Bootloader updated; bootconfig swap: yes; deployment count change: 1'
assert_file_has_content svc.txt 'Bootloader updated; bootconfig swap: yes;.*deployment count change: 1'
rm -f svc.txt
# And there should not be a staged deployment
test '!' -f /run/ostree/staged-deployment