summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxc/files/lxc-busybox-use-lxc.rebootsignal-SIGTERM.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/lxc/files/lxc-busybox-use-lxc.rebootsignal-SIGTERM.patch')
-rw-r--r--recipes-containers/lxc/files/lxc-busybox-use-lxc.rebootsignal-SIGTERM.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-containers/lxc/files/lxc-busybox-use-lxc.rebootsignal-SIGTERM.patch b/recipes-containers/lxc/files/lxc-busybox-use-lxc.rebootsignal-SIGTERM.patch
deleted file mode 100644
index 2f4513ee..00000000
--- a/recipes-containers/lxc/files/lxc-busybox-use-lxc.rebootsignal-SIGTERM.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 22fb28a946397ec19b247efe170c15b263bf89af Mon Sep 17 00:00:00 2001
2From: Bogdan Purcareata <bogdan.purcareata@freescale.com>
3Date: Mon, 16 Feb 2015 09:38:36 +0000
4Subject: [PATCH 12/12] lxc-busybox: use lxc.rebootsignal = SIGTERM
5
6Otherwise lxc-stop -r has no effect on the container.
7
8Upstream-Status: Accepted
9[https://github.com/lxc/lxc/commit/22fb28a946397ec19b247efe170c15b263bf89af]
10
11Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
12Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
13---
14 templates/lxc-busybox.in | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
18index 72531d6..7e05bd6 100644
19--- a/templates/lxc-busybox.in
20+++ b/templates/lxc-busybox.in
21@@ -270,6 +270,7 @@ copy_configuration()
22 grep -q "^lxc.rootfs" $path/config 2>/dev/null || echo "lxc.rootfs = $rootfs" >> $path/config
23 cat <<EOF >> $path/config
24 lxc.haltsignal = SIGUSR1
25+lxc.rebootsignal = SIGTERM
26 lxc.utsname = $name
27 lxc.tty = 1
28 lxc.pts = 1
29--
302.1.4
31