Skip to contentSkip to conversation

git directory in WORKDIR question

DISCUSSION Carlos Rafael Giani 2 participants 2 messages Jul 24, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

When I use a git:// URL in SRC_URI , that git repository is cloned over to the WORKDIR , and ends up in a directory called "git". In other words, the sources are at $WORKDIR/git .

Can I instruct OE to use another name? Like, $WORKDIR/my_name instead of $WORKDIR/git ?

cheers

#1 lore raw
Quoted 8 lines · Carlos Rafael Giani

Hello,

When I use a git:// URL in SRC_URI , that git repository is cloned over to the WORKDIR , and ends up in a directory called "git".
In other words, the sources are at $WORKDIR/git .

Can I instruct OE to use another name? Like, $WORKDIR/my_name instead of $WORKDIR/git ?

yes, destsuffix param in SRC_URI.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]