[tools] port lzmp that is packaged by debian, build it, but do not install it yet
[openwrt.git] / tools / firmware-utils / src / imagetag.c
index 31ba9b9..b392cab 100644 (file)
@@ -233,7 +233,7 @@ int tagfile(const char *kernel, const char *rootfs, const char *bin,
        /* Choose and compute the CRC32 that should be inserted in the tag */
        /* and fill reserved tag following profile specification           */
        if ( profile && (strcmp(profile, "alice") == 0)) {
-               crc = compute_crc32(crc, binfile, kerneloff - fwaddr, kernellen);
+               crc = compute_crc32(crc, binfile, kerneloff - fwaddr, kernellen + rootfsoffpadlen);
                /* Should fill alice_data and put them on reserved1 */
        }
        else {
This page took 0.029964 seconds and 4 git commands to generate.