diff options
author | Mingli Yu <Mingli.Yu@windriver.com> | 2018-10-22 16:12:51 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-10-22 04:41:50 -0400 |
commit | 87526423d572b435002f54c6e9e28e4591c53447 (patch) | |
tree | ffed2d291a84427256d6a47677977186bf38ef02 /recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch | |
parent | ce8f6fe10682d85f7e26ceb3e8ccbc6e01d2b869 (diff) | |
download | meta-virtualization-87526423d572b435002f54c6e9e28e4591c53447.tar.gz |
lxc: Upgrade to 3.0.2
* Refresh patch to avoid fuzz warnings
* Update to 3.0.2 as lxc-destroy failed when
system boot in nfs rootfs in lxc 3.0.1 as below:
# lxc-destroy -n test9
lxc-destroy: test9: utils.c: _recursive_rmdir: 149 Failed to delete /var/lib/lxc/test9
lxc-destroy: test9: lxccontainer.c: container_destroy: 2946 Failed to destroy directory "/var/lib/lxc/test9" for "test9"
Destroying test9 failed
Update to 3.0.2 to fix the above issue
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch')
-rw-r--r-- | recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch b/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch index 81fd15d6..abddef6e 100644 --- a/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch +++ b/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 0dad69a3bd306cc701c8bd4df4ea47f0ec5f9150 Mon Sep 17 00:00:00 2001 | 1 | From 1b334bdaf598600314a678509a702728721001a2 Mon Sep 17 00:00:00 2001 |
2 | From: Mark Asselstine <mark.asselstine@windriver.com> | 2 | From: Mark Asselstine <mark.asselstine@windriver.com> |
3 | Date: Thu, 31 May 2018 15:14:26 -0400 | 3 | Date: Thu, 31 May 2018 15:14:26 -0400 |
4 | Subject: [PATCH] tests: add '--no-validate' when using download template | 4 | Subject: [PATCH] tests: add '--no-validate' when using download template |
@@ -9,6 +9,7 @@ interest to this test at any rate so simply add '--no-validate' to | |||
9 | avoid failing due to no GPG validation. | 9 | avoid failing due to no GPG validation. |
10 | 10 | ||
11 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | 11 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> |
12 | |||
12 | --- | 13 | --- |
13 | src/tests/lxc-test-apparmor-mount | 2 +- | 14 | src/tests/lxc-test-apparmor-mount | 2 +- |
14 | src/tests/lxc-test-autostart | 2 +- | 15 | src/tests/lxc-test-autostart | 2 +- |
@@ -18,10 +19,10 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | |||
18 | 5 files changed, 5 insertions(+), 5 deletions(-) | 19 | 5 files changed, 5 insertions(+), 5 deletions(-) |
19 | 20 | ||
20 | diff --git a/src/tests/lxc-test-apparmor-mount b/src/tests/lxc-test-apparmor-mount | 21 | diff --git a/src/tests/lxc-test-apparmor-mount b/src/tests/lxc-test-apparmor-mount |
21 | index ddcee8a..d3d2c49 100755 | 22 | index 56d598f..573cff8 100755 |
22 | --- a/src/tests/lxc-test-apparmor-mount | 23 | --- a/src/tests/lxc-test-apparmor-mount |
23 | +++ b/src/tests/lxc-test-apparmor-mount | 24 | +++ b/src/tests/lxc-test-apparmor-mount |
24 | @@ -157,7 +157,7 @@ if [ -f /etc/lsb-release ]; then | 25 | @@ -169,7 +169,7 @@ if [ -f /etc/lsb-release ]; then |
25 | done | 26 | done |
26 | fi | 27 | fi |
27 | 28 | ||
@@ -29,7 +30,7 @@ index ddcee8a..d3d2c49 100755 | |||
29 | +run_cmd lxc-create -t download -n $cname -- --no-validate -d ubuntu -r $release -a $ARCH | 30 | +run_cmd lxc-create -t download -n $cname -- --no-validate -d ubuntu -r $release -a $ARCH |
30 | 31 | ||
31 | echo "test default confined container" | 32 | echo "test default confined container" |
32 | run_cmd lxc-start -n $cname -d | 33 | run_cmd lxc-start -n $cname -d -lDEBUG -o "$logfile" |
33 | diff --git a/src/tests/lxc-test-autostart b/src/tests/lxc-test-autostart | 34 | diff --git a/src/tests/lxc-test-autostart b/src/tests/lxc-test-autostart |
34 | index e5b651b..d15b79b 100755 | 35 | index e5b651b..d15b79b 100755 |
35 | --- a/src/tests/lxc-test-autostart | 36 | --- a/src/tests/lxc-test-autostart |
@@ -82,6 +83,3 @@ index 3e35008..f489286 100755 | |||
82 | run_cmd "lxc-start -n b1 -d" | 83 | run_cmd "lxc-start -n b1 -d" |
83 | p1=$(run_cmd "lxc-info -n b1 -p -H") | 84 | p1=$(run_cmd "lxc-info -n b1 -p -H") |
84 | 85 | ||
85 | -- | ||
86 | 2.7.4 | ||
87 | |||