All of lore.kernel.org
 help / color / mirror / Atom feed
* Enaable to add binary in /usr/bin using .bb file
@ 2020-11-19  7:43 NIKHIL PATIL
  2020-11-19  9:16 ` [yocto] " Quentin Schulz
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: NIKHIL PATIL @ 2020-11-19  7:43 UTC (permalink / raw)
  To: Yocto-mailing-list

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

Hi ,
    I want to add binary in /usr/bin , for these i made own .bb file (
obexpushtest.bb),      When i am compiling obexpushtest package separately
that time it is compiling fine  , but when i am adding obexpushtest in
local.conf as a IMAGE_INSTALL , i am getting error.

## Error :-

/data/nikhil/inti_dmsv/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/core-image-intel/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:01 ago on Thu 19 Nov 2020 05:57:19 AM
UTC.
No match for argument: obexpushtest
Error: Unable to find a match

## obexpushtest.bb file :-

    # file recipes-kernel/linux-firmware/linux-firmware_%.bbappend
SUMMARY = "tset_mount example"
SECTION = "test_mount"
LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

S = "${WORKDIR}"

SRC_URI += "file://obexpushd"

INSANE_SKIP_${PN} = "ldflags"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"

do_install_append () {
        install -d ${D}/${bindir}
        install -m 0644 ${WORKDIR}/obexpushd ${D}/${bindir}
        cp ${WORKDIR}/obexpushd ${D}/${bindir}
}

# NOTE: Use "=+" instead of "+=". Otherwise, the file is placed into the
linux-firmware package.
PACKAGES =+ "${PN}-example"
FILES_${PN}-example = "/usr/bin/obexpushd"

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

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [yocto] Enaable to add binary in /usr/bin using .bb file
@ 2020-11-19  7:43 NIKHIL PATIL
  0 siblings, 0 replies; 31+ messages in thread
From: NIKHIL PATIL @ 2020-11-19  7:43 UTC (permalink / raw)
  To: Yocto-mailing-list


[-- Attachment #1.1: Type: text/plain, Size: 1332 bytes --]

Hi ,
    I want to add binary in /usr/bin , for these i made own .bb file (
obexpushtest.bb),      When i am compiling obexpushtest package separately
that time it is compiling fine  , but when i am adding obexpushtest in
local.conf as a IMAGE_INSTALL , i am getting error.

## Error :-

/data/nikhil/inti_dmsv/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/core-image-intel/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:01 ago on Thu 19 Nov 2020 05:57:19 AM
UTC.
No match for argument: obexpushtest
Error: Unable to find a match

## obexpushtest.bb file :-

    # file recipes-kernel/linux-firmware/linux-firmware_%.bbappend
SUMMARY = "tset_mount example"
SECTION = "test_mount"
LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

S = "${WORKDIR}"

SRC_URI += "file://obexpushd"

INSANE_SKIP_${PN} = "ldflags"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"

do_install_append () {
        install -d ${D}/${bindir}
        install -m 0644 ${WORKDIR}/obexpushd ${D}/${bindir}
        cp ${WORKDIR}/obexpushd ${D}/${bindir}
}

# NOTE: Use "=+" instead of "+=". Otherwise, the file is placed into the
linux-firmware package.
PACKAGES =+ "${PN}-example"
FILES_${PN}-example = "/usr/bin/obexpushd"




[-- Attachment #1.2: Type: text/html, Size: 1786 bytes --]

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

end of thread, other threads:[~2020-11-19 19:22 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1648D8FA1BEC786F.8629@lists.yoctoproject.org>
2020-11-19  8:39 ` [yocto] Enaable to add binary in /usr/bin using .bb file NIKHIL PATIL
2020-11-19  8:39 ` NIKHIL PATIL
2020-11-19  9:04   ` Paul Barker
2020-11-19  9:04   ` Paul Barker
2020-11-19  7:43 NIKHIL PATIL
2020-11-19  9:16 ` [yocto] " Quentin Schulz
2020-11-19  9:16 ` Quentin Schulz
2020-11-19  9:16 ` Quentin Schulz
2020-11-19 11:15   ` NIKHIL PATIL
2020-11-19 11:18     ` Quentin Schulz
2020-11-19 13:00       ` NIKHIL PATIL
     [not found]       ` <1648EA3F963FB36F.4882@lists.yoctoproject.org>
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 14:44         ` NIKHIL PATIL
2020-11-19 11:15   ` NIKHIL PATIL
  -- strict thread matches above, loose matches on Subject: below --
2020-11-19  7:43 NIKHIL PATIL

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.