<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/scripts, branch v18.06.6</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v18.06.6</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v18.06.6'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2019-12-23T00:07:33Z</updated>
<entry>
<title>scripts/dowload.pl: add archive.apache.org to apache mirror list</title>
<updated>2019-12-23T00:07:33Z</updated>
<author>
<name>Jiri Kastner</name>
</author>
<published>2019-11-28T15:29:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=8623b58c1d1cccc5986f1c306b0959d3514987b4'/>
<id>urn:sha1:8623b58c1d1cccc5986f1c306b0959d3514987b4</id>
<content type='text'>
apache mirrors holds only latest releases, to download
older releases, one must use archive.apache.org to get
them.

Signed-off-by: Jiri Kastner &lt;cz172638@gmail.com&gt;
(cherry picked from commit dc34c695c4faa46efc6e2367a2ba06a47caa4840)
</content>
</entry>
<entry>
<title>scripts/ubinize-image.sh: fix buildbot breakage</title>
<updated>2019-10-31T08:00:13Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-07-27T05:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f024b4c83d122ee460251a3078e9dca2e8d599ad'/>
<id>urn:sha1:f024b4c83d122ee460251a3078e9dca2e8d599ad</id>
<content type='text'>
New Docker based buildslaves install just bare minimum of packages, thus
not having bsdmainutils package installed which provides `hexdump`
utility, leading to the following build breakage on buildbots:

 ubinize-image.sh: 12: /builder/scripts/ubinize-image.sh: hexdump: not found

So this patch simply replaces `hexdump` with `od` utility provided by
coreutils package, which should be likely available.

Co-authored-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit c6d41c320c795b0bb9a9350c7d4b1ce55f25769a)
</content>
</entry>
<entry>
<title>scripts: ipkg-make-index.sh: dereference symbolic links</title>
<updated>2019-07-22T07:46:49Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2019-01-31T11:25:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a68be42f9975d6e1b3f61bee214ab50ceebe1a87'/>
<id>urn:sha1:a68be42f9975d6e1b3f61bee214ab50ceebe1a87</id>
<content type='text'>
Use `stat -L` instead of `ls -l` to follow symbolic links when obtaining
the file size of .ipk archives.

Without this change, the size of the symlink, not the size of the target
file is encoded in the package index file.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit ece5cab743f9df6c9655d6117e92fda110292173)
Fixes: e6af9c017b0c ("opkg: bump to version 2019-06-14")
[ rmilecki: this has to be backported due to the recent opkg update and
  cb6640381808 ("libopkg: check for file size mismatches") to fix false
  "opkg_install_pkg: Package size mismatch" errors ]
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>build: fix STAGING_DIR cleaning for packages</title>
<updated>2019-01-30T11:40:16Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2018-12-12T17:33:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b98b55a64fb633d7901f9db5529e52e3175300e9'/>
<id>urn:sha1:b98b55a64fb633d7901f9db5529e52e3175300e9</id>
<content type='text'>
This fixes two issues with cleaning package files from STAGING_DIR:

* CleanStaging currently can only remove files and not directories. This
  changes CleanStaging to use clean-package.sh, which does remove
  directories.

* Because of the way directories are ordered in the staging files list,
  clean-package.sh currently tries (and fails) to remove parent
  directories before removing subdirectories. This changes
  clean-package.sh to process the staging files list in reverse, so that
  subdirectories are removed first.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
(cherry picked from commit a1170936798e519776de605d6986ccb72f04cb06)
</content>
</entry>
<entry>
<title>scripts: update config.guess and config.sub</title>
<updated>2018-12-18T16:22:07Z</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/pepe2k/commit/?id=c756d666dc044ca89e2da08ed569b61a69dd7cf4'/>
<id>urn:sha1:c756d666dc044ca89e2da08ed569b61a69dd7cf4</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;
(backported from 3361a8817e9a6c4ab73d72bd98a3d652b756c12e)
</content>
</entry>
<entry>
<title>scripts/ipkg-build: quash error messages when conffiles.resolved is empty</title>
<updated>2018-12-18T10:28:12Z</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/pepe2k/commit/?id=fa3805f2b6d3c03eee94579d29cf2f0bca07ce04'/>
<id>urn:sha1:fa3805f2b6d3c03eee94579d29cf2f0bca07ce04</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;
(backported from 9e58c20ec9d48ee41a4a306b0cd6d3aece285efd)
</content>
</entry>
<entry>
<title>scripts/metadata.pm: avoid adding dup names in provides list</title>
<updated>2018-12-18T10:28:12Z</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/pepe2k/commit/?id=f5cf9b265f7825e54286d4dfc994e56ec722c0c5'/>
<id>urn:sha1:f5cf9b265f7825e54286d4dfc994e56ec722c0c5</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;
(backported from 204081670b914795a494929777f09807b15f70f4)
</content>
</entry>
<entry>
<title>build: add support for enabling the rootfs/boot partition size option via target feature</title>
<updated>2018-12-18T10:28:12Z</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/pepe2k/commit/?id=42dafa0ac589370877747c6647f75ea3ab9572b6'/>
<id>urn:sha1:42dafa0ac589370877747c6647f75ea3ab9572b6</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(backported from 00f030a9c67c551e675364d73234a4cba273b420)
</content>
</entry>
<entry>
<title>scripts: time.pl: avoid hard Time::HiRes dependency</title>
<updated>2018-12-18T10:01:55Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-08-05T10:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=2890abbcc0329460ebc7384e994272d1ee3b372d'/>
<id>urn:sha1:2890abbcc0329460ebc7384e994272d1ee3b372d</id>
<content type='text'>
Use Time::HiRes when available and fallback to raw syscall interface
when not. If that fails too, simply report 0, 0 as real time.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(backported from a692e4e3de60e1a10906511fb8ef2d14937d4a19)
</content>
</entry>
<entry>
<title>build: remove GNU time dependency</title>
<updated>2018-12-18T10:01:54Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-08-04T22:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b4454ca4fae13f85e06d01df8a2a94ddd78d3368'/>
<id>urn:sha1:b4454ca4fae13f85e06d01df8a2a94ddd78d3368</id>
<content type='text'>
Replace the GNU time program invocation with a simple Perl script reporting
the timing values. Since we require Perl anyway for the build system, we can
as well use that instead of requiring a random GNU utility rarely installed
by default.

Fixes: ff6e62b288 ("build: log time taken by each packages/steps")
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(backported from d3ddf6631e491a831617a5ae8b3d7924e47a275a)
</content>
</entry>
</feed>
