summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/overlayfs-init-ubi_0.1.bb
blob: a14ed2e4f8055c1b0fa2fbb5c14188bd354aa370 (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 = "r5"
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
}