summaryrefslogtreecommitdiff
path: root/packages/fbset/fbset-init.bb
blob: f04691d793b332d329f3b25b87b839481c81b196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Set framebuffer mode during boot"
PR = "r1"

SRC_URI = "file://fbset.sh file://default-fbset"

inherit update-rc.d

INITSCRIPT_NAME = "fbset.sh"
INITSCRIPT_PARAMS = "start 0 S ."

do_install() {
    install -d ${D}${sysconfdir}/init.d
    install -d ${D}${sysconfdir}/default
    install -m 0755 ${WORKDIR}/fbset.sh ${D}${sysconfdir}/init.d/
    install -m 0644 ${WORKDIR}/default-fbset ${D}${sysconfdir}/default/fbset
}

PACKAGE_ARCH = "all"
CONFFILES_${PN} = "${sysconfdir}/default/fbset"