diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-10-04 14:42:42 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-10-04 14:42:42 +0200 |
commit | 7bd3693b986e0a6e59016767ea6f075ba01ab68c (patch) | |
tree | 8cf3fc3f8a6a546ca1f734cd56e3d4e8fca58faf /recipes-sota/ostree-initrd/ostree-initrd.bb | |
parent | 844ddcf4496edfdb9b682f712ab1ae1cd16f1f97 (diff) | |
download | meta-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.bb | 19 |
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 @@ | |||
1 | SUMMARY = "Extremely basic live image init script" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
4 | SRC_URI = "file://init.sh" | ||
5 | |||
6 | S = "${WORKDIR}" | ||
7 | |||
8 | do_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 | |||
16 | inherit allarch | ||
17 | |||
18 | FILES_${PN} += " /dev /etc/initrd-release /sbin/init " | ||
19 | |||