summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-08-30 12:41:24 -0500
committerJohn Klug <john.klug@multitech.com>2017-08-30 12:41:24 -0500
commit8dd025d2d5e41446902ca4631bab154de185a58e (patch)
treeee6d367122e823d3907e4aa039a2a26a1b4e3a08
parenta7bebbbcae2bf00408ea598e21e27aa646370240 (diff)
downloadmeta-multitech-8dd025d2d5e41446902ca4631bab154de185a58e.tar.gz
meta-multitech-8dd025d2d5e41446902ca4631bab154de185a58e.tar.bz2
meta-multitech-8dd025d2d5e41446902ca4631bab154de185a58e.zip
Move the location of the ipk to the layers/../rs9113/files/rs9113-ipk directory
-rw-r--r--recipes-kernel/rs9113/rs9113.inc12
1 files changed, 8 insertions, 4 deletions
diff --git a/recipes-kernel/rs9113/rs9113.inc b/recipes-kernel/rs9113/rs9113.inc
index 1a238e1..55d9375 100644
--- a/recipes-kernel/rs9113/rs9113.inc
+++ b/recipes-kernel/rs9113/rs9113.inc
@@ -1,10 +1,14 @@
inherit update-rc.d
-DR = "${DL_DIR}/rs9113-ipk"
+DR = "${THISDIR}/files/rs9113-ipk"
INITSCRIPT_NAME = "rs9113"
INITSCRIPT_PARAMS = "start 50 S ."
+# Avoid QA Issue: No GNU_HASH in the elf binary
+INSANE_SKIP_${PN} = "ldflags"
+INSANE_SKIP_${PN}-dev = "ldflags"
+
python do_fetch_prepend () {
# d.setVar('BB_STRICT_CHECKSUM',False)
DR = d.getVar("DR",True)
@@ -62,9 +66,9 @@ do_install () {
bbnote "pwd,ls: $(pwd) $(ls) WORKDIR is ${WORKDIR}"
(
cd ${WORKDIR}
- find etc -print0 | cpio -0 -pdum ${D}
- find usr -print0 | cpio -0 -pdum ${D}
- find opt -print0 | cpio -0 -pdum ${D}
+ find etc -print0 | cpio --owner root:root -0 -pdum ${D}
+ find usr -print0 | cpio --owner root:root -0 -pdum ${D}
+ find opt -print0 | cpio --owner root:root -0 -pdum ${D}
)
install -d ${D}/opt/rs9113/init.d
install -d ${D}${sysconfdir}/init.d/