Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tinnny
n00b
n00b


Joined: 09 Mar 2012
Posts: 20

PostPosted: Thu May 03, 2012 12:33 pm    Post subject: portage overlay Reply with quote

can some body give me some guides on portage overlay, I try to use others ebuild,but it does not work
I followed this
http://www.webos-internals.org/wiki/Building_a_cross_toolchain
but i get this when build
Code:


Calculating dependencies 
 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

 * Missing digest for '/usr/local/portage/cross-arm-none-linux-gnueabi/linux-headers/linux-headers-2.6.23-r3.ebuild'
... done!

!!! All ebuilds that could satisfy "cross-arm-none-linux-gnueabi/linux-headers" have been masked.
!!! One of the following masked packages is required to complete your request:
- cross-arm-none-linux-gnueabi/linux-headers-2.6.23-r3::x-portage (masked by: corruption)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

i do not understand this
Code:
* Missing digest for '/usr/local/portage/cross-arm-none-linux-gnueabi/linux-headers/linux-headers-2.6.23-r3.ebuild'
... done!

and how digest works
is there some thing wrong with the ebuild?
can you give me some docs on ebuild and overlay?
thanks
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2066

PostPosted: Thu May 03, 2012 1:29 pm    Post subject: Reply with quote

You need to replicate the 'category/package/packagename-version.ebuild' structure in your overlay, then run 'ebuild category/package/packagename-version.ebuild manifest' and then you're ready to go - provided the .ebuild is valid and the ebuild's name adheres to the standards.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
tinnny
n00b
n00b


Joined: 09 Mar 2012
Posts: 20

PostPosted: Thu May 03, 2012 3:54 pm    Post subject: Reply with quote

it works great,but i get another problem, i need to modify the source code to suite my problem,how can make my own ebuild,would you give me some docs or tricks
thanks
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2066

PostPosted: Thu May 03, 2012 3:58 pm    Post subject: Reply with quote

Depends what you need to change, and how much work that is. F.e., if you just need to change some paths in some file, you can use `sed` in an ebuild. If you want to apply an already provided patch, you could use epatch.

So for short, give more information and in the meantime, have a look at this: http://devmanual.gentoo.org/quickstart/index.html
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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