blob: b614956559dc8a886aa7d64dbfdfb462606f5999 [file] [log] [blame]
Andrew Geissler1fe918a2020-05-15 14:16:47 -05001SUMMARY = "Simple init script that uses devmapper to mount the rootfs in read-only mode protected by dm-verity"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4
5SRC_URI = "file://init-dm-verity.sh"
6
7do_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
13FILES_${PN} = "/init /dev/console"