* fido: funny ipk behavior
@ 2015-04-30 17:36 gmane
0 siblings, 0 replies; 7+ messages in thread
From: gmane @ 2015-04-30 17:36 UTC (permalink / raw)
To: yocto; +Cc: robert.berger
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
root@192.168.7.2:/tmp
/tmp/simple-hello-world-git
Simple Hello world git!
Am I missing something?
I am pretty sure this worked with dizzy.
Regards,
Robert
^ permalink raw reply [flat|nested] 7+ messages in thread
* fido: funny ipk behavior
@ 2015-04-30 18:11 Robert Berger
2015-04-30 19:35 ` Gary Thomas
0 siblings, 1 reply; 7+ messages in thread
From: Robert Berger @ 2015-04-30 18:11 UTC (permalink / raw)
To: yocto; +Cc: Robert Berger
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 it 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
root@192.168.7.2:/tmp
/tmp/simple-hello-world-git
Simple Hello world git!
Am I missing something?
I think this worked with dizzy.
Regards,
Robert..."In Pascal, when you foll with a pointer of a handle, you know
you're fooling with a pointer of a handle. In C, you could be fooling
around with anything. C is the ultimate language for computational
promiscuity." -- Owen Hartnett
My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fido: funny ipk behavior
2015-04-30 18:11 fido: funny ipk behavior Robert Berger
@ 2015-04-30 19:35 ` Gary Thomas
2015-04-30 20:30 ` Robert Berger
0 siblings, 1 reply; 7+ messages in thread
From: Gary Thomas @ 2015-04-30 19:35 UTC (permalink / raw)
To: yocto
On 2015-04-30 12:11, Robert Berger wrote:
> 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 it 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.
On your target, what do you get from this?
# opkg list-installed libc6
>
> ---
>
> 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
> root@192.168.7.2:/tmp
>
> /tmp/simple-hello-world-git
> Simple Hello world git!
>
> Am I missing something?
>
> I think this worked with dizzy.
>
> Regards,
>
> Robert..."In Pascal, when you foll with a pointer of a handle, you know
> you're fooling with a pointer of a handle. In C, you could be fooling
> around with anything. C is the ultimate language for computational
> promiscuity." -- Owen Hartnett
>
> My public pgp key is available,at:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1
>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fido: funny ipk behavior
2015-04-30 19:35 ` Gary Thomas
@ 2015-04-30 20:30 ` Robert Berger
2015-04-30 21:21 ` Burton, Ross
0 siblings, 1 reply; 7+ messages in thread
From: Robert Berger @ 2015-04-30 20:30 UTC (permalink / raw)
To: yocto
Hi,
On 04/30/2015 10:35 PM, Gary Thomas wrote:
>
> On your target, what do you get from this?
> # opkg list-installed libc6
Nothing, since I forgot
EXTRA_IMAGE_FEATURES_append = " package-management"
Thanks,
Robert..."it doesn't matter how beautiful your theory is, it doesn't
matter how smart you are -- if it doesn't agree with experiment, it's
wrong." - Richard P. Feynman
My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fido: funny ipk behavior
2015-04-30 20:30 ` Robert Berger
@ 2015-04-30 21:21 ` Burton, Ross
2015-04-30 21:23 ` Robert P. J. Day
0 siblings, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2015-04-30 21:21 UTC (permalink / raw)
To: Robert Berger; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 393 bytes --]
On 30 April 2015 at 21:30, Robert Berger <gmane@reliableembeddedsystems.com>
wrote:
> Nothing, since I forgot
>
> EXTRA_IMAGE_FEATURES_append = " package-management"
>
That will be it then - your image doesn't have a package database so any
dependencies won't be able to be satisfied.
Either force the installation or rebuild the image with package-management
enabled.
Ross
[-- Attachment #2: Type: text/html, Size: 895 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fido: funny ipk behavior
2015-04-30 21:21 ` Burton, Ross
@ 2015-04-30 21:23 ` Robert P. J. Day
2015-04-30 22:21 ` Gary Thomas
0 siblings, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2015-04-30 21:23 UTC (permalink / raw)
To: Burton, Ross; +Cc: Robert Berger, yocto@yoctoproject.org
On Thu, 30 Apr 2015, Burton, Ross wrote:
>
> On 30 April 2015 at 21:30, Robert Berger <gmane@reliableembeddedsystems.com> wrote:
> Nothing, since I forgot
>
> EXTRA_IMAGE_FEATURES_append = " package-management"
um ... i think you only need refer to EXTRA_IMAGE_FEATURES; with
that variable, i believe the "_append" part is superfluous.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fido: funny ipk behavior
2015-04-30 21:23 ` Robert P. J. Day
@ 2015-04-30 22:21 ` Gary Thomas
0 siblings, 0 replies; 7+ messages in thread
From: Gary Thomas @ 2015-04-30 22:21 UTC (permalink / raw)
To: yocto
On 2015-04-30 15:23, Robert P. J. Day wrote:
> On Thu, 30 Apr 2015, Burton, Ross wrote:
>
>>
>> On 30 April 2015 at 21:30, Robert Berger <gmane@reliableembeddedsystems.com> wrote:
>> Nothing, since I forgot
>>
>> EXTRA_IMAGE_FEATURES_append = " package-management"
>
> um ... i think you only need refer to EXTRA_IMAGE_FEATURES; with
> that variable, i believe the "_append" part is superfluous.
Unless it's already being set somewhere else - this seems like
a safe way to make sure it gets set.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-04-30 22:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-30 18:11 fido: funny ipk behavior Robert Berger
2015-04-30 19:35 ` Gary Thomas
2015-04-30 20:30 ` Robert Berger
2015-04-30 21:21 ` Burton, Ross
2015-04-30 21:23 ` Robert P. J. Day
2015-04-30 22:21 ` Gary Thomas
-- strict thread matches above, loose matches on Subject: below --
2015-04-30 17:36 gmane
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.