Re: [yocto] Creating a directory in a recipe

2017-05-23 Thread Spriggs, Jim
Hi Bahjat, >do_install() { > >install -d /test/ >install -m 0777 bye.sh /test/ >} Assuming you actually want to create "test" in the root-dir of your *image*, rather than in the root-dir of your host, I think you'll find that "$(D}" is your friend, as in ... install -d ${D}/test etc.

Re: [yocto] Creating a directory in a recipe

2017-05-22 Thread Joshua Watt
On Sun, May 21, 2017 at 7:25 AM, bahjat khan wrote: > *do_install() {* > * install -d /test/* > > Should be: install -d ${D}/test/ > > *install -m 0777 bye.sh /test/* > > Should be: install -m 0777 bye.sh ${D}/test/ > *}* > > All of your install tasks need to install into the ${D} dire

[yocto] Creating a directory in a recipe

2017-05-22 Thread bahjat khan
I've searched the vast net for an answer to this but i've found NOTHING! that works for me. All i want to do is a simple task, i want to create a new directory called "test" located in "/". My recipe is below DESCRIPTION = "Hello world" S = "${WORKDIR}" SRC_URI="file://bye.sh" LICENSE = "CLOSE