<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/stintel/target/imagebuilder, branch master</title>
<subtitle>Staging tree of Stijn Tintel</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/'/>
<updated>2026-02-20T21:54:26Z</updated>
<entry>
<title>toolchain: sdk: ib: allow external toolchain override</title>
<updated>2026-02-20T21:54:26Z</updated>
<author>
<name>Daniel Dickinson</name>
</author>
<published>2016-01-03T06:02:55Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=8f0b2b7d78404fc18d2b641686bc6d9af1d694f1'/>
<id>urn:sha1:8f0b2b7d78404fc18d2b641686bc6d9af1d694f1</id>
<content type='text'>
Allow building imagebuilder and/or sdk with dependency on the same
external toolchain as used to build the imagebuilder or sdk (so that ib
and sdk may be built using an external toolchain).

Signed-off-by: Daniel Dickinson &lt;openwrt@daniel.thecshore.com&gt;
Original patch:
https://lists.openwrt.org/pipermail/openwrt-devel/2016-January/012552.html
[rebased to current main, impvove commit title]
Signed-off-by: Pawel Dembicki &lt;paweldembicki@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/22089
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: drop CVS support</title>
<updated>2026-02-13T14:40:13Z</updated>
<author>
<name>Yanase Yuki</name>
</author>
<published>2025-12-31T09:15:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=2c099e5623089522d843ccd334e15e6b58874c6e'/>
<id>urn:sha1:2c099e5623089522d843ccd334e15e6b58874c6e</id>
<content type='text'>
We have no CVS-managed package in official repositories.
This commit drops obsolete SCM system support.

Signed-off-by: Yanase Yuki &lt;dev@zpc.st&gt;
Link: https://github.com/openwrt/openwrt/pull/21340
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: use STAGING_DIR for special APK package versions</title>
<updated>2026-02-01T10:16:54Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2026-01-14T19:19:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=a4e92f0484f365565072162dad3eeaca0e38b709'/>
<id>urn:sha1:a4e92f0484f365565072162dad3eeaca0e38b709</id>
<content type='text'>
Removing tmp/ after having built base-files or toolchain currently
breaks rootfs generation:

$ rm -rf tmp
$ make V=w
...
 make[2] package/install
cat: .../openwrt/tmp/base-files.version: No such file or directory
cat: .../openwrt/openwrt/tmp/libc.version: No such file or directory
ERROR: 'base-files=' is not a valid world dependency, format is name(@tag)([&lt;&gt;~=]version)
make[2]: *** [package/Makefile:100: package/install] Error 99

The only way to recover from here is to clean toolchain and base-files via

$ make package/{base-files,toolchain}/clean

tmp is supposed to be ephemeral, so clearing it is an expected action,
which normally just triggers a regeneration of all files there.

Fix this by moving the version files to $(STAGING_DIR).

Fixes: 63e178f067 ("build: lock versions for special APK packages")
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21803
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>imagebuilder: fix parsing ABI for apk packages</title>
<updated>2026-01-24T10:02:18Z</updated>
<author>
<name>George Sapkin</name>
</author>
<published>2026-01-23T18:07:53Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=5f889eaacd901ee74a44da07a28abfb6fbbbbf87'/>
<id>urn:sha1:5f889eaacd901ee74a44da07a28abfb6fbbbbf87</id>
<content type='text'>
Fix parsing ABI when package has multiple tags and apk returns them in a
single line.

Fixes: 31cdd13d ("imagebuilder: add ABI suffix to packages when using apk")
Signed-off-by: George Sapkin &lt;george@sapk.in&gt;
Link: https://github.com/openwrt/openwrt/pull/21660
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>imagebuilder: skip repository file when standalone</title>
<updated>2026-01-23T21:14:06Z</updated>
<author>
<name>George Sapkin</name>
</author>
<published>2026-01-23T16:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=7bb79b9d5391b2292d5b517822eae71a7bf5efdf'/>
<id>urn:sha1:7bb79b9d5391b2292d5b517822eae71a7bf5efdf</id>
<content type='text'>
Standalone image builder doesn't have a repositories file as all
packages are included, which causes:

ERROR: failed to read repositories: PATH_TO_BUILDER/repositories: No such file or directory

The images are still built, so this is more of an informational error.

Pass related argument to apk only when CONFIG_IB_STANDALONE is not set.

