Skip to contentSkip to conversation

fido: funny ipk behavior

DISCUSSION [email protected] 1 participant 1 message Apr 30, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

I have a simple recipe like this:

---

DESCRIPTION = "Simple helloworld application + git"
SECTION = "examples"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"

SRCREV = "ecf1f0bc87960ef6b6d97c0385b44ce6ea5b2211"
SRC_URI = "git:///home/genius/yocto-repos/simple-hello-world-git.git;protocol=file;branch=master"

S = "${WORKDIR}/git"

do_compile() {
        ${CC} simple-hello-world-git.c -o simple-hello-world-git
}
do_install() {
        install -d ${D}${bindir}
        install -m 0755 simple-hello-world-git ${D}${bindir}
}

---

If I bake the .ipk, copy it over to the target and try to install it there opkg complains:

opkg install /tmp/simple-hello-world-git_1.0.1-r0_armv7a-vfp-neon.ipk Installing simple-hello-world-git (1.0.1-r0) on root. Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for simple-hello-world-git:
* libc6 (>= 2.21) *
* opkg_install_cmd: Cannot install package simple-hello-world-git.

---

If I include the package into my image it works, also if I just copy over the executable (which is included in the package) it works.

scp /home/genius/test/yocto-autobuilder/yocto-worker/custom-fido-vexpressa9-qemu-core-image-minimal/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/simple-hello-world-git/1.0.1-r0/git/simple-hello-world-git [email protected]:/tmp

/tmp/simple-hello-world-git
Simple Hello world git!

Am I missing something?

I am pretty sure this worked with dizzy.

Regards,

Robert