No. Do not do this. It's not going to work, especially when you take binaries built for a different system. I do not have time to give a lecture about why, you just need to trust me.
We have a recipe that builds parted from source: https://git.yoctoproject.org/poky/tree/meta/recipes-extended/parted Use it. Alex On Tue, 11 Feb 2025 at 18:05, Gyorgy Sarvari via lists.yoctoproject.org <skandigraun=gmail....@lists.yoctoproject.org> wrote: > > Your first destination should be the log.do_install file in the WORKDIR > of the recipe, which should have the output of the dpkg commands. That > should shed some light on this mystery, hopefully. > > Sidenote: DEB files are actually two compressed tar files in a single > archive. If nothing else works, you can extract the tar files with "ar x > $DEBFILE" - the data.tar.* file has the content that you can just copy > to your rootfs (it also has the folder structure prepared). If you pass > the tar.* files in the SRC_URI, even the extraction could be handled by > bitbake. (Assuming that no post-install magic is done by the deb files, > which would be at least unusual for libraries and -dev packages) > > On 11.02.25 17:11, R Keith Beal via lists.yoctoproject.org wrote: > > I am working with NXP's Flex-Builder. > > I need to add the libraries and headers for parted. > > On Ubuntu there is a package called libprated-dev I am trying to > > replicate. > > The LAYERSCAPE SDK is using bitbake 1.5. > > I know I probably shouldn't be installing DEBs directly, but, adding > > recipes for libprated and all of its dependencies is beyond the scope > > of the project. > > > > I came-up with this recipe, it reports no errors but the files are not > > installed in the RFS. > > > > SUMMARY = "Development libraries and headers for libparted" > > #SECTION = "console/tools" > > LICENSE="CLOSED" > > LIC_FILES_CHKSUM="" > > SRC_URI = " \ > > file://libdevmapper-event1.02.1_1.02.155-3_arm64.deb \ > > file://libudev-dev_257.2-3_arm64.deb \ > > file://libdevmapper-dev_1.02.201-1_arm64.deb \ > > file://libparted-dev_3.6-4+b1_arm64.deb \ > > " > > SRCREV = "" > > PV = "0.1.0" > > S = "${WORKDIR}/git" > > DEPENDS = "parted" > > # inherit pkgconfig > > # Install in this order > > # libdevmapper-event1.02.1_1.02.155-3_arm64.deb > > # libudev-dev_257.2-3_arm64.deb > > # libdevmapper-dev_1.02.201-1_arm64.deb > > # libparted-dev_3.6-4+b1_arm64.deb > > do_install() { > > touch ${STAGING_DIR_NATIVE}/var/lib/dpkg/status > > ${STAGING_BINDIR_NATIVE}/dpkg --instdir=${D}/ \ > > --admindir=${STAGING_DIR_NATIVE}/var/lib/dpkg/ \ > > -i ${WORKDIR}/libdevmapper-event1.02.1_1.02.155-3_arm64.deb > > ${STAGING_BINDIR_NATIVE}/dpkg --instdir=${D}/ \ > > --admindir=${STAGING_DIR_NATIVE}/var/lib/dpkg/ \ > > -i ${WORKDIR}/libudev-dev_257.2-3_arm64.deb > > ${STAGING_BINDIR_NATIVE}/dpkg --instdir=${D}/ \ > > --admindir=${STAGING_DIR_NATIVE}/var/lib/dpkg/ \ > > -i ${WORKDIR}/libdevmapper-dev_1.02.201-1_arm64.deb > > ${STAGING_BINDIR_NATIVE}/dpkg --instdir=${D}/ \ > > --admindir=${STAGING_DIR_NATIVE}/var/lib/dpkg/ \ > > -i ${WORKDIR}/libparted-dev_3.6-4+b1_arm64.deb > > } > > > > > > > > > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64770): https://lists.yoctoproject.org/g/yocto/message/64770 Mute This Topic: https://lists.yoctoproject.org/mt/111125016/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-