[gentoo-user] Re: [gentoo-user] Re: [gentoo-user] !!! section ‘local’ in repos.conf has name different from ...

2020-04-16 Thread John Blinka
On Thu, Apr 16, 2020 at 2:36 PM Alexey Mishustin  wrote:

>
> Aren't /usr/local/portage and /usr/local/portage/steam-overlay really
> intertwined? What if you move the 'local' overlay to, say,
> /usr/local/portage/local ? (And, sure, edit the corresponding info in
> the configuration files).
>
> --
> Regards,
> Alex
>
> Thanks, Alex, your suggestion worked.  And better than that, helped me
understand how I broke my 3rd installation by misreading and misapplying
the steam overlay installation guide.  It’s a mystery to me why my
misintallation ever worked on the first 2 boxes, but I’ll leave it
unexplored.

John


[gentoo-user] Re: Question about handling filenames with "illegal" characters...

2020-04-16 Thread Ian Zimmerman
On 2020-04-16 12:31, Michael Orlitzky wrote:

>   find -name 'whatever' \
> -exec sh -c "
>   for f in \"\${@}\"; do
> do_stuff \"\${f}\" && echo \"\${f}\"
>   done
> " - {} +

# untested, use at own risk
NL='
'
export NL
AWKPROG='{print "do_stuff @" $0 "@ && printf %s @" $0 "@ :$NL:";}'
AWKPROG=${AWKPROG//@/"'"} ; AWKPROG=${AWKPROG//:/'"'}
find -name "$FOO" | awk "$AWKPROG" | sh

This should work even if sh is dash - only the AWKPROG translations are
bash specific (and they could probably be avoided at the cost of other
ugliness, maybe with sed).

BTW, the only difference between $FOO and ${FOO} is to protect against
alphanumerics literally following the occurence of FOO.  It has no
quoting effect on the _contents_ of $FOO.

-- 
Ian



Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Caveman Al Toraboran
On Thursday, April 16, 2020 10:09 PM, Alec Ten Harmsel 
 wrote:

> I use urxvt and I've always done Ctrl+Alt+V for paste. If you try that, what 
> does it do?

yes.  it works.  thanks.

i guess the reason ctrl+shift+v, or ctrl+v, work
is because of fish's (shell) magic.  but when ssh
runs, it's no longer fish's business to do its
magic as i'm pasting into ssh's stdin (not
fish's), which is when only urxvt's magic applies.




[gentoo-user] Re: [gentoo-user] !!! section ‘local’ in repos.conf has name different from ...

2020-04-16 Thread Alexey Mishustin
чт, 16 апр. 2020 г. в 20:27, John Blinka :

> I have 3 boxes on which I try to maintain gentoo setups as identical as 
> possible.  The steam install has gone smoothly on 2 boxes, but is failing on 
> the 3rd.
>
> When I get to this steam installation step on the 3rd box:
> # emaint sync —repo steam-overlay
>
> I get the error
> !!! Section ‘local’ in repos.conf has name different from repository 
> ‘steam-overlay’ set inside repository
> which prevents me from syncing and installing steam on this machine.
>
> I’m interpreting this as the two repositories (local and steam-overlay) 
> somehow knowing about each other and somehow getting their configurations 
> intertwined.
>
> My repos.conf directory on this 3rd machine is identical to the other 2 
> machines (which don’t exhibit this error).
>
> .../repos.conf/local.conf maintains a local overlay in /usr/local/portage for 
> a handful of personal packages/ebuilds.
>
>  .../repos.conf/steam-overlay.conf maintains its overlay in 
> /usr/local/portage/steam-overlay.
>
> [snip]
>
> Any ideas about what’s happening?

Aren't /usr/local/portage and /usr/local/portage/steam-overlay really
intertwined? What if you move the 'local' overlay to, say,
/usr/local/portage/local ? (And, sure, edit the corresponding info in
the configuration files).

-- 
Regards,
Alex



Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Caveman Al Toraboran
On Thursday, April 16, 2020 9:51 PM, Caveman Al Toraboran 
 wrote:

> if i press ctrl+shift+v, followed by enter, then
> not even the enter registers. if i press the
> enter again, alone, without the preceeding
> ctrl+shift+v, it works but tells me the obvious
> message "permission denied, please try again".
>
> but if i do the same thing (ctrl+shift+v) in
> urxvt, without having ssh's password prompt, then
> the password pastes normally, and the subsequent
> enter works normally (of course it shows "unknown
> command: ").

just to add:  if i paste the password by the
middlemouse buffer (selection buffer?) it goes
through ssh's login prompt.  but the ctrl+shift+v
(clipboard buffer) doesn't.

both (selection and clipboard) pastes work in
urxvt when ssh's prompt is not there.

but it seems deeper than just the "login prompt".
i repeated the same fast enough to paste before
the "login prompt" appearing, and same effect:
paste did not work when ssh is running.

it seems a problem when ssh is running.

here is one hint:  when i paste with ctrl+shift+v,
ssh shows "^" before the password prompt appears.
of course, shows nothing when the password prompt
appears.




Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Alec Ten Harmsel
On Thu, Apr 16, 2020, at 13:51, Caveman Al Toraboran wrote:
> On Thursday, April 16, 2020 8:20 PM,  wrote:
> 
> > I didn't tru that muself, but as far as I could remember,
> > ssh catches the tty so no password will be shown (but processed).
> 
> ya, i know that bit.
> 
> > What happens if you paste the password, ignore, that "nothing" happens
> > and then press  ?
> 
> if i press ctrl+shift+v, followed by enter, then
> not even the enter registers.  if i press the
> enter again, alone, without the preceeding
> ctrl+shift+v, it works but tells me the obvious
> message "permission denied, please try again".

I use urxvt and I've always done Ctrl+Alt+V for paste. If you try that, what 
does it do?

Alec



Re: [gentoo-user] Upgrading old kernel

2020-04-16 Thread james

On 4/15/20 10:59 PM, Thomas Mueller wrote:

On 4/15/20 1:40 PM, Andreas Stiasny wrote:

On 15.04.20 17:50, Rich Freeman wrote:
  

Jumping from
3.18 you're somewhat more likely to run into issues - your biggest
headache though will be dealing with the 30,000 prompts you get from
make oldconfig and making sure you set all the new options correctly.
  

That's why I use make olddefconfig in such a case. This takes all the
old config values and uses the default for the new ones. If you know
that you need one or more of the new config options you can fine tune
them afterwards with make menuconfig.
  
  

Andreas


james responded:


Ah. never used olddefconfig, I'll give it a spin.


That raises the question, what if you have no kernel config, as may be the case 
if you are going to Gentoo for the first time, or are cross-compiling from 
FreeBSD or NetBSD?

I have tried with OpenADK (www.openadk.org), which got as far as successfully 
building cross-gcc some of the time, but never succeeded at building the kernel.

Is defconfig the best starting point?  One would want to maximize the 
probability of success building the kernel while retaining a functional system 
that would support vital hardware including ethernet, wi-fi, hard drives and 
USB, and I would need to be able to read a NetBSD or FreeBSD file system 
(UFS/FFSv1 or 2).  I use GPT, so there are no traditional now-deprecated BSD 
disklabels that Linux would not recognize.

If I just start with menuconfig, I could miss some vital parts.

OpenADK started with a minimal kernel config, maybe it was too minimal?

I have successfully compiled kernels and userlands on FreeBSD and NetBSD (no 
menuconfig, defconfig, etc; kernel configs start with a GENERIC config).  
NetBSD kernel config is much longer than FreeBSD kernel config but is dwarfed 
by Linux kernel config.

Tom


OK, time to spill 'the beans'.

OpenADK does not look like a kernel building tool. Booting a minimal 
state-machine for an embedded device, starts at the bottom of the code 
blocks.



Building a linux kernel, that runs on the bottom of processors, guaged 
by resources and capabilities has always been a 'pita' that is nothing 
but duress. As you down the tree of what micro-processors can do, and 
the limited (kernel/system) resources, limited instruction sets, etc, 
etc  that need is not common and you are best off following a well worn 
path. Folks that do not deeply understand the lack or limited (uP) 
resources and the subsequent limitied options available, need to get 
into a good, university program or go write assemble code on uPs for a 
few years. In essence, that sort of approach is a giant waste of time. 
I.E. follow a well worn path and learn to code in C and assembler. 
Executive, minimal OS and such, written in forth or other such languages 
are shear folly.  C and Assembler, for find something else to do with 
your time, wisely.



However, that said, integrating certain processor family trees into what 
other, more sophisticated 64 bit arm projects are doing, particularly 
with low level codes, is a wise idea. Pick your battles wisely. Caveat 
Emptor!



Back to my thread::
An older, existing system is very rich in unique work and codes, at 
least for me, so I keep old image-systems, around for decades. A Gentoo 
packrat, as I can quote from very smart people back to 2004, when 
necessary. Their words were and are true, but, let's focus on 
virgin/noob (kernel-centric) systems issues.



Fast Forward.
I use the install disk from CloverOS which does a wonderful job of auto* 
for recent kernels and many packages. However it is not portage_raw or 
the myriad of other places to download and install or hack ebuilds; not 
necessarily of the Gentoo-approved feedstock. ymmv.



CloverOS will give you a clean, new kernel, but lacks a window system (I 
do not use anything big, regardless of system resources) that is 
functional but not robust, imho.



But 10 (15 max) minutes for a gentoo install is just freaking awesome, 
btrfs and a new kernel 5.* kernel.
I have not tried to just copy over a kernel and associated file, but 
that is on the list as I have (3) identical AMD systems, 64bit, with AMD 
video cards and 32 G of DDR3 memory. But I shall just try to copy over a 
kernel derived from the CloverOS gentoo to an indentical hardware system 
running a version 3.18 james-derived-and-build linux kernel, just to see 
what happens.



So a hybrid technique to rapidly test pre-built kernels, in an automated 
fashion, then going back and duplicating the same kernel-builds-tests 
from a kernel-gentoo-source-package, would be and attractive experiment 
to me.



One off (which is what we do as a gentoo collective of hacks) kernels 
with the build-test-repeat cycle seems like an arcane semantic for a 
collective of experts (or fledgling gentoo-soon-to-be-experts)in this 
day and age (strictly of my opine).



Where I'm going, managing a collective of hundreds or thousands of 
gentoo derivati

Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Caveman Al Toraboran
On Thursday, April 16, 2020 8:20 PM,  wrote:

> I didn't tru that muself, but as far as I could remember,
> ssh catches the tty so no password will be shown (but processed).

ya, i know that bit.

> What happens if you paste the password, ignore, that "nothing" happens
> and then press  ?

if i press ctrl+shift+v, followed by enter, then
not even the enter registers.  if i press the
enter again, alone, without the preceeding
ctrl+shift+v, it works but tells me the obvious
message "permission denied, please try again".

but if i do the same thing (ctrl+shift+v) in
urxvt, without having ssh's password prompt, then
the password pastes normally, and the subsequent
enter works normally (of course it shows "unknown
command:  ").




Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Caveman Al Toraboran
On Thursday, April 16, 2020 8:12 PM, David Abbott  wrote:

> Did you try CTRL + SHIFT + V

yes (that's how i paste).




[gentoo-user] !!! section ‘local’ in repos.conf has name different from ...

2020-04-16 Thread John Blinka
Hi, everyone,

I’m trying to install steam-overlay using https://wiki.gentoo.org/wiki/Steam

I have 3 boxes on which I try to maintain gentoo setups as identical as
possible.  The steam install has gone smoothly on 2 boxes, but is failing
on the 3rd.

When I get to this steam installation step on the 3rd box:
# emaint sync —repo steam-overlay

I get the error
!!! Section ‘local’ in repos.conf has name different from repository
‘steam-overlay’ set inside repository
which prevents me from syncing and installing steam on this machine.

I’m interpreting this as the two repositories (local and steam-overlay)
somehow knowing about each other and somehow getting their configurations
intertwined.

My repos.conf directory on this 3rd machine is identical to the other 2
machines (which don’t exhibit this error).

.../repos.conf/local.conf maintains a local overlay in /usr/local/portage
for a handful of personal packages/ebuilds.

 .../repos.conf/steam-overlay.conf maintains its overlay in
/usr/local/portage/steam-overlay.

Neither of these two files contain the other overlay’s name, i.e.,
local.conf doesn’t refer to steam-overlay nor does steam-overlay.conf refer
to local. The two files point to different storage locations for their
respective repositories.

So I don’t understand how these two repositories know of each other’s
existence.  Or maybe I don’t understand the error message.

Google doesn’t report many instances of this error, and following up with
them hasn’t produced a solution.

Any ideas about what’s happening?

Thanks,

John


Re: [gentoo-user] Question about handling filenames with "illegal" characters...

2020-04-16 Thread Michael Orlitzky
On 4/16/20 11:15 AM, tu...@posteo.de wrote:
> 
> Is there a way to express $fn in a way, so that
> do_something get one filename at a time and
> whole thing does not is torn apart by some
> not so nice filenames?
> 

What are your constraints... are you using bash, or just any POSIX
shell? Can you rely on GNU extensions to find/xargs, etc? Is
do_something a shell command or a program?

Even with bash, find/xargs tends to fall down if you need to run a
series of shell commands on each thing found. The simplest way to handle
that is to use "while read..." with the bash-specific null separator to
loop through the files one at a time, like in

https://gitweb.gentoo.org/proj/portage.git/tree/bin/install-qa-check.d/90bad-bin-owner

If you want it to be portable, on the other hand, I recently wasted
several hours on this problem and it's not pretty. Something like,

  find -name 'whatever' \
-exec sh -c "
  for f in \"\${@}\"; do
do_stuff \"\${f}\" && echo \"\${f}\"
  done
" - {} +

will do it.



Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread tuxic
On 04/16 03:58, Caveman Al Toraboran wrote:
> so i get my password loaded into the clipboard by
> keepassxc.  then i can paste it into various
> terminals, like urxvt.
> 
> but, the strange thing is that, i cannot paste it
> into urxvt when it shows ssh's login prompt.
> 
> i can paste the password loaded into the clipboard
> from keepassxc if there is no ssh login.  but just
> can't when there is an ssh login prompt.
> 
> any idea what's going on?
> 
> rgrds,
> cm.
> 
> 

Hi,

I didn't tru that muself, but as far as I could remember,
ssh catches the tty so no password will be shown (but processed).

What happens if you paste the password, ignore, that "nothing" happens
and then press  ?

Cheers!
Meino





Re: [gentoo-user] Question about handling filenames with "illegal" characters...

2020-04-16 Thread tuxic
On 04/16 05:21, Francesco Turco wrote:
> On Thu, Apr 16, 2020, at 17:15, tu...@posteo.de wrote:
> > Normally I would replace the asd* with the according
> > 
> > find . -name 'asd*' -print0 | 
> > 
> > but I got in trpuble, because "do_something" 
> > now misunderstood the whole thing.
> 
> What about the following command?
> 
> find . -name 'asd*' -print0 | xargs -0 
> 
> -- 
> https://fturco.net/
> 

I would do that normally, but the  to much "more"





Re: [gentoo-user] Question about handling filenames with "illegal" characters...

2020-04-16 Thread tuxic
On 04/16 11:29, Rich Freeman wrote:
> On Thu, Apr 16, 2020 at 11:19 AM Neil Bothwick  wrote:
> >
> > On Thu, 16 Apr 2020 17:15:45 +0200, tu...@posteo.de wrote:
> >
> > > a loop like this
> > >
> > > for fn in asd* ; do
> > > do_something $fn
> > > done
> > >
> > > fails, when a file is named like this:
> > >
> > > List of OSses allowing spaces in filenames.txt
> > >
> >
> > do_something "$fn"
> >
> 
> That, or use ${fn} - that might be more resistant to quotes in
> filenames though I haven't looked closely into that.
> 
> If you look at most ebuilds they're full of quoted or braced variables
> for exactly this reason.  If you want to stick spaces in your
> directory paths that is your mess to deal with, but Gentoo won't
> break.
> 
> On a side note, if you have a directory full of crufty filenames the
> detox program is very useful for cleaning them up.  Of course, that is
> invasive and you probably don't want to rely on that in your script.
> 
> -- 
> Rich
> 

Hi Rich,

these [CENSORED] filenames are mainly copies from the contents of
usbstick, which were previoysly filled using machines, which were
neither UNICES nor Linuxxes nor MacOSxxes ... you know what I mean.
I myself stick to sane filenames. 

Detox is known to me. But for certain reasons I cannot change the
filenames now...I have to process them first.

Cheers!
Meino





[gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread Caveman Al Toraboran
so i get my password loaded into the clipboard by
keepassxc.  then i can paste it into various
terminals, like urxvt.

but, the strange thing is that, i cannot paste it
into urxvt when it shows ssh's login prompt.

i can paste the password loaded into the clipboard
from keepassxc if there is no ssh login.  but just
can't when there is an ssh login prompt.

any idea what's going on?

rgrds,
cm.




Re: [gentoo-user] can't paste password from clipboard into ssh login in urxvt

2020-04-16 Thread David Abbott
On Thu, Apr 16, 2020 at 11:58 AM Caveman Al Toraboran
 wrote:
>
> so i get my password loaded into the clipboard by
> keepassxc.  then i can paste it into various
> terminals, like urxvt.
>
> but, the strange thing is that, i cannot paste it
> into urxvt when it shows ssh's login prompt.
>
> i can paste the password loaded into the clipboard
> from keepassxc if there is no ssh login.  but just
> can't when there is an ssh login prompt.
>
> any idea what's going on?
>
> rgrds,
> cm.
>
>
Did you try CTRL + SHIFT + V

-- 
David Abbott (dabbott)



Re: [gentoo-user] display repo in emerge list?

2020-04-16 Thread Caveman Al Toraboran
On Thursday, April 16, 2020 3:19 PM, Arve Barsnes  
wrote:

> It shows the repository for me when I use my command. I assume you
> would get the same if you removed -q (quiet) from your command, which
> might override or interfere with your -v (verbose).
>
> Another thing people might react to, are your use of both -U and -N,
> which are two different approaches to updating packages with changes
> in their USE state.

thx sir.  i removed:
`-q`
and added:
`--quiet-build y`
instead.

very excellente.

rgrds,
cm.




Re: [gentoo-user] Question about handling filenames with "illegal" characters...

2020-04-16 Thread Rich Freeman
On Thu, Apr 16, 2020 at 11:19 AM Neil Bothwick  wrote:
>
> On Thu, 16 Apr 2020 17:15:45 +0200, tu...@posteo.de wrote:
>
> > a loop like this
> >
> > for fn in asd* ; do
> > do_something $fn
> > done
> >
> > fails, when a file is named like this:
> >
> > List of OSses allowing spaces in filenames.txt
> >
>
> do_something "$fn"
>

That, or use ${fn} - that might be more resistant to quotes in
filenames though I haven't looked closely into that.

If you look at most ebuilds they're full of quoted or braced variables
for exactly this reason.  If you want to stick spaces in your
directory paths that is your mess to deal with, but Gentoo won't
break.

On a side note, if you have a directory full of crufty filenames the
detox program is very useful for cleaning them up.  Of course, that is
invasive and you probably don't want to rely on that in your script.

-- 
Rich



Re: [gentoo-user] Question about handling filenames with "illegal" characters...

2020-04-16 Thread tuxic
On 04/16 04:19, Neil Bothwick wrote:
> On Thu, 16 Apr 2020 17:15:45 +0200, tu...@posteo.de wrote:
> 
> > a loop like this
> > 
> > for fn in asd* ; do
> > do_something $fn
> > done
> > 
> > fails, when a file is named like this:
> > 
> > List of OSses allowing spaces in filenames.txt
> > 
> 
> do_something "$fn"
> 
> Would this work?
> 
> 
> -- 
> Neil Bothwick
> 
> C:\BELFRY is where I keep my .BAT files ^^^oo^^^


Hi Neil,

is this the "Bothwick effect" ?

This was the first I tried after my script failed...and it failed
again after adding the "".
I tried it again...and now it works. 
Only difference: I did it from the commandline (using zsh).

I am baffled.

But it is better, I don't completely understand, whu it is working
now than vice versa ;)

Cheers!
Meino






Re: [gentoo-user] Question about handling filenames with "illegal" characters...

2020-04-16 Thread Francesco Turco
On Thu, Apr 16, 2020, at 17:15, tu...@posteo.de wrote:
> Normally I would replace the asd* with the according
> 
> find . -name 'asd*' -print0 | 
> 
> but I got in trpuble, because "do_something" 
> now misunderstood the whole thing.

What about the following command?

find . -name 'asd*' -print0 | xargs -0 

-- 
https://fturco.net/



Re: [gentoo-user] Question about handling filenames with "illegal" characters...

2020-04-16 Thread Neil Bothwick
On Thu, 16 Apr 2020 17:15:45 +0200, tu...@posteo.de wrote:

> a loop like this
> 
> for fn in asd* ; do
> do_something $fn
> done
> 
> fails, when a file is named like this:
> 
> List of OSses allowing spaces in filenames.txt
> 

do_something "$fn"

Would this work?


-- 
Neil Bothwick

C:\BELFRY is where I keep my .BAT files ^^^oo^^^


pgpBgO940ccyi.pgp
Description: OpenPGP digital signature


[gentoo-user] Question about handling filenames with "illegal" characters...

2020-04-16 Thread tuxic
Hi,

a loop like this

for fn in asd* ; do
do_something $fn
done

fails, when a file is named like this:

List of OSses allowing spaces in filenames.txt

.

Normally I would replace the asd* with the according

find . -name 'asd*' -print0 | 

but I got in trpuble, because "do_something" 
now misunderstood the whole thing.

Is there a way to express $fn in a way, so that
do_something get one filename at a time and
whole thing does not is torn apart by some
not so nice filenames?

Cheers!
Meino






[gentoo-user] display repo in emerge list?

2020-04-16 Thread Caveman Al Toraboran
hi - any way to display which repository a package
is being installed/updated from when emerging
something?

e.g. when doing `emerge -aqvDuUNt @world`, i see a
tree of packages, but i don't know from which
repository are they coming.

this concerns me since i got 2 overlays added, and
it would be useful for me to verify that i'm not
accidently emerging the wrong package from a
layman repo that i had for something else.

(extra question to keep you isolated a lil longer:
some one laughed at my `-aqvDuUNt` but didn't tell
me why.  is there anything stupid about it?)

rgrds, cm.




Re: [gentoo-user] display repo in emerge list?

2020-04-16 Thread Arve Barsnes
On Thu, 16 Apr 2020 at 13:14, Caveman Al Toraboran
 wrote:
>
> hi - any way to display which repository a package
> is being installed/updated from when emerging
> something?
>
> (extra question to keep you isolated a lil longer:
> some one laughed at my `-aqvDuUNt` but didn't tell
> me why.  is there anything stupid about it?)

It shows the repository for me when I use my command. I assume you
would get the same if you removed -q (quiet) from your command, which
might override or interfere with your -v (verbose).

Another thing people might react to, are your use of both -U and -N,
which are two different approaches to updating packages with changes
in their USE state.

Regards,
Arve



Re: [gentoo-user] Two problems after switching to elogind

2020-04-16 Thread Peter Humphrey
On Wednesday, 15 April 2020 11:48:05 BST Dale wrote:

> As to the sound problem, I'd try logging out of the GUI, restarting
> elogind or rebooting, and then trying again.  One thing I've noticed
> about elogind, if it or something it depends on triggers the need for a
> restart, it causes some weird problems.  Once restarted, everything
> works as it should.

Well, I can't explain it. After going through the update process again, 
everything is working just fine.

Apologies for the noise.

-- 
Regards,
Peter.






[gentoo-user] Re: Upgrading old kernel

2020-04-16 Thread Nikos Chantziaras

On 16/04/2020 10:21, Ashley Dixon wrote:

On Thu, Apr 16, 2020 at 10:08:45AM +0300, Nikos Chantziaras wrote:

There's also sys-kernel/gentoo-kernel but it's description is confusing as
hell: "Linux kernel built with Gentoo patches". Which to me sounds exactly
like gentoo-kernel-bin just with slightly different wording... :-/


The difference can be seen in the ebuild source U.R.I.s:
 gentoo-kernel-bin: https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/ 
\
 sys-kernel/gentoo-kernel/${MY_P}.xpak
 gentoo-kernel: https://cdn.kernel.org/pub/linux/kernel/ ... +
 patches from https://dev.gentoo.org/~mpagano/dist/genpatches

The wording is horrible, but as the suffix ("-bin") would suggest, the former is
a binary  .xpak  package,  whereas  the  latter  is  base  kernel  sources  with
additional Gentoo developers' patches.


I still don't understand what that means. If it's a pre-built kernel, 
then it sounds the same as gentoo-kernel-bin. If it's sources, then it 
sounds the same as gentoo-sources.





Re: [gentoo-user] Re: Upgrading old kernel

2020-04-16 Thread Ashley Dixon
On Thu, Apr 16, 2020 at 10:08:45AM +0300, Nikos Chantziaras wrote:
> There's also sys-kernel/gentoo-kernel but it's description is confusing as
> hell: "Linux kernel built with Gentoo patches". Which to me sounds exactly
> like gentoo-kernel-bin just with slightly different wording... :-/

The difference can be seen in the ebuild source U.R.I.s:
gentoo-kernel-bin: https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/ \
sys-kernel/gentoo-kernel/${MY_P}.xpak
gentoo-kernel: https://cdn.kernel.org/pub/linux/kernel/ ... + 
patches from https://dev.gentoo.org/~mpagano/dist/genpatches

The wording is horrible, but as the suffix ("-bin") would suggest, the former is
a binary  .xpak  package,  whereas  the  latter  is  base  kernel  sources  with
additional Gentoo developers' patches.

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA



signature.asc
Description: PGP signature


Re: [gentoo-user] Re: xorg-server

2020-04-16 Thread Jorge Almeida
On Thu, Apr 16, 2020 at 1:07 AM Ian Zimmerman  wrote:
>
> On 2020-04-14 21:36, Jorge Almeida wrote:
>
> > Yes, that seems right. I just added "-elogind" to make.conf and that's
> > it. But I'm really curious about the framebuffer stuff. As for other
> > stuff (mounting USB, etc), doing it by hand it's fine.
>
> One possible implication is that without one of these mystery packages,
> you need the Xorg binary to be setuid root, and with them, you don't.
> Just a hypothesis: I don't use either elogind or ConsoleKit, and my Xorg
> is setuid root. :-(
>
> This also links back to my last question about firefox.  It turned out
> that the rare and random crashes stopped when I shifted from allowing X
> to start on the first unused tty (which is the default) to starting it
> on the tty where I'm already logged in.  I'm thinking this is somehow
> related to my user id and permissions on the tty.  Possibly with one of
> the login managers it is not an issue.

I start Xorg via xinit, on a forced VT. It works fine for me. But yes,
I do have it suid root...

Jorge



[gentoo-user] Re: Upgrading old kernel

2020-04-16 Thread Nikos Chantziaras

On 15/04/2020 21:09, james wrote:

On 4/15/20 1:40 PM, Andreas Stiasny wrote:


That's why I use make olddefconfig in such a case. This takes all the 
old config values and uses the default for the new ones. If you know 
that you need one or more of the new config options you can fine tune 
them afterwards with make menuconfig.


Ah. never used olddefconfig, I'll give it a spin.


Note that there's sys-kernel/gentoo-kernel-bin now. You can use that 
without having to build anything. Or, you can use that at first, and 
then use its config in sys-kernel/gentoo-sources and tweak it to your needs.


There's also sys-kernel/gentoo-kernel but it's description is confusing 
as hell: "Linux kernel built with Gentoo patches". Which to me sounds 
exactly like gentoo-kernel-bin just with slightly different wording... :-/