Am 12.11.2012 14:44, schrieb Peter Oruba:
Hello everybodyI am using Yocto as a framework to build Debian packages. So far there is a recipe working up to the stage that source is fetched and copied (for now compiling is simply skipped). That part works fine, however, I am having a hard time to create a Debian package with ${destdir}'s content. The recipe looks as follows: LICENSE = "MyLicense" LIC_FILES_CHKSUM = "file://LICENSE;md5=c6564c1e3c8492bdfa4eddb6d81c2c66" #SRCDATE SRCREV="r105" PV="${SRCPV}" PR="${SRCREV}" SRC_URI = "svn://repo/trunk;module=myproject;proto=http" S = "${WORKDIR}/${PN}" PKG="myproject-debian" PKGFN="myproject" IMAGE_ROOTFS="${D}" PN="myproject" PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGES = "${PN}" FILES_${PN} = "${D}/usr/libexec/*" inherit native package_deb do_install() { #oe_runmake 'DESTDIR=${D}' install install -v -d ${D}/usr/libexec/ cp -a -v ${S} ${D}/usr/libexec/ } do_populate_sysroot[noexec] = "1" do_package[noexec] = "0" do_package_write[noexec] = "0" do_package_write_deb[noexec] = "0" Unfortunately there is not a lot of information about creating native packages with Yocto that you can find out there. Thanks, Peter _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
Managed to make it work, problem was solved by removing the following lines: do_package[noexec] = "0" do_package_write[noexec] = "0" do_package_write_deb[noexec] = "0" Thanks, Peter _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
