[oe-commits] Roger Monk : angstrom-uboot-scripts: Change installdir to / boot and rename configs

git version control git at git.openembedded.org
Thu May 27 07:47:52 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2ccbd56b86c126db98e086efdf7fea9719eb2410
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2ccbd56b86c126db98e086efdf7fea9719eb2410

Author: Roger Monk <r-monk at ti.com>
Date:   Wed May 26 23:44:51 2010 +0100

angstrom-uboot-scripts: Change installdir to /boot and rename configs

   * Install the scripts into /boot instead of datadir
   * Install the original .txt's files as well as .scr's so that users can
     use target mkimage to rebuild/modify/recreate
   * Rename configs for consistency

Signed-off-by: Roger Monk <r-monk at ti.com>
Signed-off-by: Koen Kooi <k-kooi at ti.com>

---

 recipes/angstrom/angstrom-uboot-scripts.bb |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb b/recipes/angstrom/angstrom-uboot-scripts.bb
index d4c6347..67245a0 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -8,6 +8,10 @@ SRC_URI = "file://*.cmd"
 
 do_configure() {
 	cp ${WORKDIR}/*.cmd ${S}
+
+	for i in *.cmd ; do
+		mv $i uboot-$i
+	done
 }
 
 do_compile() {
@@ -17,13 +21,13 @@ do_compile() {
 }
 
 do_install() {
-	install -d ${D}${datadir}/u-boot-scripts
-	for i in *.scr ; do
-		install -m 0644 $i ${D}${datadir}/u-boot-scripts
+	install -d ${D}/boot/u-boot-scripts
+	for i in *.cmd *.scr ; do
+		install -m 0644 $i ${D}/boot/u-boot-scripts
 	done
 }
 
-FILES_${PN} += "${datadir}"
+FILES_${PN} += "/boot"
 
 addtask deploy before do_package after do_install
 





More information about the Openembedded-commits mailing list