[yocto] Creating a directory in a recipe
Spriggs, Jim
J.Spriggs at raylase.de
Tue May 23 07:39:15 PDT 2017
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.
--
jim
________________________________
RAYLASE AG
Argelsrieder Feld 2+4
82234 Wessling
Germany
Tel.: +49-(0)8153/88 98-0
Fax: +49-(0)8153/88 98-10
http://www.raylase.de
District Court Munich, HRB 131450
Board: Dr. Philipp Schön (Chairman), Berthold Dambacher, Christoph von Jan
Supervisory Board: Dr. Ulrich Lohmann (Chairman)
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
More information about the yocto
mailing list