It seems odd to me to compute the UUID at install time instead of at flash-kernel run time.
I dont understand why you change the return 0 to return -1 in write_to_flash; it looks bogus to me.
It seems odd to me to compute the UUID at install time instead of at flash-kernel run time.
I dont understand why you change the return 0 to return -1 in write_to_flash; it looks bogus to me.