Re: Installer : deselecting X* sets if user doesn't want to run X

2016-12-05 Thread Clint Pachl

Clément 'wxcafé' Hertling wrote on 12/03/16 07:29:

Hey,

So each time I install an OpenBSD system I have to both answer no as to whether
I want to run X on the system, and then deselect the X* sets.

It's not a big thing, but I thought it couldn't be that hard to make it
automatic, that is, if the user indicated they are not planning to run X,
deselect the X* sets by default, since it's probably the most common case (they
could want to have the sets to build some software or to run remote X
applications, but in my opinion most users who indicate they don't want to run X
won't need these sets).


Back in the day before the automated install stuff was in base, I 
created my own. One thing my updater did, which is apropos to what 
you're asking, is it would look for existing well-known X11 directories 
which were part of the X sets. If it found them, it would install the X 
sets accordingly.


I wonder if this would be a useful solution?



Re: Installer : deselecting X* sets if user doesn't want to run X

2016-12-03 Thread Theo de Raadt
> So each time I install an OpenBSD system I have to both answer no as to 
> whether
> I want to run X on the system, and then deselect the X* sets.
> 
> It's not a big thing, but I thought it couldn't be that hard to make it
> automatic, that is, if the user indicated they are not planning to run X,
> deselect the X* sets by default, since it's probably the most common case 
> (they
> could want to have the sets to build some software or to run remote X
> applications, but in my opinion most users who indicate they don't want to 
> run X
> won't need these sets).
> 
> Anyway, attached is a patch that supposedly does this. Disclaimer : I could 
> not
> manage to build a -current installation image, even tho I tried to follow
> release(8) and https://www.openbsd.org/faq/current.html, so I can't confirm 
> thatit works correctly, but the code seems correct to me. 
> 
> Also, I'm sorry if this is not the kind of diff you're expecting. I'm a
> sysadmin, not a dev, so I'm not used to this kind of things.

No way.  These two parts are seperate.

The 1st question is asking if you are going run the X server.

The 2nd is related to the X sets which includes the X libraries.  Many
many packages are linked to the X libraries.  Having to install the X
libraries after the fact is an annoying stumble for most people.


So this should not change at all.



Installer : deselecting X* sets if user doesn't want to run X

2016-12-03 Thread Clément 'wxcafé' Hertling
Hey,

So each time I install an OpenBSD system I have to both answer no as to whether
I want to run X on the system, and then deselect the X* sets.

It's not a big thing, but I thought it couldn't be that hard to make it
automatic, that is, if the user indicated they are not planning to run X,
deselect the X* sets by default, since it's probably the most common case (they
could want to have the sets to build some software or to run remote X
applications, but in my opinion most users who indicate they don't want to run X
won't need these sets).

Anyway, attached is a patch that supposedly does this. Disclaimer : I could not
manage to build a -current installation image, even tho I tried to follow
release(8) and https://www.openbsd.org/faq/current.html, so I can't confirm 
thatit works correctly, but the code seems correct to me. 

Also, I'm sorry if this is not the kind of diff you're expecting. I'm a
sysadmin, not a dev, so I'm not used to this kind of things.

Thanks

-- 

Clément 'wxcafé' Hertling

[demime 1.01d removed an attachment of type text/x-patch which had a name of 
install.sub.diff"; charset="UTF-8]