You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: kernel: force target arch on cross-built kernel docker image manifest
- our kernel builds are done in arch-independent Dockerfiles
- but those get the build-host's architecture, despite the contents being correct
- when locally developing on a kernel that is != host-arch
- those get the host-arch in the image
- but LinuxKit refuses to use it due to arch mismatch
- (when pushed to a registry, the arch info is discarded, and LK is ok with that)
- thus
- introduce `ensure_docker_image_architecture(imagetag, arch)`
- which just hacks at manifests via a docker save/docker load
- call it from both default and armbian kernel builds
Signed-off-by: Ricardo Pardini <[email protected]>
0 commit comments