Fixes: a8d17c21 ("imagebuilder: actually support IB from buildbot")
Signed-off-by: George Sapkin &lt;george@sapk.in&gt;
Link: https://github.com/openwrt/openwrt/pull/21658
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>imagebuilder: add ABI suffix to packages when using apk</title>
<updated>2026-01-13T09:20:24Z</updated>
<author>
<name>George Sapkin</name>
</author>
<published>2026-01-08T03:00:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=31cdd13d22dd374d4a8b8d86377627ad01928495'/>
<id>urn:sha1:31cdd13d22dd374d4a8b8d86377627ad01928495</id>
<content type='text'>
If an apk package with an ABI version doesn't have priority set, it
can't be selected by its base name:

$ make manifest PACKAGES='libustream-openssl libsqlite3'
ERROR: unable to select packages:
  libsqlite3 (virtual):
    note: please select one of the 'provided by'
          packages explicitly
    provided by: libsqlite3-0
    required by: world[libsqlite3]
  libustream-openssl (virtual):
    note: please select one of the 'provided by'
          packages explicitly
    provided by: libustream-openssl20201210
    required by: world[libustream-openssl]

Look up the ABI version in apk index and if present, add an ABI suffix
to all requested packages.

Signed-off-by: George Sapkin &lt;george@sapk.in&gt;
Link: https://github.com/openwrt/openwrt/pull/21449
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>imagebuilder: fix repeated generation of package index when signing is enabled</title>
<updated>2025-11-12T13:23:33Z</updated>
<author>
<name>Liangbin Lian</name>
</author>
<published>2024-05-08T04:57:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=26ddab47d90c9b0982de1e926c9cb7444d1089a7'/>
<id>urn:sha1:26ddab47d90c9b0982de1e926c9cb7444d1089a7</id>
<content type='text'>
`$(MAKE) package_index` will generate Packages.sig if signing is enabled, and Packages.sig is always newer than Packages.gz, cause repeated generation of package index on next build. So we should ignore Packages.sig.

Signed-off-by: Liangbin Lian &lt;jjm2473@gmail.com&gt;
</content>
</entry>
<entry>
<title>imagebuilder: implement STRIP_ABI option for manifest target</title>
<updated>2025-07-03T10:45:59Z</updated>
<author>
<name>Eric Fahlgren</name>
</author>
<published>2025-07-01T21:02:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=23dc466969f3364dfa7ab480e7745480a2e816f9'/>
<id>urn:sha1:23dc466969f3364dfa7ab480e7745480a2e816f9</id>
<content type='text'>
When using apk as the package manager, imagebuilder make command

    make manifest STRIP_ABI=1

does not strip package names of their ABI-version suffix.  The ASU
server relies on this to validate builds, so many snapshot build
requests are failing.

Fix this by using the already existing package data parser in
make-index-json.py and augment it to write the result in manifest
format.

Fixes: https://github.com/openwrt/openwrt/issues/19274
Signed-off-by: Eric Fahlgren &lt;ericfahlgren@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/19278
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>imagebuilder: fix addition of local packages</title>
<updated>2025-02-21T09:44:42Z</updated>
<author>
<name>Kuan-Yi Li</name>
</author>
<published>2025-02-20T21:26:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=6936deac67e5f0d950bcc26e56bc90b15b12db12'/>
<id>urn:sha1:6936deac67e5f0d950bcc26e56bc90b15b12db12</id>
<content type='text'>
Since alpinelinux/apk-tools@460d62ee743c, relative paths are no longer
accepted in repositories file.

Add local repository in APK command instead to fix this issue.

Fixes: 83d2d21904e0 ("apk: update to Git HEAD (2025-02-08)")
Fixes: https://github.com/openwrt/openwrt/issues/18032
Signed-off-by: Kuan-Yi Li &lt;kyli@abysm.org&gt;
Link: https://github.com/openwrt/openwrt/pull/18048
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: lock versions for special APK packages</title>
<updated>2025-02-04T13:48:59Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2025-02-01T23:01:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=63e178f06740c473e4347dc195f03e7f57ce59a2'/>
<id>urn:sha1:63e178f06740c473e4347dc195f03e7f57ce59a2</id>
<content type='text'>
The three packages base-files, libc and kernel are special, the former
can't be upgraded in place since it's content are modified on startup,
the latter two are virtual packages only used as constraints for the
package manager.

Historically base-files was "locked" via a special OPKG function, the
latter two were hidden from the package index and thereby never picked
as possible upgrade.

Time moved forward and we now have APK and tools like OWUT. The latter
compares available packages with installed packages and generates user
readable output, requiring versions for libc and kernel, too. At the
same time, APK uses a different looking mechanism, which is set during
installation instead of part of the package metadata.

In short, this patch adds version constraints to the three packages,
allowing them to be part of the package index.

Fixes: #17774
Fixes: #17775
Fixes: efahl/owut#31

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