<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/neocturne/include/kernel-defaults.mk, branch main</title>
<subtitle>Staging tree of Nora Schiffer</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/neocturne/atom?h=main</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/'/>
<updated>2023-10-28T19:34:20Z</updated>
<entry>
<title>build: cache kernel module package compiling</title>
<updated>2023-10-28T19:34:20Z</updated>
<author>
<name>Zeyu Dong</name>
</author>
<published>2023-09-30T00:54:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=52751b12320599b557d8c7779b612102b963595d'/>
<id>urn:sha1:52751b12320599b557d8c7779b612102b963595d</id>
<content type='text'>
Kernel module packages compiling is not cached (e.g. mac80211)
even with CONFIG_CCACHE on.

CC should be set to KERNEL_CC in KERNEL_MAKE_FLAGS at kernel.mk
to allow kernel module packages using ccache.

Signed-off-by: Zeyu Dong &lt;dzy201415@gmail.com&gt;
</content>
</entry>
<entry>
<title>image: Fix the CONFIG_EXTERNAL_CPIO logic</title>
<updated>2023-10-24T11:13:59Z</updated>
<author>
<name>Luca Barbato</name>
</author>
<published>2023-10-24T11:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=330492a101cdb1608d1194496c1b620315ef8bd8'/>
<id>urn:sha1:330492a101cdb1608d1194496c1b620315ef8bd8</id>
<content type='text'>
Fix the qstrip call.

Fixes: #13776.

Signed-off-by: Luca Barbato &lt;lu_zero@gentoo.org&gt;
</content>
</entry>
<entry>
<title>kernel: add CONFIG_INITRAMFS_PRESERVE_MTIME config to Initramfs function</title>
<updated>2023-05-22T20:28:18Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-10-18T22:03:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=7612f8d6eb6f682d7acffae8bcd58f01ed01f35f'/>
<id>urn:sha1:7612f8d6eb6f682d7acffae8bcd58f01ed01f35f</id>
<content type='text'>
New kernel version 6.1 introduced new INITRAMFS option. Add them to the
Initramfs functions to correctly compile initramfs images.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: revert 54070a1 (all kernels are &gt;= 5.10)</title>
<updated>2023-05-21T12:25:52Z</updated>
<author>
<name>Sebastian Kemper</name>
</author>
<published>2022-08-17T20:13:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=38c150612cc9be488527e342db92d5c74093213f'/>
<id>urn:sha1:38c150612cc9be488527e342db92d5c74093213f</id>
<content type='text'>
Commit 54070a1 was added to allow building proper SDKs with kernels &lt;
5.10. Now that all targets use at least kernel 5.10 it can be reverted.

Signed-off-by: Sebastian Kemper &lt;sebastian_ml@gmx.net&gt;
</content>
</entry>
<entry>
<title>build: fix incorrect initramfs gzip compression</title>
<updated>2023-04-18T11:57:48Z</updated>
<author>
<name>Tony Butler</name>
</author>
<published>2023-04-18T02:32:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=4ab4b9ea818d24b66df146ef1c34ea7e9096b775'/>
<id>urn:sha1:4ab4b9ea818d24b66df146ef1c34ea7e9096b775</id>
<content type='text'>
Requires: tools/libdeflate

fix consistency of executable to use
`$(STAGING_DIR_HOST)/bin/libdeflate-gzip`, and not system-installed ones
from the usual environment `PATH`;
this affects option `CONFIG_KERNEL_INITRAMFS_COMPRESSION_GZIP`

this may have worked in the past but only via side effect of having the
binaries on the host system (and whatever unpredictable version or
patchset those might be), and did not use the improved but totally
compatible libdeflate-gzip

Fixes: 330bd380e8b6 ("image: allow building FIT and uImage with ramdisk")
Signed-off-by: Tony Butler &lt;spudz76@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: fix incorrect initramfs bzip2 compression</title>
<updated>2023-04-18T11:57:47Z</updated>
<author>
<name>Tony Butler</name>
</author>
<published>2023-04-18T02:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=69bc620180d2ec670e7a936171262fc3e9e99179'/>
<id>urn:sha1:69bc620180d2ec670e7a936171262fc3e9e99179</id>
<content type='text'>
Requires: tools/bzip2

fix consistency of executable to use `$(STAGING_DIR_HOST)/bin/bzip2`, and
not system-installed ones from the usual environment `PATH`;
this affects option `CONFIG_KERNEL_INITRAMFS_COMPRESSION_BZIP2`

