<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/scripts/ipkg-build, branch master</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>scripts/ipkg-build: quash error messages when conffiles.resolved is empty</title>
<updated>2018-09-09T01:21:01+00:00</updated>
<author>
<name>Yousong Zhou</name>
<email>yszhou4tech@gmail.com</email>
</author>
<published>2018-09-06T08:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=9e58c20ec9d48ee41a4a306b0cd6d3aece285efd'/>
<id>9e58c20ec9d48ee41a4a306b0cd6d3aece285efd</id>
<content type='text'>
When Package/xx/conffiles only contains directories that are empty at
package time, conffiles.resolved will be missing and the following
error messages will appear in the build log.

	/home/yousong/git-repo/openwrt/openwrt/scripts/ipkg-build -c -o 0 -g 0 /home/yousong/git-repo/openwrt/openwrt/build_dir/target-mips_24kc_musl/linux-malta_be/openvswitch-2.10.0/ipkg-mips_24kc/openvswitch-common /home/yousong/git-repo/openwrt/openwrt/bin/packages/mips_24kc/packages
	mv: cannot stat 'CONTROL/conffiles.resolved': No such file or directory
	chmod: cannot access 'CONTROL/conffiles': No such file or directory

It will not break the ipkg-build process.  The change is merely cosmetic
to not cause confusion when reading logs

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When Package/xx/conffiles only contains directories that are empty at
package time, conffiles.resolved will be missing and the following
error messages will appear in the build log.

	/home/yousong/git-repo/openwrt/openwrt/scripts/ipkg-build -c -o 0 -g 0 /home/yousong/git-repo/openwrt/openwrt/build_dir/target-mips_24kc_musl/linux-malta_be/openvswitch-2.10.0/ipkg-mips_24kc/openvswitch-common /home/yousong/git-repo/openwrt/openwrt/bin/packages/mips_24kc/packages
	mv: cannot stat 'CONTROL/conffiles.resolved': No such file or directory
	chmod: cannot access 'CONTROL/conffiles': No such file or directory

It will not break the ipkg-build process.  The change is merely cosmetic
to not cause confusion when reading logs

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scripts: ipkg-build: do not require git or svn</title>
<updated>2016-08-15T11:33:32+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2016-08-15T11:27:11+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3a3424981c27e3c3ca35e076bcc0f399f86649c3'/>
<id>3a3424981c27e3c3ca35e076bcc0f399f86649c3</id>
<content type='text'>
Move the "which svn" and "which git" calls next to the timestamp commands
using those tools to not prematurely fail on systems where svn or git are
not present.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the "which svn" and "which git" calls next to the timestamp commands
using those tools to not prematurely fail on systems where svn or git are
not present.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scripts/ipkg-build: fix deprecated GZIP environment variable warning</title>
<updated>2016-05-13T15:03:53+00:00</updated>
<author>
<name>Syrone Wong</name>
<email>wong.syrone@gmail.com</email>
</author>
<published>2016-05-13T14:05:46+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=e8bc0834e7d85cda7303b4c845ac2014e6cf8a8b'/>
<id>e8bc0834e7d85cda7303b4c845ac2014e6cf8a8b</id>
<content type='text'>
According to gzip 1.7 release note:

The GZIP environment variable is now obsolescent; gzip now warns if
it is used, and rejects attempts to use dangerous options or operands.
You can use an alias or script instead.

Fix this warning by using pipe instead

Signed-off-by: Syrone Wong &lt;wong.syrone@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to gzip 1.7 release note:

The GZIP environment variable is now obsolescent; gzip now warns if
it is used, and rejects attempts to use dangerous options or operands.
You can use an alias or script instead.

Fix this warning by using pipe instead

Signed-off-by: Syrone Wong &lt;wong.syrone@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipkg-build: add ogargs to outer tar/ipk</title>
<updated>2015-09-11T16:34:22+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-09-11T16:34:22+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=1a2fd4f86916c1bf9b1a751e83a65c5c085dc859'/>
<id>1a2fd4f86916c1bf9b1a751e83a65c5c085dc859</id>
<content type='text'>
prevent name:uid leaks of build system

Signed-off-by: Dirk Neukirchen &lt;dirkneukirchen@web.de&gt;

