lxc: update to 4.0.11
Quoted 8 lines · Yanfei
recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch deleted +0
-2@@ -1,85 +0,0 @@ -From 1c2506434e744d8c6a86e42c9d8bae4cde7553f6 Mon Sep 17 00:00:00 2001 -From: Mark Asselstine<[email protected]>
recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch line 12
Quoted 10 lines
recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch deleted +0
-10-Date: Thu, 31 May 2018 15:14:26 -0400 -Subject: [PATCH] tests: add '--no-validate' when using download template - -We are usually running the ptests with core-image-minimal which has no -mechanism to validate the downloads. Validation isn't really of -interest to this test at any rate so simply add '--no-validate' to -avoid failing due to no GPG validation. - -Signed-off-by: Mark Asselstine<[email protected]> -
The reason about dropping this patch refer to the commit of lxc:
commit 82b850ddaa21e0f4d713e764bd57d3d9235fd319
Author: Christian Brauner <[email protected]> Date: Mon Aug 16 17:40:45 2021 +0200
tests: use busybox in lxc-test-no-new-privs
Signed-off-by Christian Brauner <[email protected]>
src/tests/lxc-test-no-new-privs +1 -6
@@ -44,63 +44,26 @@ lxc.net.0.link = lxcbr0 EOF fi -ARCH=i386 -if type dpkg >/dev/null 2>&1; then - ARCH=$(dpkg --print-architecture) -fi - -lxc-create -t download -n c1 -- -d ubuntu -r xenial -a $ARCH +lxc-create -t busybox -n c1 echo "lxc.no_new_privs = 1" >> /var/lib/lxc/c1/config
......
Thanks,
Yanfei