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 (#64768): https://lists.yoctoproject.org/g/yocto/message/64768
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to