From 5d5cebd8a905b5cd5f0a649aeab1ff160b0a0702 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Wed, 19 Sep 2012 18:20:48 +0300 Subject: RPi-config: Rename recipe to rpi-config This was done to avoid errors like: | *** Error: Package name contains illegal characters, (other than [a-z0-9.+-]) while using ipk. Signed-off-by: Andrei Gherzan --- recipes-bcm/bootfiles/RPi-config_0.1.bb | 31 ------------------------------ recipes-bcm/bootfiles/bcm2835-bootfiles.bb | 2 +- recipes-bcm/bootfiles/rpi-config_0.1.bb | 31 ++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 recipes-bcm/bootfiles/RPi-config_0.1.bb create mode 100644 recipes-bcm/bootfiles/rpi-config_0.1.bb diff --git a/recipes-bcm/bootfiles/RPi-config_0.1.bb b/recipes-bcm/bootfiles/RPi-config_0.1.bb deleted file mode 100644 index 88de94e..0000000 --- a/recipes-bcm/bootfiles/RPi-config_0.1.bb +++ /dev/null @@ -1,31 +0,0 @@ -DESCRIPTION = "Commented config.txt file for the Raspberry Pi. \ - The Raspberry Pi config.txt file is read by the GPU before \ - the ARM core is initialised. It can be used to set various \ - system configuration parameters." -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -COMPATIBLE_MACHINE = "raspberrypi" - -SRCREV = "23e90347da3f1a6029984306e7eb5177adc34df8" -SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=git;branch=master \ - " - -S = "${WORKDIR}/git" - -PR = "r0" - -addtask deploy before do_package after do_install - -do_deploy() { - install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles - cp config.txt ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/ - if [ -n "${KEY_DECODE_MPG2}" ]; then - sed -i '/#decode_MPG2/ c\decode_MPG2=${KEY_DECODE_MPG2}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt - fi - if [ -n "${KEY_DECODE_WVC1}" ]; then - sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt - fi -} - -PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/recipes-bcm/bootfiles/bcm2835-bootfiles.bb b/recipes-bcm/bootfiles/bcm2835-bootfiles.bb index cef2b59..89df7a0 100644 --- a/recipes-bcm/bootfiles/bcm2835-bootfiles.bb +++ b/recipes-bcm/bootfiles/bcm2835-bootfiles.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.broadcom;md5=e86e693d19572ee64cc8b17fb062faa9 include ../common/firmware.inc -RDEPENDS_${PN} = "RPi-config" +RDEPENDS_${PN} = "rpi-config" COMPATIBLE_MACHINE = "raspberrypi" diff --git a/recipes-bcm/bootfiles/rpi-config_0.1.bb b/recipes-bcm/bootfiles/rpi-config_0.1.bb new file mode 100644 index 0000000..88de94e --- /dev/null +++ b/recipes-bcm/bootfiles/rpi-config_0.1.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Commented config.txt file for the Raspberry Pi. \ + The Raspberry Pi config.txt file is read by the GPU before \ + the ARM core is initialised. It can be used to set various \ + system configuration parameters." +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +COMPATIBLE_MACHINE = "raspberrypi" + +SRCREV = "23e90347da3f1a6029984306e7eb5177adc34df8" +SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=git;branch=master \ + " + +S = "${WORKDIR}/git" + +PR = "r0" + +addtask deploy before do_package after do_install + +do_deploy() { + install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles + cp config.txt ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/ + if [ -n "${KEY_DECODE_MPG2}" ]; then + sed -i '/#decode_MPG2/ c\decode_MPG2=${KEY_DECODE_MPG2}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt + fi + if [ -n "${KEY_DECODE_WVC1}" ]; then + sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt + fi +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" -- cgit v1.2.3-54-g00ecf