diff options
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.patch | 31 |
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 @@ | |||
| 1 | From 22fb28a946397ec19b247efe170c15b263bf89af Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bogdan Purcareata <bogdan.purcareata@freescale.com> | ||
| 3 | Date: Mon, 16 Feb 2015 09:38:36 +0000 | ||
| 4 | Subject: [PATCH 12/12] lxc-busybox: use lxc.rebootsignal = SIGTERM | ||
| 5 | |||
| 6 | Otherwise lxc-stop -r has no effect on the container. | ||
| 7 | |||
| 8 | Upstream-Status: Accepted | ||
| 9 | [https://github.com/lxc/lxc/commit/22fb28a946397ec19b247efe170c15b263bf89af] | ||
| 10 | |||
| 11 | Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> | ||
| 12 | Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> | ||
| 13 | --- | ||
| 14 | templates/lxc-busybox.in | 1 + | ||
| 15 | 1 file changed, 1 insertion(+) | ||
| 16 | |||
| 17 | diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in | ||
| 18 | index 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 | -- | ||
| 30 | 2.1.4 | ||
| 31 | |||
