Fix/finish implementation of integer-based LUC types
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Thu, 19 Jul 2012 14:53:53 +0000 (15:53 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Thu, 19 Jul 2012 16:01:21 +0000 (17:01 +0100)
commit140dae984b5f627a6105d9c879b1b734682a90d5
treea996c3f14e7b433587458cdc94a8bb9dd1b28e2f
parent3c0908d650718d12fb5ecaa4a1d8c62683b1e11b
Fix/finish implementation of integer-based LUC types

This commit fixes the use of integers as keys for GHashTable. It also
parses the prioritised LUC types into integer values and stores them
in a GArray. The code for computing the start order is updated to also
use integers for the startup groups.

This change also fixes luc_starter_compare_luc_types(), which (a) didn't
work at all and (b) had to be converted to comparing integers, not
strings.
boot-manager/boot-manager-service.c
boot-manager/glib-extensions.c
boot-manager/glib-extensions.h
boot-manager/luc-starter.c