Andrew Geissler | 1fe918a | 2020-05-15 14:16:47 -0500 | [diff] [blame] | 1 | SUMMARY = "Simple init script that uses devmapper to mount the rootfs in read-only mode protected by dm-verity" |
2 | LICENSE = "MIT" | ||||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||||
4 | |||||
5 | SRC_URI = "file://init-dm-verity.sh" | ||||
6 | |||||
7 | do_install() { | ||||
8 | install -m 0755 ${WORKDIR}/init-dm-verity.sh ${D}/init | ||||
9 | install -d ${D}/dev | ||||
10 | mknod -m 622 ${D}/dev/console c 5 1 | ||||
11 | } | ||||
12 | |||||
13 | FILES_${PN} = "/init /dev/console" |