grub2: Exit gracefully if there's no system ostree repository
authorColin Walters <walters@verbum.org>
Tue, 9 Jan 2018 15:22:50 +0000 (10:22 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 9 Jan 2018 18:30:59 +0000 (18:30 +0000)
commit2c2e6799bed208306dba600c8a2de813660ffd93
tree774393644875ffdb7b71fbf4efc03214bd6db5cb
parent9fe6ddbaef9cd34a711c0322197b39e87571aa78
grub2: Exit gracefully if there's no system ostree repository

Apparently there testing systems that literally install *all*
packages.  Having `ostree-grub2` currently causes grub2 to fail
on a non-ostree managed system.  Let's just gracefully exit
if there's no system repository.

https://bugzilla.redhat.com/show_bug.cgi?id=1532668

Closes: #1399
Approved by: jlebon
src/boot/grub2/grub2-15_ostree