-
Notifications
You must be signed in to change notification settings - Fork 9
/
pandora-first-run-wizard.bb
executable file
·37 lines (26 loc) · 1.13 KB
/
pandora-first-run-wizard.bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
DESCRIPTION = "Scripts to support the first run wizard on the OpenPandora."
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "hsetroot zenity dbus"
RDEPENDS = "hsetroot zenity dbus pandora-wallpaper-official tslib tslib-calibrate pandora-skel xmodmap"
COMPATIBLE_MACHINE = "omap3-pandora"
PR = "r40"
SRC_URI = " \
file://LICENSE \
file://first-run-wizard.sh \
file://op_startup.sh \
file://rc.firstrun \
"
inherit update-rc.d
INITSCRIPT_NAME = "oprun-init"
INITSCRIPT_PARAMS = "start 29 2 3 4 5 . stop 29 2 3 4 5 ."
do_install() {
install -d ${D}${prefix}/pandora/scripts/
install -m 0755 ${WORKDIR}/first-run-wizard.sh ${D}${prefix}/pandora/scripts/
install -m 0755 ${WORKDIR}/op_startup.sh ${D}${prefix}/pandora/scripts/
install -d ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/rc.firstrun ${D}${sysconfdir}/init.d/oprun-init
install -d ${D}${sysconfdir}/pandora/
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
FILES_${PN} += "${prefix} ${sysconfdir}"