<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/Makefile, branch v19.07.1</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v19.07.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v19.07.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2019-10-18T14:15:29Z</updated>
<entry>
<title>build: add buildinfo as single Makefile target</title>
<updated>2019-10-18T14:15:29Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2019-10-13T19:53:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=6fe6853d7e707d018fdaf1a8557d94217775d50c'/>
<id>urn:sha1:6fe6853d7e707d018fdaf1a8557d94217775d50c</id>
<content type='text'>
The prepare target was added some 11 years ago to build tools and
toolchain and was recently extended to  create buildinfo files for
reproducibility, meaning {feeds,version,config}.buildinfo.

As the buildbot workflow is more complex than the single prepare (kmod
feed insertion), prepare is only used to create those buildinfo files.
Running prepare however runs `target/compile` as well, taking time even
everything is already compiled.

Splitting this allows the buildbot to run only the `buildinfo` target
while others can still use the convenience feature `prepare`.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
(cherry picked from commit 6caf437652d858e5795ee16bdaf9f0436d2488f9)
</content>
</entry>
<entry>
<title>build: fix host menu config targets using ncurses</title>
<updated>2019-10-09T19:07:13Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-09-20T12:54:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f2c321fc078e5e210aac97216f26c8c97cd7b93d'/>
<id>urn:sha1:f2c321fc078e5e210aac97216f26c8c97cd7b93d</id>
<content type='text'>
On a recent Gentoo Linux installation, invoking `make menuconfig`, `make
kernel_menuconfig` or `make kernel_nconfig` in the build system fails,
whereas for example `make menuconfig` in the kernel tree alone works as
expected.

This is happening because STAGING_PREFIX is not defined when kernel's
{menu,n}config target calls pkg-config from the toolchain/host and thus
pkg-config returns an empty value, and the fallback values in the kernel
config script are applied but those are off and the linking fails.

Solution is to use system's pkg-config for all ncurses based menu config
targets in order to provide proper compiler/linker flags.

Ref: FS#2423
Cc: Thomas Albers &lt;thomas.gameiro@gmail.com&gt;
Tested-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Tested-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit 965f341aa9fdb6e07d509d02a6ca188af050292a)
</content>
</entry>
<entry>
<title>build: add buildinfo files for reproducibility</title>
<updated>2019-09-04T11:39:13Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2019-06-13T00:24:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=378b51908c06bca0af0d19e976fd0db51699ae7c'/>
<id>urn:sha1:378b51908c06bca0af0d19e976fd0db51699ae7c</id>
<content type='text'>
generate feeds.buildinfo and version.buildinfo in build dir after
containing the feed revisions (via ./scripts/feeds list -sf) as well as
the current revision of buildroot (via ./scripts/getver.sh).

With this information it should be possible to reproduce any build,
especially the release builds.

Usage would be to move feeds.buildinfo to feeds.conf and git checkout the
revision hash of version.buildinfo.

Content of feeds.buildinfo would look similar to this:

    src-git routing https://git.openwrt.org/feed/routing.git^bf475d6
    src-git telephony https://git.openwrt.org/feed/telephony.git^470eb8e
    ...

Content of version.buildinfo would look similar to this:

    r10203+1-c12bd3a21b

Without the exact feed revision it is not possible to determine
installed package versions.

Also rename config.seed to config.buildinfo to follow the recommended
style of https://reproducible-builds.org/docs/recording/

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
(cherry picked from commit 454021581f630d5d04afeb8ff6581c1bda295c87)
</content>
</entry>
<entry>
<title>build: Unset CDPATH to avoid problems</title>
<updated>2018-08-25T09:10:28Z</updated>
<author>
<name>Thomas Langer</name>
</author>
<published>2018-08-20T10:13:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=41faf52b0ffe902381e75a35e886f635321347b5'/>
<id>urn:sha1:41faf52b0ffe902381e75a35e886f635321347b5</id>
<content type='text'>
In some places the output of commands, which include "cd" are used.
In case of CDPATH the new path is printed, which might not be expected.
Disable the variable to avoid these problem.

When CDPATH was set by the user to some value like "export CDPATH=."
the git checkout done by the build system did not work anymore, the
git cloning aborted with such an error message for example:
....
Packing checkout...
tar: /disk/fs1/tmp2/mehrtens/pon-ugw/ugw-haps/openwrt/tmp/dl/ppa-drv-1.0\n@1534240258: Cannot stat: No such file or directory
tar: Date sample file not found
Try 'tar --help' or 'tar --usage' for more information.
.....

To avoid this, this patch makes the build system unset CDPATH inside
the build system, so the build system will still work even when the
user set this variable in his local environment.

Signed-off-by: Thomas Langer &lt;thomas.langer@intel.com&gt;
Signed-off-by: Hauke Mehrtens &lt;hauke.mehrtens@intel.com&gt;
Acked-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: include package directory in sha256sums when running on buildbot</title>
<updated>2018-06-27T16:54:09Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-06-27T16:51:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=681e825f8fbf59a32c3b09810b2a3fef29880c63'/>
<id>urn:sha1:681e825f8fbf59a32c3b09810b2a3fef29880c63</id>
<content type='text'>
In order to be able to better compare files to sync in the future, include
all BIN_DIR subdirectories in the checksum calculation.

To not break existing applications, restrict the recursive checksumming to
CONFIG_BUILDBOT for now.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>merge: base: update base-files and basic config</title>
<updated>2017-12-08T18:41:18Z</updated>
<author>
<name>Zoltan HERPAI</name>
</author>
<published>2017-11-07T08:45:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6'/>
<id>urn:sha1:34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6</id>
<content type='text'>
Signed-off-by: Zoltan HERPAI &lt;wigyori@uid0.hu&gt;
</content>
</entry>
<entry>
<title>build: prepare config.seed before package compilation</title>
<updated>2017-03-18T11:08:04Z</updated>
<author>
<name>Vitaly Chekryzhev</name>
</author>
<published>2017-01-06T11:47:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=3ceb0fa7c587e10748d70c9ec860d9b0ab16549e'/>
<id>urn:sha1:3ceb0fa7c587e10748d70c9ec860d9b0ab16549e</id>
<content type='text'>
Signed-off-by: Vitaly Chekryzhev &lt;13hakta@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: get rid of host.mk</title>
<updated>2017-02-26T12:31:44Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-02-20T13:24:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96'/>
<id>urn:sha1:9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96</id>
<content type='text'>
Defined required host related variables in toplevel.mk instead

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>Revert "build: always run package/cleanup before package/compile"</title>
<updated>2017-01-22T12:47:40Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-01-22T12:47:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=664918d891f3d29f09c15b0abe6616bbfdb2d0c6'/>
<id>urn:sha1:664918d891f3d29f09c15b0abe6616bbfdb2d0c6</id>
<content type='text'>
This reverts commit 2990a21058243b067bb56fed36ee69205595993e.
This introduces a race condition, let's fix this in buildbot instead.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: always run package/cleanup before package/compile</title>
<updated>2017-01-22T12:31:54Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-01-22T12:30:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=2990a21058243b067bb56fed36ee69205595993e'/>
<id>urn:sha1:2990a21058243b067bb56fed36ee69205595993e</id>
<content type='text'>
Remove unnecessary stampfile indirection
Fixes an issue with the command sequence used by buildbot

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
