<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/nbd/include, branch master</title>
<subtitle>Felix Fietkaus staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/nbd/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/nbd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/'/>
<updated>2026-07-23T12:39:19Z</updated>
<entry>
<title>build: make GL.iNet metadata reproducible</title>
<updated>2026-07-23T12:39:19Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-07-23T12:39:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=60cf4aa958db901f662915751e191de6fa56dfb7'/>
<id>urn:sha1:60cf4aa958db901f662915751e191de6fa56dfb7</id>
<content type='text'>
The GL.iNet specific metadata contains a `date`-field which takes the current
timestamp instead of using SOURCE_DATE_EPOCH. This commits make use of the
variable, if available.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>build: gate firmware image signing behind SIGN_FIRMWARE</title>
<updated>2026-07-20T08:33:41Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-07-19T09:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=ff41ddea1c9ee58ef56828f0ac97055fce2d6fce'/>
<id>urn:sha1:ff41ddea1c9ee58ef56828f0ac97055fce2d6fce</id>
<content type='text'>
Firmware image signing in append-metadata/append-gl-metadata was conditional
only by the presence of the build key. Add an explicit SIGN_FIRMWARE option
(default enabled except with BUILDBOT) so appending the fwtool signature can be
toggled on its own.

It's disable on buildbot since we use a decentralized building with no
individual keys on builders. Instead, a fake key is currently used, which adds
an insecure signature.

The future of signing firmware  and key distribution across the build
infrastructure should be discussed separately.

Link: https://github.com/openwrt/openwrt/pull/24291
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>kernel: use iremap for assembly</title>
<updated>2026-07-17T19:43:03Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-07-17T19:19:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=06c826e3354e2553c2360e144c8a671aaee51ad8'/>
<id>urn:sha1:06c826e3354e2553c2360e144c8a671aaee51ad8</id>
<content type='text'>
Currently assembly code of the Kernel may contain the build path, resulting in
unreproducible firmware images (and Kernels). Fix this by adding a iremap
KAFLAG.

Before:

    strings "/path/to/vmlinux" | grep linux-6.18.38
    /path/to/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.38
    /path/to/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.38

After

    strings "/path/to/vmlinux" | grep linux-6.18.38
    target-x86_64_musl/linux-x86_64/linux-6.18.38
    target-x86_64_musl/linux-x86_64/linux-6.18.38

Link: https://github.com/openwrt/openwrt/pull/24271
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>kernel: set MACOSX_DEPLOYMENT_TARGET to host version</title>
<updated>2026-07-16T20:58:21Z</updated>
<author>
<name>Georgi Valkov</name>
</author>
<published>2026-07-15T14:16:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=6f703adcd39c7e34c5607324912d2838f1bb2224'/>
<id>urn:sha1:6f703adcd39c7e34c5607324912d2838f1bb2224</id>
<content type='text'>
Fix a warning interpreted as error when building the Linux kernel
on macOS host, by setting MACOSX_DEPLOYMENT_TARGET to the version
of the host. Fixes:

make[5]: Entering directory '/Volumes/test/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.38'
  HOSTCC  scripts/mod/modpost.o
scripts/mod/modpost.c:1719:9: error: 'strchrnul' is only available on macOS 15.4 or newer [-Werror,-Wunguarded-availability-new]
 1719 |                 sep = strchrnul(namespace, ',');
      |                       ^~~~~~~~~

Signed-off-by: Georgi Valkov &lt;gvalkov@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/24251
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: support git-src override for host builds</title>
<updated>2026-07-07T08:46:12Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2026-07-06T09:55:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=8bbaad10e0e5fd50f94214f5f55004fcbef28cc8'/>
<id>urn:sha1:8bbaad10e0e5fd50f94214f5f55004fcbef28cc8</id>
<content type='text'>
Extend the git-src source tree override to host builds. It is opt-in via
HOST_USE_GIT_SRC, since by default the host build keeps using the tarball.

