diff options
| -rw-r--r-- | recipes-containers/lxc/files/lxc-fix-B-S.patch | 17 | ||||
| -rw-r--r-- | recipes-containers/lxc/lxc_1.0.7.bb | 1 | 
2 files changed, 18 insertions, 0 deletions
diff --git a/recipes-containers/lxc/files/lxc-fix-B-S.patch b/recipes-containers/lxc/files/lxc-fix-B-S.patch new file mode 100644 index 00000000..3822655e --- /dev/null +++ b/recipes-containers/lxc/files/lxc-fix-B-S.patch  | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Index: lxc-1.0.7/config/init/upstart/Makefile.am | ||
| 2 | =================================================================== | ||
| 3 | --- lxc-1.0.7.orig/config/init/upstart/Makefile.am | ||
| 4 | +++ lxc-1.0.7/config/init/upstart/Makefile.am | ||
| 5 | @@ -3,9 +3,9 @@ EXTRA_DIST = lxc.conf lxc-instance.conf | ||
| 6 | if INIT_SCRIPT_UPSTART | ||
| 7 | install-upstart: lxc.conf lxc-instance.conf lxc-net.conf | ||
| 8 | $(MKDIR_P) $(DESTDIR)$(sysconfdir)/init/ | ||
| 9 | - $(INSTALL_DATA) lxc.conf $(DESTDIR)$(sysconfdir)/init/ | ||
| 10 | - $(INSTALL_DATA) lxc-instance.conf $(DESTDIR)$(sysconfdir)/init/ | ||
| 11 | - $(INSTALL_DATA) lxc-net.conf $(DESTDIR)$(sysconfdir)/init/ | ||
| 12 | + $(INSTALL_DATA) $(srcdir)/lxc.conf $(DESTDIR)$(sysconfdir)/init/ | ||
| 13 | + $(INSTALL_DATA) $(srcdir)/lxc-instance.conf $(DESTDIR)$(sysconfdir)/init/ | ||
| 14 | + $(INSTALL_DATA) $(srcdir)/lxc-net.conf $(DESTDIR)$(sysconfdir)/init/ | ||
| 15 | |||
| 16 | uninstall-upstart: | ||
| 17 | rm -f $(DESTDIR)$(sysconfdir)/init/lxc.conf | ||
diff --git a/recipes-containers/lxc/lxc_1.0.7.bb b/recipes-containers/lxc/lxc_1.0.7.bb index 55da522f..0da1e37f 100644 --- a/recipes-containers/lxc/lxc_1.0.7.bb +++ b/recipes-containers/lxc/lxc_1.0.7.bb  | |||
| @@ -31,6 +31,7 @@ SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \ | |||
| 31 | file://document-lxc.rebootsignal.patch \ | 31 | file://document-lxc.rebootsignal.patch \ | 
| 32 | file://lxc-busybox-use-lxc.rebootsignal-SIGTERM.patch \ | 32 | file://lxc-busybox-use-lxc.rebootsignal-SIGTERM.patch \ | 
| 33 | file://ppc-add-seccomp-support-for-lxc.patch \ | 33 | file://ppc-add-seccomp-support-for-lxc.patch \ | 
| 34 | file://lxc-fix-B-S.patch \ | ||
| 34 | " | 35 | " | 
| 35 | 36 | ||
| 36 | SRC_URI[md5sum] = "b48f468a9bef0e4e140dd723f0a65ad0" | 37 | SRC_URI[md5sum] = "b48f468a9bef0e4e140dd723f0a65ad0" | 
