summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/overlayfs-init-jffs2_0.1.bb
blob: 0bc10dfa65e7f5e0ddf2750ba0406341c0126ac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "OverlayFS init"
HOMEPAGE = "http://www.multitech.com/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PACKAGE_ARCH = "all"
PR = "r1"
RDEPENDS_${PN} += "bash"

SRC_URI = " \
            file://overlayfs.init \
"

inherit allarch
inherit update-rc.d

INITSCRIPT_NAME = "overlayfs"
INITSCRIPT_PARAMS = "start 01 S ."

do_install() {
  install -d ${D}/${sysconfdir}/init.d
  install -m 0755 ${WORKDIR}/overlayfs.init ${D}/${sysconfdir}/init.d/overlayfs
}