Hello geeks

Hope all are well

I need to create the Yocto recipe to extract the local tra.gz based project 
files in to root directory

here is my recipe contents

###############################################################

SUMMARY = "Eyesite Application"
LICENSE = "MIT"

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

FILES_${PN} += "/eyesite"

SRC_URI = "file://eyesite.tar.gz"

S = "${WORKDIR}"

do_unpack() {
# Extract the tar.gz file
tar -xf ${WORKDIR}/eyesite.tar.gz -C ${WORKDIR}
}

do_install() {
# Create the eyesite directory in the root
install -d ${D}/eyesite

# Install the extracted application
cp -r ${WORKDIR}/eyesite ${D}/eyesite
}

#################################################################

The file structure is as follows under the *recipe-app* file

├── eyesite
│   ├── eyesite_1.0.bb
│   └── files
│       └── eyesite.tar.gz

I'm getting below Yocto error during the building
########################################################

Log data follows:
| DEBUG: Executing shell function do_unpack
| tar: 
/home/mahi/Documents/AIO_System/var-fslc-yocto/build_aio/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/eyesite/1.0-r0/eyesite.tar.gz:
 Cannot open: No such file or directory
| tar: Error is not recoverable: exiting now
| WARNING: exit code 2 from a shell command.
| ERROR: 
ExecutionError('/home/mahi/Documents/AIO_System/var-fslc-yocto/build_aio/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/eyesite/1.0-r0/temp/run.do_unpack.82783',
 2, None, None)

########################################################

Can anyone help me here ?

Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60182): https://lists.yoctoproject.org/g/yocto/message/60182
Mute This Topic: https://lists.yoctoproject.org/mt/99345996/21656
Mute #hardknott:https://lists.yoctoproject.org/g/yocto/mutehashtag/hardknott
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to