mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-17 04:06:56 +00:00
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.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
DESCRIPTION = "Scripts to support a first run wizard on the Raspberry Pi."
|
||||
LICENSE = "GPLV2"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
DEPENDS = "zenity dbus"
|
||||
RDEPENDS = "slim sudo zenity dbus"
|
||||
|
||||
COMPATIBLE_MACHINE = "raspberrypi"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = " \
|
||||
file://LICENSE \
|
||||
file://first-run-wizard.sh \
|
||||
file://rpi_startup.sh \
|
||||
file://rc.firstrun \
|
||||
"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
INITSCRIPT_NAME = "rpi-run-init"
|
||||
INITSCRIPT_PARAMS = "start 29 2 3 4 5 . stop 29 2 3 4 5 ."
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${prefix}/rpi/scripts/
|
||||
install -m 0755 ${WORKDIR}/first-run-wizard.sh ${D}${prefix}/rpi/scripts/
|
||||
install -m 0755 ${WORKDIR}/rpi_startup.sh ${D}${prefix}/rpi/scripts/
|
||||
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/rc.firstrun ${D}${sysconfdir}/init.d/rpi-run-init
|
||||
|
||||
install -d ${D}${sysconfdir}/rpi/
|
||||
}
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
FILES_${PN} += "${prefix} ${sysconfdir}"
|
||||
Reference in New Issue
Block a user