Page MenuHomeVyOS Platform

Update the APT mirror list before a package build
In progress, NormalPublicFEATURE REQUEST

Description

Summary

Update the APT mirror list before the build.
When we build a binary in the vyos-build container.
The repository update process must be independent of the existence of package/package.toml dependencies.
Currently, if we do not have dependencies, we just skip this step https://github.com/vyos/vyos-build/blob/0dc2973568be1a05f55862325f4a3d972bb2915b/scripts/package-build/build.py#L31-L33

So run(['sudo', 'apt-get', 'update'], check=True) will never execute without [dependencies]

This may lead to build failures for certain packages.

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Viacheslav triaged this task as Normal priority.
Viacheslav changed the task status from Open to In progress.Mon, Dec 29, 2:52 PM
Viacheslav claimed this task.
Viacheslav renamed this task from The repository update process must be independent of package dependency existence to Update the APT mirror list before a package build.Mon, Dec 29, 4:15 PM