<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/981213/scripts, branch main</title>
<subtitle>Staging tree of Chuanhong Guo</subtitle>
<id>https://git.openwrt.org/openwrt/staging/981213/atom?h=main</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/981213/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/'/>
<updated>2024-03-11T08:53:01Z</updated>
<entry>
<title>scripts: Kernel bumper script</title>
<updated>2024-03-11T08:53:01Z</updated>
<author>
<name>Olliver Schinagl</name>
</author>
<published>2024-02-23T21:54:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/commit/?id=3561015efdfb3a6c268f723f509f5cd2720efdb8'/>
<id>urn:sha1:3561015efdfb3a6c268f723f509f5cd2720efdb8</id>
<content type='text'>
For years, we have struggled and been frustrated at loosing history of
files in git, due to the 'copy + add' strategy. This could have been
prevented with a double-commit 'mv + add' trick.

On the mailing list [0] the discussion was started to put the
instructions in a wiki. Instead, it is much better to just script it and
put it in the repo.

Instead of doing mv + copy, which leads to two commits, but no history
on the copied files, it uses move, + copy and merge, which results in
three (merge) commits, but keeps the history of all files. As always
with renames, `--follow` will be needed.

The tool is trivial and works either in the OpenWrt git root directory,
or in the actual target directory.

Tested on the `realtek` and generic targets.

Note, that the tool does not do any of the labor needed after the move,
such as updating configs, dropping patches etc.

To make sure this script is easily found by any developer, who just
wants to do a kernel bump, the script is added here and not to
maintainer-tools repo as those scripts are a little bit more specialized.
Bumping a kernel is a trivial task that often regular developers do,
where most do not even know the existence of maintainer tools, are not
part of the main repo they'd clone, not part of the docker container
they'd use and so discoverability is probably much more important.

[0]: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html

Signed-off-by: Olliver Schinagl &lt;oliver@schinagl.nl&gt;
Tested-by: Robert Marko &lt;robimarko@gmail.com&gt;
Tested-by: Weijie Gao &lt;hackpascal@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: scripts/config - update to kconfig-v6.6.16</title>
<updated>2024-03-01T18:02:00Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2024-02-16T17:32:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/commit/?id=65a3eb28d5ec276c960e992fc99d0d042f5c863f'/>
<id>urn:sha1:65a3eb28d5ec276c960e992fc99d0d042f5c863f</id>
<content type='text'>
The main goal here is to keep this close to upstream.

Changes include:
 - allow symbols implied by y to become m
 - make 'imply' obey the direct dependency
 - allow only 'config', 'comment', and 'if' inside 'choice'
 - qconf: make search fully work again on split mode
 - qconf: navigate menus on hyperlinks
 - remove '---help---' support
 - qconf: allow to edit "int", "hex", "string" menus in-place
 - qconf: drop Qt4 support
 - nconf: fix core dump when searching in empty menu
 - nconf: stop endless search loops
 - Create links to main menu items in search
 - fix segmentation fault in menuconfig search
 - nconf: Add search jump feature
 - port qconf to work with Qt6 in addition to Qt5
 - fix possible buffer overflow
 - fix memory leak from range properties

Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: fix kernel component in CycloneDX SBOM</title>
<updated>2024-03-01T15:42:34Z</updated>
<author>
<name>Cedric DOURLENT</name>
</author>
<published>2024-03-01T15:42:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/commit/?id=84331215e57090a9cdae4af75af2539c39cd7de7'/>
<id>urn:sha1:84331215e57090a9cdae4af75af2539c39cd7de7</id>
<content type='text'>
As stated in the cycloneDX documentation, the field "type" is mandatory for all components.

