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