All of lore.kernel.org
 help / color / mirror / Atom feed
* adding own shell script
@ 2018-10-29  9:50 Zolee K
  2018-10-29 12:26 ` Uwe Geuder
  0 siblings, 1 reply; 2+ messages in thread
From: Zolee K @ 2018-10-29  9:50 UTC (permalink / raw)
  To: yocto

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

Hi all,

I'd like to install my own test.sh script into the image, I created this
recipe file, however I dont know how to have bitbake put the my test.sh
into /etc folder

SUMMARY = "test.sh"
LICENSE = "Z"

SRC_URI = "\
        file://test.sh \
"

do_configure(){
  :
}

do_compile() {
  :
}


do_install() {
    install -d ${D}${sysconfdir}
    install -m 0770 ${WORKDIR}/test.sh ${D}${sysconfdir}/test.sh
}

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

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

end of thread, other threads:[~2018-10-29 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-29  9:50 adding own shell script Zolee K
2018-10-29 12:26 ` Uwe Geuder

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.