Instead of hard linking omap3-mkcard.sh refer to it
using FILESPATH. This avoids the parse warning

WARNING: Unable to get checksum for omap3-mkcard SRC_URI entry
omap3-mkcard.sh: file could not be found

Signed-off-by: Khem Raj <raj.k...@gmail.com>
Signed-off-by: Koen Kooi <k...@dominion.thruhere.net>
---
 recipes-angstrom/angstrom/omap3-mkcard.bb          |    6 +++++-
 .../angstrom/omap3-mkcard/omap3-mkcard.sh          |    1 -
 2 files changed, 5 insertions(+), 2 deletions(-)
 delete mode 120000 recipes-angstrom/angstrom/omap3-mkcard/omap3-mkcard.sh

diff --git a/recipes-angstrom/angstrom/omap3-mkcard.bb 
b/recipes-angstrom/angstrom/omap3-mkcard.bb
index 31a20a3..f09cfe5 100644
--- a/recipes-angstrom/angstrom/omap3-mkcard.bb
+++ b/recipes-angstrom/angstrom/omap3-mkcard.bb
@@ -1,8 +1,12 @@
 DESCRIPTION="Format a card for omap3 booting"
 LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
 SRC_URI = "file://omap3-mkcard.sh"
 
-PR = "r1"
+FILESPATH =. "${FILE_DIRNAME}/../../contrib:"
+
+PR = "r2"
 
 do_install() {
        install -d ${D}${bindir}/
diff --git a/recipes-angstrom/angstrom/omap3-mkcard/omap3-mkcard.sh 
b/recipes-angstrom/angstrom/omap3-mkcard/omap3-mkcard.sh
deleted file mode 120000
index b8c8a70..0000000
--- a/recipes-angstrom/angstrom/omap3-mkcard/omap3-mkcard.sh
+++ /dev/null
@@ -1 +0,0 @@
-../../../contrib/angstrom/omap3-mkcard.sh
\ No newline at end of file
-- 
1.7.9.5


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to