| View previous topic :: View next topic |
| Author |
Message |
tinnny n00b

Joined: 09 Mar 2012 Posts: 20
|
Posted: Thu May 03, 2012 12:33 pm Post subject: portage overlay |
|
|
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 |
|
 |
avx Advocate


Joined: 21 Jun 2004 Posts: 2066
|
Posted: Thu May 03, 2012 1:29 pm Post subject: |
|
|
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 |
|
 |
tinnny n00b

Joined: 09 Mar 2012 Posts: 20
|
Posted: Thu May 03, 2012 3:54 pm Post subject: |
|
|
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 |
|
 |
avx Advocate


Joined: 21 Jun 2004 Posts: 2066
|
Posted: Thu May 03, 2012 3:58 pm Post subject: |
|
|
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 |
|
 |
|