Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] genkernel usage error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
piotr5
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2012
Posts: 102

PostPosted: Sun Feb 08, 2015 11:19 am    Post subject: [solved] genkernel usage error Reply with quote

running genkernel gives me
Code:
/usr/bin/genkernel: line 40: /defaults/software.sh: No such file or directory

genkernel-next didn't change anything.
so when I try "GK_SHARE=/usr/share/genkernel" before the command, I get a lot of
Code:
/usr/share/genkernel/gen_funcs.sh: line 97: [: : integer expression expected

(along with one "line 47: ${LOGFILE}: ambiguous redirect") and it freezes.

the reason for the problem is I used the option "--config" instead of "--kernel-config", so the config file wasn't read. would be nice if some sanity checks on the config would be done and the correct error-message generated...

btw, I noticed it does make a difference if I write first the options then the command, or the other way around as I did above.
I hope in future people encountering that problem will know what to do: don't use "--config" and put options before commands like "all" or "kernel"...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum