<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/tools, branch state</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=state</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=state'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2019-01-18T14:50:38Z</updated>
<entry>
<title>tools/isl: update to 0.20</title>
<updated>2019-01-18T14:50:38Z</updated>
<author>
<name>Syrone Wong</name>
</author>
<published>2018-12-16T10:44:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d24d256cd428503652a0dd7f4b7c6d9cf1f78bc3'/>
<id>urn:sha1:d24d256cd428503652a0dd7f4b7c6d9cf1f78bc3</id>
<content type='text'>
Signed-off-by: Syrone Wong &lt;wong.syrone@gmail.com&gt;
</content>
</entry>
<entry>
<title>firmware-utils: mksercommfw: overhaul image creation</title>
<updated>2019-01-15T18:11:54Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-12T19:18:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=26a016731d1fc1e2bd6b5f8d3af0fdbd631363ff'/>
<id>urn:sha1:26a016731d1fc1e2bd6b5f8d3af0fdbd631363ff</id>
<content type='text'>
Move the zip compression into a build recipe. Pad the image using the
existing build recipes as well to remove duplicate functionality

Change the code to append header and footer in two steps. Allow to use a
fixed filename as the netgear update image does.

Use a fixed timestamp within the zip archive to make the images
reproducible.

Due to the changes we are now compatible to the gnu89 c standard used by
default on the buildbots and we don't need to force a more recent
standard anymore.

Beside all changes, the footer still looks wrong in compare to the
netgear update image.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>tools: zip: add option for reproducible archives</title>
<updated>2019-01-15T18:11:53Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-12T18:39:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=18c9faa03211e29252413671610a93c00dcc7ad1'/>
<id>urn:sha1:18c9faa03211e29252413671610a93c00dcc7ad1</id>
<content type='text'>
Add the option -mt/--mtime to pass a timestamp which is used as filedate
for the containing files.

So far, it isn't used for anything written to the extra fields,
therefore requires the -X (eXclude eXtra file attributes) parameter to
be effective.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>tools: add zip utility</title>
<updated>2019-01-15T18:11:53Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-05T19:51:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=ad8c2d6099a7da5192ee6e2c52a8303642271877'/>
<id>urn:sha1:ad8c2d6099a7da5192ee6e2c52a8303642271877</id>
<content type='text'>
One image requires a zip compressed image, so add the zip util found in
the packages feed, and extend it with some useful debian patches.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils: mkdlinkfw: fix build</title>
<updated>2019-01-13T18:28:54Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-13T18:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=01e95dc0dc6620c0305cea16623c7b62ab3a7592'/>
<id>urn:sha1:01e95dc0dc6620c0305cea16623c7b62ab3a7592</id>
<content type='text'>
While we don't need the gnu99 option anymore, we still need to force the
c99 standard to fix the following build error on the build bots:

src/mkdlinkfw.c: In function 'find_auh_headers':
src/mkdlinkfw.c:267:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for (int i = 0; i &lt; header_counter; i++) {
   ^
src/mkdlinkfw.c:267:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils: mkdlinkfw: fix error handling</title>
<updated>2019-01-13T17:31:10Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-05T06:40:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=0e78af22d95d91f7c2fdfc66fac993c6c5d349d8'/>
<id>urn:sha1:0e78af22d95d91f7c2fdfc66fac993c6c5d349d8</id>
<content type='text'>
fread() doesn't set errno, ferror need to be used to check for errors.
While at it, check if we read the expect number of elements.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils: mkdlinkfw: create reproducible header</title>
<updated>2019-01-13T17:31:10Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-05T06:34:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=e428b127e7c9964a20cfd4cfb30b43262a10bfbe'/>
<id>urn:sha1:e428b127e7c9964a20cfd4cfb30b43262a10bfbe</id>
<content type='text'>
Use the SOURCE_DATE_EPOCH environment variable if set instead of the
current time. The used timestamp matches the timestamp of the latest
commit this way and make the images reproducible.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils: mkdlinkfw: cleanup code</title>
<updated>2019-01-13T17:31:10Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-05T11:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=f4aa9d8839958c39d24d7cca3d3215efad98a1e2'/>
<id>urn:sha1:f4aa9d8839958c39d24d7cca3d3215efad98a1e2</id>
<content type='text'>
Drop unused function and macros. With the cleanup the gnu extension
typeof isn't used any longer and the gnu99 compile flag can be dropped.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>tools/firmware-utils: fix sysupgrade typo in mkdapimg2</title>
<updated>2019-01-12T18:47:25Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2019-01-12T18:47:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=e42a227ee3119a8401b1dfe82e51216924b7573a'/>
<id>urn:sha1:e42a227ee3119a8401b1dfe82e51216924b7573a</id>
<content type='text'>
Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/firmware-utils: fix sysupgrade typo in mkdapimg</title>
<updated>2019-01-12T18:44:35Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2019-01-12T18:42:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=7197115c2575e4ff5b0f5f87a0422cdb1a14d848'/>
<id>urn:sha1:7197115c2575e4ff5b0f5f87a0422cdb1a14d848</id>
<content type='text'>
Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
</feed>
