Page MenuHomeVyOS Platform

vyos-build: Add required packages and step to build-GCE-image script
Closed, ResolvedPublicBUG

Description

Running 'make GCE' does not currently work with scripts/build-GCE-image. Known workarounds have further been complicated by (1) missing packages parted, kpartx; (2) an outstanding issue with nonpersistent loop devices in docker (a proper citation is missing, but some discussion here: https://github.com/moby/moby/issues/27886).

Details

Difficulty level
Unknown (require assessment)
Version
vyos-1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

The discussion says the container should be started with --privileged, as is documented in the vyos-build readme. Did you test it with --privileged?

Yes, @jjakob, I run docker as indicated in the vyos-build README, which includes --privileged. I am not that concerned with the docker issue here; rather I want the script to work, and am adding in the necessary ingredients to the script itself. Compare the older prescription:
https://wiki.vyos.net/wiki/Building_images_using_vyos-build_Docker_container#Building_Google_Cloud.2FGCE_image

jestabro changed the task status from Open to In progress.Mar 20 2020, 3:59 PM
jestabro claimed this task.
jestabro moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
erkin set Issue type to Bug (incorrect behavior).Aug 31 2021, 5:15 PM