Page MenuHomeVyOS Platform

Flavor build system fails with third-party packages
Closed, ResolvedPublicBUG

Description

I've tested all flavor targets for build-vyos-image in 1.5 and 1.4. In 1.5 they work fine. In 1.4 it looks like cloud-init couldn't initiate debian repositories appropriately and build process fails.
En example for aws-iso:

P: Begin installing packages (install pass)...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package amazon-cloudwatch-agent

UPD it fails in 1.5 too. The difference is that some packages were manually added to VyOS dev package repository(thanks to Viacheslav for troubleshooting). It looks like TOML files under data/build-flavors should have some instructions about additional repositories.

Details

Difficulty level
Easy (less than an hour)
Version
1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Initially we added it only for 1.3 cloudwatch https://github.com/vyos/vyos-build/pull/206/files

Not sure if it was in 1.4/1.5 at all

unity renamed this task from Flavor build system fails on aws-iso, xcpng targets to Flavor build system fails with third-party packages.Dec 28 2023, 1:25 PM
unity updated the task description. (Show Details)
unity updated the task description. (Show Details)
unity updated the task description. (Show Details)
unity added a project: VyOS 1.5 Circinus.
c-po triaged this task as Normal priority.
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.
c-po moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).