mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 17:23:20 +00:00
trivial: Fix CI failure by using the correct enum type
This commit is contained in:
parent
38b357b131
commit
86923b95e9
@ -13,6 +13,7 @@ G_BEGIN_DECLS
|
||||
typedef enum {
|
||||
FU_APP_FLAGS_NONE = 0,
|
||||
FU_APP_FLAGS_NO_IDLE_SOURCES = 1 << 0,
|
||||
FU_APP_FLAGS_IS_OFFLINE = 1 << 1,
|
||||
FU_APP_FLAGS_LAST
|
||||
} FuAppFlags;
|
||||
|
||||
|
@ -1468,7 +1468,7 @@ fu_engine_install (FuEngine *self,
|
||||
}
|
||||
|
||||
/* schedule this for the next reboot if not in system-update.target */
|
||||
if ((self->app_flags & FU_ENGINE_LOAD_FLAG_IS_OFFLINE) == 0 &&
|
||||
if ((self->app_flags & FU_APP_FLAGS_IS_OFFLINE) == 0 &&
|
||||
(flags & FWUPD_INSTALL_FLAG_OFFLINE) > 0)
|
||||
return fu_plugin_runner_schedule_update (plugin, device, blob_cab, error);
|
||||
|
||||
|
@ -25,7 +25,6 @@ G_DECLARE_FINAL_TYPE (FuEngine, fu_engine, FU, ENGINE, GObject)
|
||||
typedef enum {
|
||||
FU_ENGINE_LOAD_FLAG_NONE = 0,
|
||||
FU_ENGINE_LOAD_FLAG_READONLY_FS = 1 << 0,
|
||||
FU_ENGINE_LOAD_FLAG_IS_OFFLINE = 1 << 1,
|
||||
FU_ENGINE_LOAD_FLAG_LAST
|
||||
} FuEngineLoadFlags;
|
||||
|
||||
|
@ -1371,7 +1371,7 @@ fu_main_on_bus_acquired_cb (GDBusConnection *connection,
|
||||
|
||||
/* are we running in the offline target */
|
||||
if (fu_main_is_running_offline_update (priv))
|
||||
fu_engine_add_app_flag (priv->engine, FU_ENGINE_LOAD_FLAG_IS_OFFLINE);
|
||||
fu_engine_add_app_flag (priv->engine, FU_APP_FLAGS_IS_OFFLINE);
|
||||
|
||||
/* connect to D-Bus directly */
|
||||
priv->proxy_uid =
|
||||
|
Loading…
Reference in New Issue
Block a user