X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-first-run-wizard.bb;h=d80e02d853618bc811eec7404fecab7306f9b122;hb=a8c204007762726aca1777576266d9e56882d374;hp=0a05310b4bd909c286724a6332358937fdf562a4;hpb=1d20ba62bdc4be45771dda53ba230e84c67560b3;p=openpandora.oe.git diff --git a/recipes/pandora-system/pandora-first-run-wizard.bb b/recipes/pandora-system/pandora-first-run-wizard.bb index 0a05310..d80e02d 100755 --- a/recipes/pandora-system/pandora-first-run-wizard.bb +++ b/recipes/pandora-system/pandora-first-run-wizard.bb @@ -1,22 +1,35 @@ DESCRIPTION = "Scripts to support the first run wizard on the OpenPandora." LICENSE = "GPLV2" -RDEPENDS = "pandora-auto-startx zenity dbus" -# Based on the scripts by JohnX/Mer Project - http://wiki.maemo.org/Mer/ +DEPENDS = "hsetroot zenity dbus" +RDEPENDS = "hsetroot zenity dbus pandora-wallpaper-official tslib tslib-calibrate " COMPATIBLE_MACHINE = "omap3-pandora" -PR = "r1" +PR = "r5" SRC_URI = " \ - file://first-boot-wizard.sh \ + 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}${sbindir} - cp -pP ${WORKDIR}/first-boot-wizard.sh ${D}${sbindir}/first-boot-wizard.sh + 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} += "/lib/firmware" +FILES_${PN} += "${prefix} ${sysconfdir}"