step missing from "2016/10/14" followig -current?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

step missing from "2016/10/14" followig -current?

patrick keshishian
Instructions say:

        $ cd /sys
        $ rm -r arch/*/compile/[GR]*
        $ rm arch/*/compile/.cvsignore
        $ cvs up

    The new way of configuring, building and installing a kernel is:

        $ cd /sys/arch/$(machine)/compile/GENERIC.MP
        $ doas make obj
        $ make config
        $ make
        $ doas make install

However, the GENERIC.MP directory was just removed (above) and cvs up
didn't create it.

Is the step to create the GENERIC.MP missing?

TIA,
--patrick

Reply | Threaded
Open this post in threaded view
|

Re: step missing from "2016/10/14" followig -current?

Theo Buehler
On Fri, Oct 28, 2016 at 10:10:11PM -0700, patrick keshishian wrote:

> Instructions say:
>
> $ cd /sys
> $ rm -r arch/*/compile/[GR]*
> $ rm arch/*/compile/.cvsignore
> $ cvs up
>
>     The new way of configuring, building and installing a kernel is:
>
> $ cd /sys/arch/$(machine)/compile/GENERIC.MP
> $ doas make obj
> $ make config
> $ make
> $ doas make install
>
> However, the GENERIC.MP directory was just removed (above) and cvs up
> didn't create it.
>
> Is the step to create the GENERIC.MP missing?

I suppose everybody has 'update -Pd' in their ~/.cvsrc or automatically
knew to give the -d flag to create directories...  'cvs up' should
probably be expanded to the full 'cvs -q up -Pd' on that page.  I'll fix
it later when I'm on a good machine if nobody beats me to it.

Reply | Threaded
Open this post in threaded view
|

Re: step missing from "2016/10/14" followig -current?

Raf Czlonka-2
On Sat, Oct 29, 2016 at 08:39:47AM BST, Theo Buehler wrote:

> On Fri, Oct 28, 2016 at 10:10:11PM -0700, patrick keshishian wrote:
> > Instructions say:
> >
> > $ cd /sys
> > $ rm -r arch/*/compile/[GR]*
> > $ rm arch/*/compile/.cvsignore
> > $ cvs up
> >
> >     The new way of configuring, building and installing a kernel is:
> >
> > $ cd /sys/arch/$(machine)/compile/GENERIC.MP
> > $ doas make obj
> > $ make config
> > $ make
> > $ doas make install
> >
> > However, the GENERIC.MP directory was just removed (above) and cvs up
> > didn't create it.
> >
> > Is the step to create the GENERIC.MP missing?
>
> I suppose everybody has 'update -Pd' in their ~/.cvsrc or automatically
> knew to give the -d flag to create directories...  'cvs up' should
> probably be expanded to the full 'cvs -q up -Pd' on that page.  I'll fix
> it later when I'm on a good machine if nobody beats me to it.

Hi Theo,

Everybody would have had, had it been included in /etc/skel/.cvsrc :^)

Worth adding?

Cheers,

Raf

Index: etc/skel/dot.cvsrc
===================================================================
RCS file: /cvs/src/etc/skel/dot.cvsrc,v
retrieving revision 1.2
diff -u -p -r1.2 dot.cvsrc
--- etc/skel/dot.cvsrc 31 Mar 2015 18:34:40 -0000 1.2
+++ etc/skel/dot.cvsrc 29 Oct 2016 17:44:30 -0000
@@ -1,6 +1,6 @@
 # $OpenBSD: dot.cvsrc,v 1.2 2015/03/31 18:34:40 naddy Exp $
 #
 diff -uNp
-update -P
+update -Pd
 checkout -P
 rdiff -u

Reply | Threaded
Open this post in threaded view
|

Re: step missing from "2016/10/14" followig -current?

Ingo Schwarze
Hi,

