Skip to content

fix the template of lxc download failure on kirkstone

Xiangyu Chen yocto-meta-virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lxc: backport changes from master for templates-use-curl-instead-of-wget.patchrecipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch+21 -190 replies
2/2lxc: add -L and -f for curl in templates-use-curl-instead-of-wget.patchrecipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-virtualization][kirkstone][PATCH 0/2] fix the template of lxc download failure on kirkstone

From: Xiangyu Chen <[email protected]>

Hi Bruce,

This series of patch to fix the template of lxc-download on kirkstone.

When we using a download container command[1], the lxc-create would report missing "fi" error, this has been already fixed on master, so backport those changes in templates-use-curl-instead-of-wget.patch to kirkstone.

05f316f70a4d : lxc: update to 5.x and meson 211918936180 : treewide: bulk update patches with status field

After backport those changes, the lxc-create with download template still has failure, after checking the image website url, it was redirected to a mirror site, so curl need to add a -L option to support url redirect, the version of curl in kirkstone also need to add an option -f to use return an error code to tell the caller when http/https has errors.

[1] lxc-create -t download -n test -- --dist archlinux --release current --arch arm64

Xiangyu Chen (2):
lxc: backport changes from master for
templates-use-curl-instead-of-wget.patch
lxc: add -L and -f for curl in
templates-use-curl-instead-of-wget.patch

 .../templates-use-curl-instead-of-wget.patch  | 40 ++++++++++---------
 1 file changed, 21 insertions(+), 19 deletions(-)
Signature · 1 line
2.34.1