SVN-Revision: 46863
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
prevent name:uid leaks of build system

Signed-off-by: Dirk Neukirchen &lt;dirkneukirchen@web.de&gt;

SVN-Revision: 46863
</pre>
</div>
</content>
</entry>
<entry>
<title>include/image.mk: make tar reproducible</title>
<updated>2015-09-11T16:33:26+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-09-11T16:33:26+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=4baec2468a88a08058a97406e48a5b1faf3d1fa4'/>
<id>4baec2468a88a08058a97406e48a5b1faf3d1fa4</id>
<content type='text'>
several packages reported different file order between builds
make binutils, kmod-sched reproducible

Signed-off-by: Dirk Neukirchen &lt;dirkneukirchen@web.de&gt;

SVN-Revision: 46859
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
several packages reported different file order between builds
make binutils, kmod-sched reproducible

Signed-off-by: Dirk Neukirchen &lt;dirkneukirchen@web.de&gt;

SVN-Revision: 46859
</pre>
</div>
</content>
</entry>
<entry>
<title>scripts/ipkg-build: fix a build regression introduced in r46360 (fixes #20082)</title>
<updated>2015-07-15T08:17:49+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-07-15T08:17:49+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7f359e52ceedfd2d28ac66e1e457b881aabf0879'/>
<id>7f359e52ceedfd2d28ac66e1e457b881aabf0879</id>
<content type='text'>
go to the $TOPDIR directory before trying to extract a git/svn timestamp

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 46383
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
go to the $TOPDIR directory before trying to extract a git/svn timestamp

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 46383
</pre>
</div>
</content>
</entry>
<entry>
<title>ipkg-build: use deterministic timestamps in ipk tarballs</title>
<updated>2015-07-14T09:57:19+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-07-14T09:57:19+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3846bb9ac92060669f9c798c3c128057a6d32809'/>
<id>3846bb9ac92060669f9c798c3c128057a6d32809</id>
<content type='text'>
As a follow-up to r46026, this commit sets the modification
times of files inside the tarballs to deterministic values.
It uses the date of the last git or svn commit and falls
back to the old behavior if those are not available.

Signed-off-by: Reiner Herrmann &lt;reiner@reiner-h.de&gt;

SVN-Revision: 46360
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As a follow-up to r46026, this commit sets the modification
times of files inside the tarballs to deterministic values.
It uses the date of the last git or svn commit and falls
back to the old behavior if those are not available.

Signed-off-by: Reiner Herrmann &lt;reiner@reiner-h.de&gt;

SVN-Revision: 46360
</pre>
</div>
</content>
</entry>
<entry>
<title>ipkg-build: suppress timestamps in gzip headers</title>
<updated>2015-06-18T06:41:45+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-06-18T06:41:45+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=949d7e30e418ad2197f2ffe14e701b56b9d9ea4e'/>
<id>949d7e30e418ad2197f2ffe14e701b56b9d9ea4e</id>
<content type='text'>
When creating control.tar.gz, data.tar.gz and $package.ipk
tar compresses them with default gzip options.
This includes build timestamps in their gzip headers.
By setting the GZIP env variable to -n, gzip no longer embeds
them, which is a step towards reproducibility.

See also [1] for more detailed motivations.

[1]: https://wiki.debian.org/ReproducibleBuilds/About

Signed-off-by: Reiner Herrmann &lt;reiner@reiner-h.de&gt;

SVN-Revision: 46026
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When creating control.tar.gz, data.tar.gz and $package.ipk
tar compresses them with default gzip options.
This includes build timestamps in their gzip headers.
By setting the GZIP env variable to -n, gzip no longer embeds
them, which is a step towards reproducibility.

See also [1] for more detailed motivations.

[1]: https://wiki.debian.org/ReproducibleBuilds/About

Signed-off-by: Reiner Herrmann &lt;reiner@reiner-h.de&gt;

SVN-Revision: 46026
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/</title>
<updated>2015-03-29T07:35:26+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-03-29T07:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=55c5d10ca9c98ef8424d939aa950a04d30cbbe24'/>
<id>55c5d10ca9c98ef8424d939aa950a04d30cbbe24</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 45129
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 45129
</pre>
</div>
</content>
</entry>
</feed>
