<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-build.git/scripts/package-build/build.py, branch rolling</title>
<subtitle>VyOS image build scripts (mirror of https://github.com/vyos/vyos-build.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-build.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-build.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/'/>
<updated>2026-06-19T08:58:29+00:00</updated>
<entry>
<title>T8599: Use .orig suffix for 3.0 source format only</title>
<updated>2026-06-19T08:58:29+00:00</updated>
<author>
<name>Kyrylo Yatsenko</name>
<email>hedrok@gmail.com</email>
</author>
<published>2026-06-19T08:30:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=c596d7eea261c79822b0730d2056ea64c8e7281f'/>
<id>urn:sha1:c596d7eea261c79822b0730d2056ea64c8e7281f</id>
<content type='text'>
1.0 source format version needs tarball without '.orig' suffix as described in https://www.man7.org/linux/man-pages/man1/dpkg-source.1.html.

Only if debian/source/format exists and contains 3.0, use '.orig'
</content>
</entry>
<entry>
<title>T8599: Don't ignore other build.py failures</title>
<updated>2026-06-18T19:49:58+00:00</updated>
<author>
<name>Kyrylo Yatsenko</name>
<email>hedrok@gmail.com</email>
</author>
<published>2026-06-11T11:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=7b0f4ce0625d6cb781727ad67cfc9b3911a8ad58'/>
<id>urn:sha1:7b0f4ce0625d6cb781727ad67cfc9b3911a8ad58</id>
<content type='text'>
Exit with error for other failures:

* Creating/installing dependency package should be error: e.g. debugging
  why strongswan cannot find systemd could be easier if build.py failed
  when it couldn't install systemd and not when `configure` couldn't
  find it.
* Creating tarball
* pre_hook run
</content>
</entry>
<entry>
<title>T8599: Make source packages required and fix them</title>
<updated>2026-06-18T19:49:58+00:00</updated>
<author>
<name>Kyrylo Yatsenko</name>
<email>hedrok@gmail.com</email>
</author>
<published>2026-04-29T19:40:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=3e3a8e0611f35dd905f92afc13b19933d8b8ac48'/>
<id>urn:sha1:3e3a8e0611f35dd905f92afc13b19933d8b8ac48</id>
<content type='text'>
A lot of packages failed to build source package.
Stop ignoring source package build errors and fix it.

To fix source packages:

* Use &lt;source_package&gt;_&lt;upstream_version&gt;.orig.tar.gz naming for source
  archive.
* Get `source_package` and `upstream_version` from changelog using
  dpkg-parsechangelog utility
* Clean build-deps after usage or dpkg-source sees these files as
  changes relative to upstream.
* Add '.github' to --diff-ignore source option
</content>
</entry>
<entry>
<title>T8132: Update the APT mirror list before a package build</title>
<updated>2025-12-29T16:14:46+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2025-12-29T14:46:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=94e3a3711b0bab81711bac99777bb40619f23e12'/>
<id>urn:sha1:94e3a3711b0bab81711bac99777bb40619f23e12</id>
<content type='text'>
The repository update process must be independent of the existence of
package/package.toml dependencies.
This may lead to build failures for certain packages.
Alway update the APT mirror list before build.
</content>
</entry>
<entry>
<title>T7997: Exclude auxiliary directories from tarballs</title>
<updated>2025-11-07T12:35:53+00:00</updated>
<author>
<name>Andrii Klymenko</name>
<email>a.klymenko@vyos.io</email>
</author>
<published>2025-11-07T12:35:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=4fee26588fea25f9a3bd71040d44989efc87c6c2'/>
<id>urn:sha1:4fee26588fea25f9a3bd71040d44989efc87c6c2</id>
<content type='text'>
Update the dpkg build command to ignore .git and .github directories.</content>
</entry>
<entry>
<title>build: T7828: use tomli instead of toml in the package build script</title>
<updated>2025-10-21T11:14:53+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2025-10-21T11:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=400cce74b60c606e14760ae366a58bc492e61416'/>
<id>urn:sha1:400cce74b60c606e14760ae366a58bc492e61416</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T7714: Exclude auxiliary directories from common tarballs</title>
<updated>2025-08-14T16:10:51+00:00</updated>
<author>
<name>Viacheslav</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2025-08-13T11:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=896c4b28f0450db92e73a4f01451d6cabc09ddb5'/>
<id>urn:sha1:896c4b28f0450db92e73a4f01451d6cabc09ddb5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove an emoji from an error message</title>
<updated>2025-06-09T11:48:51+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2025-06-09T11:48:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=6b33a64184a481d16710fb0b05b97184a0e70b21'/>
<id>urn:sha1:6b33a64184a481d16710fb0b05b97184a0e70b21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T7530: Build package binaries script should exit if repo is absent</title>
<updated>2025-06-09T09:41:34+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2025-06-09T09:41:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=2ecdb4f464f41f43daec872c95c3fce9c8282c11'/>
<id>urn:sha1:2ecdb4f464f41f43daec872c95c3fce9c8282c11</id>
<content type='text'>
The build package binaries script should exit if the repo is absent
or cannot be cloned

If a build package `repo-a` depends on the `repo-b` and the `repo-b`
cannot be cloned, then we shoud exit from the script to avoid
partly build dependencies

For example:
```
[[packages]]
name = "fake-repo"
commit_id = "v0.0.1"
scm_url = "https://github.com/vyos/fake-repo"

[[packages]]
name = "ethtool"
commit_id = "debian/1%6.10-1"
scm_url = "https://salsa.debian.org/kernel-team/ethtool"
```

If ethtool depends on some fake-package and this package cannot be
downloaded from the repo, then we shouldn't build the ethtool package
at all.
</content>
</entry>
<entry>
<title>T7026: Add apply_patches option for the build packages script</title>
<updated>2025-01-14T09:13:17+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2025-01-14T09:10:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=0f44fc7abe063a4f64628404547801a089455154'/>
<id>urn:sha1:0f44fc7abe063a4f64628404547801a089455154</id>
<content type='text'>
Add 'apply_patches' key is set to True (default) in the package configuration
This allows skipping/applying patch application by 'build.py' for specific
packages when desired

Usage:
  apply_patches = false
</content>
</entry>
</feed>
