diff options
Diffstat (limited to 'recipes-containers/lxc/lxc_1.0.1.bbappend')
-rw-r--r-- | recipes-containers/lxc/lxc_1.0.1.bbappend | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-containers/lxc/lxc_1.0.1.bbappend b/recipes-containers/lxc/lxc_1.0.1.bbappend new file mode 100644 index 0000000..c3311d6 --- /dev/null +++ b/recipes-containers/lxc/lxc_1.0.1.bbappend | |||
@@ -0,0 +1,17 @@ | |||
1 | FILESEXTRAPATHS_append := ":${THISDIR}/files" | ||
2 | SRC_URI_append = " file://init-lxc-mount" | ||
3 | SRC_URI_append = " file://lxc-busybox-support-enea-linux-init.patch" | ||
4 | SRC_URI_append = " file://lxc-test-attach-replace-cmp-with-grep.patch" | ||
5 | |||
6 | inherit update-rc.d | ||
7 | |||
8 | INITSCRIPT_NAME = "init-lxc-mount" | ||
9 | |||
10 | EXTRA_OEMAKE_append_imx6qsabrelite = " CFLAGS=-D_FILE_OFFSET_BITS=64" | ||
11 | |||
12 | do_install_append() { | ||
13 | install -d ${D}${sysconfdir}/init.d | ||
14 | install -m 0755 ${WORKDIR}/init-lxc-mount ${D}${sysconfdir}/init.d/init-lxc-mount | ||
15 | } | ||
16 | |||
17 | FILES_${PN} += "${sysconfdir}/init.d/init-lxc-mount" | ||