summaryrefslogtreecommitdiffstats
path: root/recipes-sota/ostree-initrd/ostree-initrd.bb
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-10-04 14:42:42 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2016-10-04 14:42:42 +0200
commit7bd3693b986e0a6e59016767ea6f075ba01ab68c (patch)
tree8cf3fc3f8a6a546ca1f734cd56e3d4e8fca58faf /recipes-sota/ostree-initrd/ostree-initrd.bb
parent844ddcf4496edfdb9b682f712ab1ae1cd16f1f97 (diff)
downloadmeta-updater-7bd3693b986e0a6e59016767ea6f075ba01ab68c.tar.gz
Tuned initrd image and pseudo environment to fix bugs with extended
security attributes. Bug-AGL: SPEC-259 Change-Id: I44499ce3f5f1924aecf63689a93d1f20e779225e Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'recipes-sota/ostree-initrd/ostree-initrd.bb')
-rw-r--r--recipes-sota/ostree-initrd/ostree-initrd.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-sota/ostree-initrd/ostree-initrd.bb b/recipes-sota/ostree-initrd/ostree-initrd.bb
new file mode 100644
index 0000000..5c85bee
--- /dev/null
+++ b/recipes-sota/ostree-initrd/ostree-initrd.bb
@@ -0,0 +1,19 @@
1SUMMARY = "Extremely basic live image init script"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4SRC_URI = "file://init.sh"
5
6S = "${WORKDIR}"
7
8do_install() {
9 install -dm 0755 ${D}/etc
10 touch ${D}/etc/initrd-release
11 install -dm 0755 ${D}/dev
12 install -dm 0755 ${D}/sbin
13 install -m 0755 ${WORKDIR}/init.sh ${D}/sbin/init
14}
15
16inherit allarch
17
18FILES_${PN} += " /dev /etc/initrd-release /sbin/init "
19