Raf Czlonka wrote on Sat, Oct 29, 2016 at 06:46:56PM +0100:
> On Sat, Oct 29, 2016 at 08:39:47AM BST, Theo Buehler wrote:

>> I suppose everybody has 'update -Pd' in their ~/.cvsrc

  schwarze@isnote $ cat ~/.cvsrc ~/.Xdefaults ~/.login ~/.mailrc ~/.profile
  cat: /home/schwarze/.cvsrc: No such file or directory
  cat: /home/schwarze/.Xdefaults: No such file or directory
  cat: /home/schwarze/.login: No such file or directory
  cat: /home/schwarze/.mailrc: No such file or directory
  cat: /home/schwarze/.profile: No such file or directory

I'm probably repeating myself, but there are people who avoid as
much customization as they can, because customizing stuff makes
it harder to maintain systems and to work on unfamiliar systems.
In my personal opinion, saved keystrokes are not worth the above
downsides, finger memory does the trick just fine.  (I know that
many disagree, of course - no problem with that.  I don't say that
support for customization files should be deleted.)

>> or automatically knew to give the -d flag to create directories...
>> 'cvs up' should probably be expanded to the full 'cvs -q up -Pd'
>> on that page.  I'll fix it later when I'm on a good machine if
>> nobody beats me to it.

Thanks for fixing it.

> Everybody would have had, had it been included in /etc/skel/.cvsrc :^)
> Worth adding?

I (mildly) oppose that.  Providing customization files by default
is an oxymoron that provokes exactly the problems seen here.  People
become so used to it that communication breaks down - some people
assume the default customization to be the default, others assume
the defaults to be the defaults.  These default customization files
are also undocumented, so they cause default behaviour of utilities
to differ from what is described in the manpages.  At least we should
not pile more poo on top of the turd.

We want sane defaults, and we want simple defaults.  Where traditional
defaults are suboptimal but can't easily be changed, i still think
that having one set of defaults is saner and simpler than having
two sets of defaults:  One traditional, documented plus one arguably
more convenient, but undocumented set...

Whatever, i expect others will disagree, so i'm unlikely to argue
this further, and i can certainly live with whatever happens in
/etc/skel/, i never use it anyway.

Yours,
  Ingo


> Index: etc/skel/dot.cvsrc
> ===================================================================
> RCS file: /cvs/src/etc/skel/dot.cvsrc,v
> retrieving revision 1.2
> diff -u -p -r1.2 dot.cvsrc
> --- etc/skel/dot.cvsrc 31 Mar 2015 18:34:40 -0000 1.2
> +++ etc/skel/dot.cvsrc 29 Oct 2016 17:44:30 -0000
> @@ -1,6 +1,6 @@
>  # $OpenBSD: dot.cvsrc,v 1.2 2015/03/31 18:34:40 naddy Exp $
>  #
>  diff -uNp
> -update -P
> +update -Pd
>  checkout -P
>  rdiff -u

Reply | Threaded
Open this post in threaded view
|

Re: step missing from "2016/10/14" followig -current?

Peter Hessler
On 2016 Oct 30 (Sun) at 12:28:36 +0100 (+0100), Ingo Schwarze wrote:
:> Everybody would have had, had it been included in /etc/skel/.cvsrc :^)
:> Worth adding?
:
:I (mildly) oppose that.  Providing customization files by default
:is an oxymoron that provokes exactly the problems seen here.  People
:become so used to it that communication breaks down - some people
:assume the default customization to be the default, others assume
:the defaults to be the defaults.  These default customization files
:are also undocumented, so they cause default behaviour of utilities
:to differ from what is described in the manpages.  At least we should
:not pile more poo on top of the turd.
:
:We want sane defaults, and we want simple defaults.  Where traditional
:defaults are suboptimal but can't easily be changed, i still think
:that having one set of defaults is saner and simpler than having
:two sets of defaults:  One traditional, documented plus one arguably
:more convenient, but undocumented set...
:
:Whatever, i expect others will disagree, so i'm unlikely to argue
:this further, and i can certainly live with whatever happens in
:/etc/skel/, i never use it anyway.
:
:Yours,
:  Ingo

