[tools] revert changeset 15081 seems to break Alice box devices
authorFlorian Fainelli <florian@openwrt.org>
Tue, 7 Apr 2009 15:14:40 +0000 (15:14 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 7 Apr 2009 15:14:40 +0000 (15:14 +0000)
SVN-Revision: 15140

tools/firmware-utils/src/imagetag.c

index f5d0cdc..00dad29 100644 (file)
@@ -191,7 +191,7 @@ int tagfile(const char *kernel, const char *rootfs, const char *bin,
        fseek(binfile, rootfsoff - fwaddr, SEEK_SET);
        while (rootfsfile && !feof(rootfsfile) && !ferror(rootfsfile)) {
                read = fread(readbuf, sizeof(uint8_t), sizeof(readbuf), rootfsfile);
-               crc = crc32(crc, readbuf, read);
+               //crc = crc32(crc, readbuf, read);
                fwrite(readbuf, sizeof(uint8_t), read, binfile);
        }