setup-gummiboot-conf: fix non-existing kernels handling
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 7 Nov 2013 12:54:34 +0000 (14:54 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 7 Nov 2013 13:25:19 +0000 (15:25 +0200)
commit11eb2c69d49e56e5d5fec2cf02e428419eebbadd
treee84a9773fa5349cc7d57c57c800294e8ff0312e2
parent15b7894de52f548e3a4c70f05437ea138839a6ea
setup-gummiboot-conf: fix non-existing kernels handling

This patch is a bug-fix and it fixes the case when the default entry in
'loader.conf' does not actually exist in 'loader/entries'. Instead of failing,
we should just find the newest existing version of the kernel.

Change-Id: I61e169f37b5487b8abd6188a771f37f2f08ab328
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
setup-gummiboot-conf