Re: does src include sys ?

2015-10-24 Thread Nick Holland
On 10/23/15 22:15, Tuyosi Takesima wrote:
> today i first time follow current .
> 
> # cd /usr
> # export CVSROOT=anon...@anoncvs.jp.openbsd.org:/cvs
> # cvs -d$CVSROOT checkout -P src
>   cvs -d$CVSROOT checkout -P sys<---
> 1)quetion
> is [cvs -d$CVSROOT checkout -P sys] needless ?

Worse than needless, you are inventing (wrong!) things.  Nowhere on the
OpenBSD website does it suggest "checkout -P sys".  (that command does
"work", but it drops things in the wrong place.  No harm in this case,
but no function, either.  And the fact that it works at all surprised me
-- turns out that's a special CVS "module" you accidentally tripped across).

> and
> Faq write about only src not touch sys .
> # cd /usr/src
> # export CVSROOT=anon...@anoncvs.jp.openbsd.org:/cvs
> # cvs -d$CVSROOT up -Pd
> 2)qustion
> does src include sys ?

Yes.

Follow instructions, feel free to examine what happens and figure out
why, but don't assume you understand what is going on and make your own
process until you understand the documented process.  And then stick to
the documented process anyway. :)

When you start inventing your own process, there's an almost infinite
number of ways to go wrong.

Nick.



Re: does src include sys ?

2015-10-24 Thread Joel Rees
On Sat, Oct 24, 2015 at 11:15 AM, Tuyosi Takesima
<nakajin.fu...@gmail.com> wrote:
> today i first time follow current .
>
> # cd /usr
> # export CVSROOT=anon...@anoncvs.jp.openbsd.org:/cvs
> # cvs -d$CVSROOT checkout -P src
>   cvs -d$CVSROOT checkout -P sys<---
> 1)quetion
> is [cvs -d$CVSROOT checkout -P sys] needless ?
>
>
> and
> Faq write about only src not touch sys .
> # cd /usr/src
> # export CVSROOT=anon...@anoncvs.jp.openbsd.org:/cvs
>     # cvs -d$CVSROOT up -Pd
> 2)qustion
> does src include sys ?

I was also puzzled by the separate tarballs at first.  It helps when
installing on really small systems, I think. Among other things.

According to the way cvs works, because src/sys is a subdirectory of
src, cvs will include it when you do a cvs update or checkout in src .
If I recall correctly.

I generally do a cvs update in /usr/src, /usr/xenocara, and /usr/ports
before I start a build, just to make sure everything is in sync.

The cvs update in /usr/ports is only because I want to make sure I'm
not working with old code if I build a package.

Then, just because I'm "kichoumen to iu kibun", I follow the whole
build process in FAQ 5 --

build the kernel,
reboot,
build userland (/usr/src),
build xenocara,
do NOT build ports,
build release in /usr/src,
build release in /usr/xenocara, and
do a pkg_add -u to update the packages.

Just because I want to be thorough until I learn more about things.
And have the computer running all night to finish the builds.

-- 
Joel Rees

Be careful when you look at conspiracy.
Arm yourself with knowledge of yourself, as well:
http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html



does src include sys ?

2015-10-23 Thread Tuyosi Takesima
today i first time follow current .

# cd /usr
# export CVSROOT=anon...@anoncvs.jp.openbsd.org:/cvs
# cvs -d$CVSROOT checkout -P src
  cvs -d$CVSROOT checkout -P sys<---
1)quetion
is [cvs -d$CVSROOT checkout -P sys] needless ?


and
Faq write about only src not touch sys .
# cd /usr/src
# export CVSROOT=anon...@anoncvs.jp.openbsd.org:/cvs
# cvs -d$CVSROOT up -Pd
2)qustion
does src include sys ?

-
regards



Re: does src include sys ?

2015-10-23 Thread Michael McConville
Tuyosi Takesima wrote:
> today i first time follow current .
> 
> # cd /usr
> # export CVSROOT=anon...@anoncvs.jp.openbsd.org:/cvs
> # cvs -d$CVSROOT checkout -P src
>   cvs -d$CVSROOT checkout -P sys<---
> 1)quetion
> is [cvs -d$CVSROOT checkout -P sys] needless ?
> 
> 
> and
> Faq write about only src not touch sys .
> # cd /usr/src
> # export CVSROOT=anon...@anoncvs.jp.openbsd.org:/cvs
>         # cvs -d$CVSROOT up -Pd
> 2)qustion
> does src include sys ?

Yes, you only need to check out src. (And xenocara, if you want to build
X.)