From: Florian Fainelli Date: Tue, 7 Apr 2009 15:14:40 +0000 (+0000) Subject: revert changeset 15081 seems to break Alice box devices X-Git-Tag: reboot~24023 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=47387c945a9bd5d560070fe181e0b69336ef8be0;p=openwrt%2Fstaging%2Fpepe2k.git revert changeset 15081 seems to break Alice box devices SVN-Revision: 15140 --- diff --git a/tools/firmware-utils/src/imagetag.c b/tools/firmware-utils/src/imagetag.c index f5d0cdca32..00dad29253 100644 --- a/tools/firmware-utils/src/imagetag.c +++ b/tools/firmware-utils/src/imagetag.c @@ -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); }