From 2ccbd56b86c126db98e086efdf7fea9719eb2410 Mon Sep 17 00:00:00 2001 From: Roger Monk Date: Wed, 26 May 2010 23:44:51 +0100 Subject: [PATCH] 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 Signed-off-by: Koen Kooi --- recipes/angstrom/angstrom-uboot-scripts.bb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb b/recipes/angstrom/angstrom-uboot-scripts.bb index d4c6347aeb..67245a0506 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 -- 2.39.5