Move the git-src detection and checkout recipe into unpack.mk so both the
target and host build reuse the same code.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: don't store timestamps in APK packages</title>
<updated>2026-06-30T16:53:03Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-06-30T16:38:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=b0b4bf6ea0927195631a3557d05f48f8e302d498'/>
<id>urn:sha1:b0b4bf6ea0927195631a3557d05f48f8e302d498</id>
<content type='text'>
This commit statically sets SOURCE_DATE_EPOCH to 0, which causes `apk mkpkg` to
drop the date from generated packages. This improves reproducibility while
leaving package specific SOURCE_DATE_EPOCH untouched. The latter can be
interesting for i.e. packages like busybox, which prominently show that date on
the login shell.

Without this commit, packages that live inside feed repositories (openwrt.git,
packages.git etc) like `mtd` or `attendedsysupgrade-common` would have random
timestamps since no "full" git log was available.

Below an example with different source dates (0, 1):

│  0755  root:wheel    -                           -  /
│  0755  root:wheel    -                           -  lib/
│  0755  root:wheel    -                           -  lib/apk/
│  0755  root:wheel    -                           -  lib/apk/packages/
│ -0644  root:wheel    1970-01-01T00:00:01Z       10  lib/apk/packages/mtd.list
│ +0644  root:wheel    -                          10  lib/apk/packages/mtd.list
│  0755  root:wheel    -                           -  sbin/
│ -0755  root:wheel    1970-01-01T00:00:01Z    24595  sbin/mtd
│ +0755  root:wheel    -                       24595  sbin/mtd

Link: https://github.com/openwrt/openwrt/pull/24005
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>kernel: split nf-nathelper-extra into individual packages</title>
<updated>2026-06-24T11:26:32Z</updated>
<author>
<name>Mieczyslaw Nalewaj</name>
</author>
<published>2026-06-07T17:35:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=9635f44eade368f6be619eb8099f9f7f3cb2859d'/>
<id>urn:sha1:9635f44eade368f6be619eb8099f9f7f3cb2859d</id>
<content type='text'>
Split kmod-nf-nathelper-extra into separate helper packages
and keep the original package as a compatibility meta-package.

This allows selecting only the required protocol helpers
instead of installing all helper modules and dependencies.

Signed-off-by: Mieczyslaw Nalewaj &lt;namiltd@yahoo.com&gt;
Link: https://github.com/openwrt/openwrt/pull/23690
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>prereq-build/u-boot: add Python 3.14 support</title>
<updated>2026-06-16T10:51:01Z</updated>
<author>
<name>Etienne Champetier</name>
</author>
<published>2026-01-24T21:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=0a9fcdf5715ffd6cd384775f4a98494026543061'/>
<id>urn:sha1:0a9fcdf5715ffd6cd384775f4a98494026543061</id>
<content type='text'>
Python 3.14 is the default version on Fedora 43/44.

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/23243
Signed-off-by: Test Dev &lt;dev@example.org&gt;
</content>
</entry>
<entry>
<title>prereq-build: add clang support</title>
<updated>2026-06-16T08:56:46Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2024-11-28T22:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=a62ffbf3ac7fcadbfb0dc71206f674419b1a44e0'/>
<id>urn:sha1:a62ffbf3ac7fcadbfb0dc71206f674419b1a44e0</id>
<content type='text'>
The Apple g++ check is really clang in disguise. Furthermore, testing on
Linux hosts reveals that clang can sufficiently replace gcc.

Minimum version of clang is 12 because of ccache.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/17259
Signed-off-by: Jonas Jelonek &lt;jelonek.jonas@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: fixup version.date creation for source archives</title>
<updated>2026-06-12T15:41:09Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-06-12T14:49:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=8ba4c5e99396bdde32480ccbe615427b9f28c648'/>
<id>urn:sha1:8ba4c5e99396bdde32480ccbe615427b9f28c648</id>
<content type='text'>
Published sources archives may contain a mixture of MTIMEs, so taking the time
of the first file found varies based on filesystem order. To fix this, sort all
MTIMEs and take the latest.

Since piping into a file directly creates that file, we also need to
specifically tell `find` to ignore `version.date`.

Furthermore, move this prior to the ./src copy step, since for some packages,
the OpenWrt build system ships extra ./src files, which would introduce the
wrong timestamps again.

Fix: e36c2946b7b build: derive PKG_SOURCE_DATE_EPOCH from the unpacked source tree
Link: https://github.com/openwrt/openwrt/pull/23756
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
</feed>
