bump Linux 3.18 trunk revision to 47027; bump Linux 3.18 kernel version to 3.18.21
[ps3openwrt_patches.git] / 0300-kexec-tools-print-sha256-digest.patch
blob112b3bce2052348f48049dcc6d7f966f37aa9eb3
1 --- a/kexec/kexec.c 2011-11-09 01:34:30.000000000 +0100
2 +++ b/kexec/kexec.c 2013-02-16 11:38:44.867057809 +0100
3 @@ -634,6 +634,12 @@ static void update_purgatory(struct kexe
4 sizeof(region));
5 elf_rel_set_symbol(&info->rhdr, "sha256_digest", &digest,
6 sizeof(digest));
8 + printf("sha256_digest: ");
9 + for(i = 0; i < sizeof(digest); i++) {
10 + printf("%hhx ", digest[i]);
11 + }
12 + printf("\n");