On one hand, I 100% agree with Ingo.  Our instructions MUST NOT assume
configuration files / environment have things we depend on.

On the other hand, if we do provide environment files, we MUST ensure
they are sane.  adding -d to cvs update is pretty much required when
using OpenBSD's cvs tree.


:> Index: etc/skel/dot.cvsrc
:> ===================================================================
:> RCS file: /cvs/src/etc/skel/dot.cvsrc,v
:> retrieving revision 1.2
:> diff -u -p -r1.2 dot.cvsrc
:> --- etc/skel/dot.cvsrc 31 Mar 2015 18:34:40 -0000 1.2
:> +++ etc/skel/dot.cvsrc 29 Oct 2016 17:44:30 -0000
:> @@ -1,6 +1,6 @@
:>  # $OpenBSD: dot.cvsrc,v 1.2 2015/03/31 18:34:40 naddy Exp $
:>  #
:>  diff -uNp
:> -update -P
:> +update -Pd
:>  checkout -P
:>  rdiff -u
:

OK


--
Man 1:  Ask me what the most important thing about telling a good
        joke is.

Man 2:  OK, what is the most impo --

Man 1:  TIMING!

Reply | Threaded
Open this post in threaded view
|

Re: step missing from "2016/10/14" followig -current?

Jeremie Courreges-Anglas-2
Peter Hessler <[hidden email]> writes:

> On 2016 Oct 30 (Sun) at 12:28:36 +0100 (+0100), Ingo Schwarze wrote:
> :> Everybody would have had, had it been included in /etc/skel/.cvsrc :^)
> :> Worth adding?
> :
> :I (mildly) oppose that.  Providing customization files by default
> :is an oxymoron that provokes exactly the problems seen here.  People
> :become so used to it that communication breaks down - some people
> :assume the default customization to be the default, others assume
> :the defaults to be the defaults.  These default customization files
> :are also undocumented, so they cause default behaviour of utilities
> :to differ from what is described in the manpages.  At least we should
> :not pile more poo on top of the turd.
> :
> :We want sane defaults, and we want simple defaults.  Where traditional
> :defaults are suboptimal but can't easily be changed, i still think
> :that having one set of defaults is saner and simpler than having
> :two sets of defaults:  One traditional, documented plus one arguably
> :more convenient, but undocumented set...
> :
> :Whatever, i expect others will disagree, so i'm unlikely to argue
> :this further, and i can certainly live with whatever happens in
> :/etc/skel/, i never use it anyway.
> :
> :Yours,
> :  Ingo
>
> On one hand, I 100% agree with Ingo.  Our instructions MUST NOT assume
> configuration files / environment have things we depend on.
>
> On the other hand, if we do provide environment files, we MUST ensure
> they are sane.  adding -d to cvs update is pretty much required when
> using OpenBSD's cvs tree.

Agreed.

>
> :> Index: etc/skel/dot.cvsrc
> :> ===================================================================
> :> RCS file: /cvs/src/etc/skel/dot.cvsrc,v
> :> retrieving revision 1.2
> :> diff -u -p -r1.2 dot.cvsrc
> :> --- etc/skel/dot.cvsrc 31 Mar 2015 18:34:40 -0000 1.2
> :> +++ etc/skel/dot.cvsrc 29 Oct 2016 17:44:30 -0000
> :> @@ -1,6 +1,6 @@
> :>  # $OpenBSD: dot.cvsrc,v 1.2 2015/03/31 18:34:40 naddy Exp $
> :>  #
> :>  diff -uNp
> :> -update -P
> :> +update -Pd
> :>  checkout -P
> :>  rdiff -u
> :
>
> OK

Also ok jca@

--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE