<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/scripts, 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-02T21:36:17Z</updated>
<entry>
<title>build: Drop user/group ID/name from sysupgrade.tar</title>
<updated>2019-01-02T21:36:17Z</updated>
<author>
<name>Sven Eckelmann</name>
</author>
<published>2018-12-06T10:23:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=1afe3d8443aacbaf72a9148448bc6e0e2d2d0a9c'/>
<id>urn:sha1:1afe3d8443aacbaf72a9148448bc6e0e2d2d0a9c</id>
<content type='text'>
Tar will automatically record the user/group ID and name for
files/directories. This reduces the reproducibility of the sysupgrade.tar
because most of the people don't use the same username as the OpenWrt
buildserver.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>build: Use stable file ordering in sysupgrade.tar</title>
<updated>2019-01-02T21:36:16Z</updated>
<author>
<name>Sven Eckelmann</name>
</author>
<published>2018-12-06T10:09:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=894bcf59dc5b11ff38259a43cf4a0a3e9acada96'/>
<id>urn:sha1:894bcf59dc5b11ff38259a43cf4a0a3e9acada96</id>
<content type='text'>
The file ordering in the current sysupgrade depends on the order of file in
a filesystem. This is often already in a sane (alphabetical order) but this
is not always the case. For example, the OpenWrt build servers return a
different ordering.

This breaks the reproducibility of the sysupgrade tarballs significantly
and also resulted in images which cannot be used for upgrades on devices
like the OpenMesh A42/A62.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>scripts: rstrip.sh: allow rpath with sole $ORIGIN token</title>
<updated>2018-12-19T14:36:05Z</updated>
<author>
<name>Yorkie Liu</name>
</author>
<published>2018-12-10T09:35:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=8b2efc87dbf2a194c7d8afccf36a3f9f73854170'/>
<id>urn:sha1:8b2efc87dbf2a194c7d8afccf36a3f9f73854170</id>
<content type='text'>
2efe776 introduces rpath checks with the commit message:

&gt; Remove all rpath entries which do not point to a location below /lib or
&gt; /usr/lib and which do not begin with '$ORIGIN'.

However the implementation failed to support rpath entries with only the
'$ORIGIN' token and no trailing slash, so allow these as well.

Signed-off-by: Yorkie Liu &lt;yazhong.liu@rokid.com&gt;
[reword commit message]
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>scripts/qemustart: more compact rand_mac()</title>
<updated>2018-12-17T04:16:34Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-12-17T04:15:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=3cc31ea8d385e074909edf7a9173860027d068f0'/>
<id>urn:sha1:3cc31ea8d385e074909edf7a9173860027d068f0</id>
<content type='text'>
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>script: ipkg-build: honour $SOURCE_DATE_EPOCH</title>
<updated>2018-11-08T10:52:33Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-11-08T10:52:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d157a76c67bcb821d3ec8dcd4312390ef129a95a'/>
<id>urn:sha1:d157a76c67bcb821d3ec8dcd4312390ef129a95a</id>
<content type='text'>
When the SOURCE_DATE_EPOCH environment variable is set, use it to
override the timestamps of .ipk archive contents.

This ensures that .ipk archives built in environments without SCM
metadata (mainly the SDK) are reproducible between different runs.

Ref: https://github.com/openwrt/packages/issues/6954
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>scripts: update config.guess and config.sub</title>
<updated>2018-11-01T16:16:52Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2018-11-01T13:05:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=3361a8817e9a6c4ab73d72bd98a3d652b756c12e'/>
<id>urn:sha1:3361a8817e9a6c4ab73d72bd98a3d652b756c12e</id>
<content type='text'>
This updates these two files to commit 2fa97a8a0ed3 ("config.guess
(amd64:CYGWIN*:*:*, x86_64:CYGWIN*:*:*): Set master") which is the
current master of
https://git.savannah.gnu.org/gitweb/?p=config.git;a=summary

This contains updates for multiple architectures and will unbreak the
build on the x32 ABI.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>ar71xx: Skip more hashed blocks for OM2P(-HS) 64k variant</title>
<updated>2018-09-10T08:01:58Z</updated>
<author>
<name>Sven Eckelmann</name>
</author>
<published>2018-09-03T07:58:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=78a5d25dca5de9b00890e7a414a6e423c4ba6e19'/>
<id>urn:sha1:78a5d25dca5de9b00890e7a414a6e423c4ba6e19</id>
<content type='text'>
The OM2P(-HS)v4 got a variant which uses a slightly different flash. The
standard versions used a flash with 256KB blocks which is no longer
available. The replacement flash uses a flash with 64K blocks.

The padding for the image rootfs is already for 64K and 256K and thus can
be flashed on the device without any problems. Unfortunately, the
bootloader will check $rootfs_size (rounded down to the nearest 64k block)
minus 1x 64k. But it is now possible that the new JFFS2 rootfs_data starts
even earlier and modifies the checked region. The check will then fail and
the backup image (when available) will be booted.

Just setting it to the same number of skipped blocks as other 64K models
avoids this problem.

Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@openmesh.com&gt;
</content>
</entry>
<entry>
<title>scripts/ipkg-build: quash error messages when conffiles.resolved is empty</title>
<updated>2018-09-09T01:21:01Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-09-06T08:00:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=9e58c20ec9d48ee41a4a306b0cd6d3aece285efd'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>scripts/metadata.pm: avoid adding dup names in provides list</title>
<updated>2018-09-09T01:21:01Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-09-05T15:29:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=204081670b914795a494929777f09807b15f70f4'/>
<id>urn:sha1:204081670b914795a494929777f09807b15f70f4</id>
<content type='text'>
The need arises from building Open vSwitch kernel datapath modules, e.g.

 - kmod-openvswitch from Linux upstream
 - kmod-openvswitch-intree from openvswitch source code

where both provides virtual package "kmod-openvswitch" for userspace
packages to select and depend on

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: add support for enabling the rootfs/boot partition size option via target feature</title>
<updated>2018-09-03T10:06:24Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2018-08-26T17:36:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=00f030a9c67c551e675364d73234a4cba273b420'/>
<id>urn:sha1:00f030a9c67c551e675364d73234a4cba273b420</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
