diff options
author | Mike Westerhof <mike@mwester.net> | 2011-07-13 17:50:52 -0500 |
---|---|---|
committer | Mike Westerhof <mike@mwester.net> | 2011-07-13 17:50:52 -0500 |
commit | 0cdeac241f08f34a4d854e743893ea7a1e48123c (patch) | |
tree | 353e60f9a48da88fe918b7eaf9a086c0a1ea6403 /recipes/beagleboard/beagleboard-test-scripts_git.bb | |
parent | 4f46441cb5fd6677775085a37f58645464652707 (diff) | |
parent | b59743b9136df1f427b1bd1ae260c8f30ab6e880 (diff) | |
download | openembedded-0cdeac241f08f34a4d854e743893ea7a1e48123c.tar.gz |
Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into slugos/slugos6.0-beta
Diffstat (limited to 'recipes/beagleboard/beagleboard-test-scripts_git.bb')
-rw-r--r-- | recipes/beagleboard/beagleboard-test-scripts_git.bb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/recipes/beagleboard/beagleboard-test-scripts_git.bb b/recipes/beagleboard/beagleboard-test-scripts_git.bb index be0d059c98..0ee7954f02 100644 --- a/recipes/beagleboard/beagleboard-test-scripts_git.bb +++ b/recipes/beagleboard/beagleboard-test-scripts_git.bb @@ -1,14 +1,18 @@ ## Reminder: The correct spacing for a variable is FOO = "BAR" in : PR="r1" DESCRIPTION = "BeagleBoard test scripts" HOMEPAGE = "http://beagleboad.org/support" -PR = "r2" +PR = "r3" -SRC_URI = "git://gitorious.org/beagleboard-validation/scripts.git;protocol=git \ +SRC_URI = "git://gitorious.org/~joelf/beagleboard-validation/validation-scripts.git;protocol=git \ " -SRCREV = "473dd2ab20d866be6168c9f992c2c9e74e485c9d" +SRCREV = "2df76857155fbd462527c2b00ee83214483f0594" S = "${WORKDIR}/git" +inherit update-rc.d +INITSCRIPT_NAME = "flash-nand-fs.sh" +INITSCRIPT_PARAMS = "start 99 2 3 4 5 ." + do_install() { TEST_FILES=" \ testaudio \ @@ -28,4 +32,8 @@ do_install() { for i in ${TEST_FILES}; do install -m 0755 ${S}/${i} ${D}/${bindir} done + # A script to flash NAND if the board has it, and if there is valid image to flash on the SD Card. + # We also register it as an init script so that the SD Card auto-flashes to NAND during boot. + install -d ${D}/${sysconfdir}/init.d/ + install -m 0755 ${S}/flashing/flash-nand-fs.sh ${D}/${sysconfdir}/init.d/flash-nand-fs.sh } |