[linux-yocto] ${S} variable resists being set in recipe
Rob McPherson
rob.mcpherson at digecor.com
Thu Sep 10 10:50:52 PDT 2015
All,
I'm having a problem with a recipe. It runs without error, but doesn't build the code, and it doesn't deploy the artifacts. It also give a warning that S must be set properly. Here is my recipe.
DESCRIPTION = "Gstreamer plugin provided by RidgeRun to decrypt videos on the fly, static or streaming."
SECTION = "Digecor gstreamer"
LICENSE = "closed"
LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7"
${S} = "${workdir}"
#SRC_URI = "file://gst-crypto_0.10.0.orig.tar.gz"
SRC_URI = "file://gst-crypto-0.10.0.mod.tar.gz"
DEPENDS = "autoconf gettext pkgconfig"
do_unpack() {
cd ..
rm -rf ./gst-crypto-0.10.0
}
do_install() {
install -m 0755 -d ${S}/libgstcrypto.so ${D}/usr/lib/gstreamer-0.10
}
It doesn't matter what I change the S variable to, it always installs in tmp/work/nv8-poky-linux-gnueabi/gst-crypto/0.10.0-r0/, but bitbake gst-crypto -c devshell always opens in tmp/work/nv8-poky-linux-gnueabi/gst-crypto/0.10.0-r0/gst-crypto-0.10.0/, one extra directory below this. Please help me understand what I'm doing wrong. The tarball is unpacking correctly, but in parent directory to the one called by S.
Rob
Rob McPherson
743 W. 1200 North
Springville, UT 84663
801.691.7253
mailto: rob.mcpherson at digecor.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20150910/f15f9028/attachment.html>
More information about the linux-yocto
mailing list