Skip to contentSkip to conversation

should yocto filename references start with a leading slash?

DISCUSSION Robert P. J. Day 3 participants 3 messages Nov 6, 2013 – Nov 7, 2013

lore
Share & tools
lore
#0 lore raw

currently reading ref manual, section 6, and i'm seeing filename
references of the form /meta-yocto/conf, /scripts/oe-setup-builddir, and so on.

is it really appropriate for those filenames to begin with a leading
slash? it seems unnecessary, and possibly a bit misleading. is there a reason for those leading slashes?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 7 lines · On Wednesday 06 November 2013 14:12:17 Robert P. J. Day wrote:

currently reading ref manual, section 6, and i'm seeing filename
references of the form /meta-yocto/conf, /scripts/oe-setup-builddir, and so on.

is it really appropriate for those filenames to begin with a leading
slash? it seems unnecessary, and possibly a bit misleading. is there a reason for those leading slashes?

I'd have to agree, there should not be a leading slash. I see there are some paths in the reference manual where we use $HOME/poky/ as a prefix, those should probably also be removed.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw

I searched through the YP doc set and removed as many leading slash characters that were being used in pathnames as possible. There are a few "~" characters in some of the very specific examples that I left. But for the most part, directory name usage is consistent now.

Scott

Quoted 33 lines

-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Paul Eggleton
Sent: Thursday, November 07, 2013 2:49 AM
To: Robert P. J. Day; Scott Rifenbark
Cc: [email protected]
Subject: Re: [yocto] should yocto filename references start with a leading slash?

Quoted 7 lines · On Wednesday 06 November 2013 14:12:17 Robert P. J. Day wrote:

currently reading ref manual, section 6, and i'm seeing filename
references of the form /meta-yocto/conf, /scripts/oe-setup-builddir, and so on.

is it really appropriate for those filenames to begin with a leading
slash? it seems unnecessary, and possibly a bit misleading. is there a reason for those leading slashes?

I'd have to agree, there should not be a leading slash. I see there are some paths in the reference manual where we use $HOME/poky/ as a prefix, those should probably also be removed.

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto