All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem recipe build with package debian
@ 2015-01-21 21:43 Cleiton Bueno
  2015-01-21 22:38 ` Aníbal Limón
  0 siblings, 1 reply; 3+ messages in thread
From: Cleiton Bueno @ 2015-01-21 21:43 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]

I have a deb package with several scripts and configurations that I want to
use the BBB.
I created a recipe, as well as other modules and packages to install.


The recipe I'm using is equal below, (removed some details, is just the
example base)



SUMMARY = ""
DESCRIPTION = ""
HOMEPAGE = ""



LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360"

SRC_URI = "file://my_pkg.deb"

SRC_URI[md5sum] = ""
SRC_URI[sha256sum] = ""

S = "${WORKDIR}/my_pkg-${PV}"

inherit package_deb


do_install_append() {
    install -m 755 -D ${WORKDIR}/my_pkg.deb
}




Has anyone created recipe to install deb packages?




My bibake process build...


Reading package lists...
Building dependency tree...
Reading state information...
Package pkgAll is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

W: Unable to read /home/bueno/yocto/poky/projTest/tmp/work/qemux86-
poky-linux/projTest/1.0-r0/apt/preferences.d/ - DirectoryExists (2: No such
file or directory)
E: Package 'pkgAll' has no installation candidate

ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/bueno/yocto/poky/
projTest/tmp/work/qemux86-poky-linux/projTest/1.0-r0/
temp/log.do_rootfs.27791
ERROR: Task 7 (/home/bueno/yocto/poky/projTest//../meta-pkgAll/
recipes-core/images/projTest.bb, do_rootfs) failed with exit code '1'



Now, my recipe the package deb:

SUMMARY = "XXXXXX"
DESCRIPTION = "XXXXXXXXXXXXXX"

LICENSE = "CLOSED"


SRC_URI = "file://projTest_1.0.deb"

SRC_URI[md5sum] = "32d0c2b332440a47dd370eXXXXXXXXXX"
SRC_URI[sha256sum] = "42ebcf856aa626aa6d021173f4d931
e0c84a0a27808d147db89942XXXXXXXXXX"



inherit bin_package pkgconfig


install_deb() {

    ${STAGING_BINDIR_NATIVE}/dpkg --root=${IMAGE_ROOTFS}/
--admindir=${IMAGE_ROOTFS}/var/lib/dpkg/ -i file://projTest_1.0.deb
}

ROOTFS_POSTPROCESS_COMMAND += "install_deb; "




-- 

*Att,Cleiton Bueno*

[-- Attachment #2: Type: text/html, Size: 12473 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-22  2:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21 21:43 Problem recipe build with package debian Cleiton Bueno
2015-01-21 22:38 ` Aníbal Limón
2015-01-22  2:17   ` Cleiton Bueno

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.