summaryrefslogtreecommitdiffstats
path: root/recipes-extra/startup/rpi-first-run-wizard.bb
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2012-04-24 14:02:52 +0100
committerDavid-John Willis <John.Willis@Distant-earth.com>2012-04-24 14:02:52 +0100
commitc20be94e434ea2eb2a0147e61b433585bcbf6913 (patch)
tree3ddbe72803bc9f67a3e879a378638b073726f801 /recipes-extra/startup/rpi-first-run-wizard.bb
parent03eef509e4aa5aae05326410fb9f9fdfcf433f48 (diff)
downloadmeta-raspberrypi-c20be94e434ea2eb2a0147e61b433585bcbf6913.tar.gz
rpi-first-run-wizard: Add basic first run wizard from the OpenPandora.
* Only used in demo images at the moment to just get a user setup.
Diffstat (limited to 'recipes-extra/startup/rpi-first-run-wizard.bb')
-rw-r--r--recipes-extra/startup/rpi-first-run-wizard.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-extra/startup/rpi-first-run-wizard.bb b/recipes-extra/startup/rpi-first-run-wizard.bb
new file mode 100644
index 0000000..7c0be53
--- /dev/null
+++ b/recipes-extra/startup/rpi-first-run-wizard.bb
@@ -0,0 +1,37 @@
1DESCRIPTION = "Scripts to support a first run wizard on the Raspberry Pi."
2LICENSE = "GPLV2"
3LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
5DEPENDS = "zenity dbus"
6RDEPENDS = "slim sudo zenity dbus"
7
8COMPATIBLE_MACHINE = "raspberrypi"
9
10PR = "r1"
11
12SRC_URI = " \
13 file://LICENSE \
14 file://first-run-wizard.sh \
15 file://rpi_startup.sh \
16 file://rc.firstrun \
17"
18
19inherit update-rc.d
20
21INITSCRIPT_NAME = "rpi-run-init"
22INITSCRIPT_PARAMS = "start 29 2 3 4 5 . stop 29 2 3 4 5 ."
23
24do_install() {
25 install -d ${D}${prefix}/rpi/scripts/
26 install -m 0755 ${WORKDIR}/first-run-wizard.sh ${D}${prefix}/rpi/scripts/
27 install -m 0755 ${WORKDIR}/rpi_startup.sh ${D}${prefix}/rpi/scripts/
28
29 install -d ${D}${sysconfdir}/init.d/
30 install -m 0755 ${WORKDIR}/rc.firstrun ${D}${sysconfdir}/init.d/rpi-run-init
31
32 install -d ${D}${sysconfdir}/rpi/
33}
34
35PACKAGE_ARCH = "${MACHINE_ARCH}"
36
37FILES_${PN} += "${prefix} ${sysconfdir}"