Skip to content

Commit

Permalink
Merge pull request #90 from ejoerns/vo/topic/skip-raw-slot
Browse files Browse the repository at this point in the history
install: skip slot status update for raw slots
  • Loading branch information
jluebbe committed Dec 16, 2016
2 parents 601d607 + 5f0f5fc commit 9a38740
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/install.c
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,11 @@ static gboolean launch_and_wait_default_handler(RaucInstallArgs *args, gchar* bu

r_context_end_step("copy_image", TRUE);

if (g_strcmp0(dest_slot->type, "raw") == 0) {
g_message("Skipping slot status update for raw slot %s ", dest_slot->device);
goto image_out;
}

if (g_strcmp0(dest_slot->type, "nand") == 0) {
g_message("Skipping slot status update for nand slot %s ", dest_slot->device);
goto image_out;
Expand Down

0 comments on commit 9a38740

Please sign in to comment.