tests/test-admin-deploy-none: Update comment for #1774 status

Closes: #1831
Approved by: jlebon
This commit is contained in:
Robert Fairley 2019-03-14 19:17:37 -04:00 committed by Atomic Bot
parent ba96d7ed7a
commit 144e99ce47
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ cd ${test_tmpdir}
rm httpd osdata testos-repo sysroot -rf
setup_os_repository "archive" "sysroot.bootloader none"
${CMD_PREFIX} ostree pull-local --repo=sysroot/ostree/repo --remote testos testos-repo testos/buildmaster/x86_64-runtime
# Test grub2 does not get detected with bootloader configuration "none"
# (see https://github.com/ostreedev/ostree/issues/1774)
# Test that configuring sysroot.bootloader="none" is a workaround for previous
# grub2 bootloader issue (see https://github.com/ostreedev/ostree/issues/1774)
mkdir -p sysroot/boot/grub2 && touch sysroot/boot/grub2/grub.cfg
${CMD_PREFIX} ostree admin deploy --karg=root=LABEL=MOO --karg=quiet --os testos testos/buildmaster/x86_64-runtime > out.txt
assert_file_has_content out.txt "Bootloader updated.*"