yocto.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* How to extract archive from git repo and set permission to extracted file?
@ 2023-03-17 10:29 Sourabh Hegde
  0 siblings, 0 replies; only message in thread
From: Sourabh Hegde @ 2023-03-17 10:29 UTC (permalink / raw)
  To: yocto

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

Hello,

I have an archive file in Git which I need to install to /usr/bin

Below is the part of my recipe:

SRC_URI = " \
https://<..>/uploads/4417be0/test_v${PV}.zip \
"

do_install () {
install -d ${D}${bindir}/
unzip -q ${WORKDIR}/test_v${PV}.zip ${D}${bindir}/test
}

But, how can I set the permission to extracted file? I want to set 0755 permission to "test"

Thank you,
Sourabh

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-17 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-17 10:29 How to extract archive from git repo and set permission to extracted file? Sourabh Hegde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).