From ba27da737e50a132e5cbfaede4627f90e8974592 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 26 Jun 2016 18:08:03 +0200 Subject: img4: Print message about personalizing component --- src/img4.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/img4.c b/src/img4.c index 18d8ab3..50378c7 100644 --- a/src/img4.c +++ b/src/img4.c @@ -94,6 +94,8 @@ int img4_stitch_component(const char* component_name, const unsigned char* compo return -1; } + info("Personalizing IMG4 component %s...\n", component_name); + /* first we need check if we have to change the tag for the given component */ // FIXME: write proper ASN1 handling code for this if (strcmp(component_name, "RestoreKernelCache") == 0) { @@ -126,6 +128,7 @@ int img4_stitch_component(const char* component_name, const unsigned char* compo if (img4header) { free(img4header); } + error("ERROR: out of memory when personalizing IMG4 component %s\n", component_name); return -1; } p = outbuf; -- cgit v1.1-32-gdbae