More details here (https://cyclonedx.org/docs/1.5/json/#components_items_type)

Signed-off-by: Cedric DOURLENT &lt;cedric.dourlent@softathome.com&gt;
</content>
</entry>
<entry>
<title>build: fix shebang line</title>
<updated>2024-02-28T04:31:33Z</updated>
<author>
<name>Michael Seibt</name>
</author>
<published>2024-02-05T23:40:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/commit/?id=404c76f78af21566d338bc5f21145657c560628c'/>
<id>urn:sha1:404c76f78af21566d338bc5f21145657c560628c</id>
<content type='text'>
Remove space between sharp-exclamation and interpreter.

Signed-off-by: Michael Seibt &lt;github@roboschmie.de&gt;
</content>
</entry>
<entry>
<title>build: add explicit --no-show-signature for git</title>
<updated>2024-02-20T19:57:53Z</updated>
<author>
<name>Oto Šťáva</name>
</author>
<published>2024-02-16T15:28:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/commit/?id=1e93208bd2c605704b19fe8b04025c20c17e808d'/>
<id>urn:sha1:1e93208bd2c605704b19fe8b04025c20c17e808d</id>
<content type='text'>
When `log.showSignature` is set, it causes the `SOURCE_DATE_EPOCH` to
include a textual signature description on OpenPGP-signed commits,
because Git prints the description into stdout. This then causes some
scripts to fail because they cannot parse the date from the variable.

Adding an explicit `--no-show-signature` prevents the signatures from
being displayed even when one has Git configured to show them by
default, fixing the scripts.

Signed-off-by: Oto Šťáva &lt;oto.stava@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts: ubinize-image.sh: fix on POSIX shell, allow custom images</title>
<updated>2024-02-16T05:32:51Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-02-16T05:32:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/commit/?id=67beab2b2b39c4fe3e48a021aefbfac15ffa70ce'/>
<id>urn:sha1:67beab2b2b39c4fe3e48a021aefbfac15ffa70ce</id>
<content type='text'>
Make sure ubinize-image.sh also works with more simple POSIX Shell and
allow creating complete custom images to be used as ARTIFACT/foo.img
and thereby allow including uImage.FIT, TF-A FIP and what ever else
is required on a specific board.

Fixes: 6c17d71973 ("scripts: ubinize-image.sh: support static volumes, make size optional")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>scripts: ubinize-image.sh: support static volumes, make size optional</title>
<updated>2024-02-15T19:30:08Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-02-01T05:03:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/commit/?id=6c17d719734c223e7e33e0a890b33610da54a0ae'/>
<id>urn:sha1:6c17d719734c223e7e33e0a890b33610da54a0ae</id>
<content type='text'>
In order to support devices having TF-A FIP image or UBI-aware U-Boot
SPL we need to include a static volume for the bootloader.

Introduce support for adding additional static volumes by prefixing
the filename with ':', eg.

UBINIZE_PARTS := fip:=$(STAGING_DIR_IMAGE)/u-boot.fip

Also add support for rootfs-in-uImage.FIT setups which don't require a
rootfs partition and make the (3rd) size parameter in UBINIZE_PARTS
optional (see example above without declared size).

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>scripts/rstrip.sh: ignore /lib/firmware</title>
<updated>2024-01-22T12:01:31Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2024-01-22T12:00:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/commit/?id=7ad6e8c312d0f46b8c4aca86aee15aaad46f1191'/>
<id>urn:sha1:7ad6e8c312d0f46b8c4aca86aee15aaad46f1191</id>
<content type='text'>
On some platforms, some firmware files might look like executables.
These need to be ignored in order to avoid messing them up.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>scripts: fix installed-size calculation</title>
<updated>2024-01-08T13:08:06Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-01-06T17:10:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/commit/?id=49e8f532989c342fff44c1c558f8182585673833'/>
<id>urn:sha1:49e8f532989c342fff44c1c558f8182585673833</id>
<content type='text'>
Previously the script would calculate the size of the compressed archive
which isn't the size installed in the overlayfs.

This commit uses zcat in combination with wc to calculate the
umcompressed size.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>packages: store URL in Manifest</title>
<updated>2024-01-08T13:06:38Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-01-06T17:48:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/981213/commit/?id=751791d545087ceee10c680ec8b5590b3554d082'/>
<id>urn:sha1:751791d545087ceee10c680ec8b5590b3554d082</id>
<content type='text'>
The manifest should provide as much information as possible about the
package, including the project URL. With this commit the URL is stored
as it's own attribute instead of at the end of the description.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
</feed>