this may have worked in the past but only via side effect of having the
binaries on the host system (and whatever unpredictable version or
patchset those might be)

Fixes: 330bd380e8b6 ("image: allow building FIT and uImage with ramdisk")
Signed-off-by: Tony Butler &lt;spudz76@gmail.com&gt;
</content>
</entry>
<entry>
<title>include: use libdeflate's gzip to decompress</title>
<updated>2023-01-17T20:40:18Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2023-01-07T08:18:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=11ad0c83554954a7f820238cd94d51a124581fc7'/>
<id>urn:sha1:11ad0c83554954a7f820238cd94d51a124581fc7</id>
<content type='text'>
libdeflate decompresses much faster than gzip.

Example:

~/d/openwrt&gt; time gzip -dc dl/cmake-3.25.1.tar.gz &gt; /dev/null

________________________________________________________
Executed in    1.01 secs      fish           external
   usr time  912.61 millis    1.67 millis  910.94 millis
   sys time   32.21 millis    0.25 millis   31.96 millis

~/d/openwrt&gt; time libdeflate-gzip -dc dl/cmake-3.25.1.tar.gz &gt; /dev/null

________________________________________________________
Executed in  523.04 millis    fish           external
   usr time  415.48 millis    1.07 millis  414.41 millis
   sys time  107.74 millis    0.15 millis  107.59 millis

~/d/openwrt&gt; time gzip -dc dl/tessdata-4.1.0.tar.gz &gt; /dev/null

________________________________________________________
Executed in    8.99 secs    fish           external
   usr time    8.90 secs  530.00 micros    8.90 secs
   sys time    0.07 secs   63.00 micros    0.07 secs

~/d/openwrt&gt; time libdeflate-gzip -dc dl/tessdata-4.1.0.tar.gz &gt; /dev/null

________________________________________________________
Executed in    2.74 secs    fish           external
   usr time    2.38 secs  537.00 micros    2.38 secs
   sys time    0.35 secs   66.00 micros    0.35 secs

Place libdeflate into tools-core as it is needed to decompress other
archives.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: fix incomplete initramfs compression options</title>
<updated>2023-01-17T00:16:35Z</updated>
<author>
<name>Tony Butler</name>
</author>
<published>2022-11-29T01:37:20Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=4a444e576fd26764ed11aed8c3bdf2281bba3cc6'/>
<id>urn:sha1:4a444e576fd26764ed11aed8c3bdf2281bba3cc6</id>
<content type='text'>
Requires: tools/lz4, tools/lzop

complete the wiring so that these options work:
* `CONFIG_KERNEL_INITRAMFS_COMPRESSION_LZO`
* `CONFIG_KERNEL_INITRAMFS_COMPRESSION_LZ4`

Signed-off-by: Tony Butler &lt;spudz76@gmail.com&gt;
[remove blocking dependencies for separate ramdisk, fix lzop options]
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uml: headers are not exportable</title>
<updated>2022-09-24T21:52:14Z</updated>
<author>
<name>Christian Lamparter</name>
</author>
<published>2022-09-24T17:57:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=1ce2691bf3dacca41559a20e7f1a55587469dfae'/>
<id>urn:sha1:1ce2691bf3dacca41559a20e7f1a55587469dfae</id>
<content type='text'>
When building UML this showed up as of late (2022-09-01):
| Makefile:1335: *** Headers not exportable for UML.  Stop.

This message popped up because of an upstream patch that
fixed this error not showing up sooner. For more information see:
&lt;https://lore.kernel.org/lkml/20220901011252.550830-1-masahiroy@kernel.org/T/&gt;

Now, I don't think we can just skip the kernel headers.
Some userspace applications are going to need these. So,
The next best alternative I can think of, is to go with
the headers by the host arch the UML is compiled for.
(Technically, ARCH= should be safe for all other targets
as well... But let's not poke a hornet's nest)

Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
</content>
</entry>
<entry>
<title>kernel: set SOURCE_DATE_EPOCH for initramfs root dir</title>
<updated>2022-04-06T11:20:26Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2022-04-06T11:19:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/neocturne/commit/?id=54bcf586b0beb510345fdbac731ce1c04b6fa56b'/>
<id>urn:sha1:54bcf586b0beb510345fdbac731ce1c04b6fa56b</id>
<content type='text'>
Make sure the timestamp of the root directory of the initramfs is set
to SOURCE_DATE_EPOCH as well.

Fixes: 29d7461d11 ("kernel: set options to make external initramfs reproducible")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
</feed>
