public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Gentoo on a Beaglebone
@ 2012-08-06  4:51 meino.cramer
  2012-08-06  6:47 ` Bryan Gardiner
  0 siblings, 1 reply; 6+ messages in thread
From: meino.cramer @ 2012-08-06  4:51 UTC (permalink / raw
  To: Gentoo

Hi,

here:
http://dev.gentoo.org/~armin76/arm/beaglebone/install.xml

I found a description how to setup a Gentoo for a Beaglebone,
an Cortex A8 Linux platform.

When I did:
crossdev -S armv7a-unknown-linux-gnueabi


I got this message:
/root>crossdev -S armv7a-unknown-linux-gnueabi
------------------------------------------------------------------------------------------------------------
 * crossdev version:      20120531
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   arm
 * Target System:         armv7a-unknown-linux-gnueabi
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

 * binutils:              binutils-[stable]
 * gcc:                   gcc-[stable]
 * headers:               linux-headers-[stable]
 * libc:                  glibc-[stable]

 * CROSSDEV_OVERLAY:      /var/lib/layman/pro-audio
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:    
 * Portage flags:         
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -

 * please convert /etc/portage/package.keywords to a directory                                 <<<!!!<<<
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-armv7a-unknown-linux-gnueabi-info.log


What is meant with "please convert /etc/portage/package.keywords to a directory"
What will happen to the contents of that file? What is the name of the directory
to create? How can I fix that?

Thank you very much in advance for any help!
Best regards,
mcc





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Gentoo on a Beaglebone
  2012-08-06  4:51 [gentoo-user] Gentoo on a Beaglebone meino.cramer
@ 2012-08-06  6:47 ` Bryan Gardiner
  2012-08-06  7:15   ` Daniel Wagener
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bryan Gardiner @ 2012-08-06  6:47 UTC (permalink / raw
  To: gentoo-user

On August 6, 2012 06:51:41 AM meino.cramer@gmx.de wrote:
> 
> What is meant with "please convert /etc/portage/package.keywords to a
> directory" What will happen to the contents of that file? What is the name
> of the directory to create? How can I fix that?
> 
> Thank you very much in advance for any help!
> Best regards,
> mcc

package.keywords can be a directory instead of a file, in which case the "file" 
that ends up getting used is the concatenation of all of the files in the 
directory.  It lets you split your keywords up rather than having one large 
monolithic file.  In my case:

$ ll /etc/portage/package.accept_keywords/
total 28
-rw-r--r-- 1 root   root   4314 Apr 22 12:42 eclipse-3.7
-rw-r--r-- 1 khumba khumba 8739 Aug  1 23:56 kde-4.9.keywords.2012-08-01
-rw-r--r-- 1 root   root   3999 Aug  2 23:11 mine

The KDE file for example is provided on the Gentoo KDE page for unmasking all 
of the files necessary for KDE 4.9, and you don't have to merge it into your 
personal keywords file.  You have to be careful not to leave any xxx~ backup 
files in the directory, because they count as well.

The same applies to package.use.  The new style is for the file/directory to be 
called package.accept_keywords.  There's more info in "man 5 portage".

Cheers,
Bryan


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Gentoo on a Beaglebone
  2012-08-06  6:47 ` Bryan Gardiner
@ 2012-08-06  7:15   ` Daniel Wagener
  2012-08-06  7:45   ` meino.cramer
  2012-08-07  5:46   ` Walter Dnes
  2 siblings, 0 replies; 6+ messages in thread
From: Daniel Wagener @ 2012-08-06  7:15 UTC (permalink / raw
  To: gentoo-user

On Sun, 05 Aug 2012 23:47:01 -0700
Bryan Gardiner <bog@khumba.net> wrote:

> On August 6, 2012 06:51:41 AM meino.cramer@gmx.de wrote:
> > 
> > What is meant with "please convert /etc/portage/package.keywords to a
> > directory" What will happen to the contents of that file? What is the name
> > of the directory to create? How can I fix that?
> > 
> > Thank you very much in advance for any help!
> > Best regards,
> > mcc
> 
> package.keywords can be a directory instead of a file, in which case the "file" 
> that ends up getting used is the concatenation of all of the files in the 
> directory.


Which also means, that moving the old file in there would also work.
Though that is somehow against the idea of it…


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Gentoo on a Beaglebone
  2012-08-06  6:47 ` Bryan Gardiner
  2012-08-06  7:15   ` Daniel Wagener
@ 2012-08-06  7:45   ` meino.cramer
  2012-08-07  5:46   ` Walter Dnes
  2 siblings, 0 replies; 6+ messages in thread
From: meino.cramer @ 2012-08-06  7:45 UTC (permalink / raw
  To: gentoo-user

Bryan Gardiner <bog@khumba.net> [12-08-06 09:24]:
> On August 6, 2012 06:51:41 AM meino.cramer@gmx.de wrote:
> > 
> > What is meant with "please convert /etc/portage/package.keywords to a
> > directory" What will happen to the contents of that file? What is the name
> > of the directory to create? How can I fix that?
> > 
> > Thank you very much in advance for any help!
> > Best regards,
> > mcc
> 
> package.keywords can be a directory instead of a file, in which case the "file" 
> that ends up getting used is the concatenation of all of the files in the 
> directory.  It lets you split your keywords up rather than having one large 
> monolithic file.  In my case:
> 
> $ ll /etc/portage/package.accept_keywords/
> total 28
> -rw-r--r-- 1 root   root   4314 Apr 22 12:42 eclipse-3.7
> -rw-r--r-- 1 khumba khumba 8739 Aug  1 23:56 kde-4.9.keywords.2012-08-01
> -rw-r--r-- 1 root   root   3999 Aug  2 23:11 mine
> 
> The KDE file for example is provided on the Gentoo KDE page for unmasking all 
> of the files necessary for KDE 4.9, and you don't have to merge it into your 
> personal keywords file.  You have to be careful not to leave any xxx~ backup 
> files in the directory, because they count as well.
> 
> The same applies to package.use.  The new style is for the file/directory to be 
> called package.accept_keywords.  There's more info in "man 5 portage".
> 
> Cheers,
> Bryan
> 

Hi Bryan,

thank you for your help and explanations! :)

Best regards,
mcc





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Gentoo on a Beaglebone
  2012-08-06  6:47 ` Bryan Gardiner
  2012-08-06  7:15   ` Daniel Wagener
  2012-08-06  7:45   ` meino.cramer
@ 2012-08-07  5:46   ` Walter Dnes
  2012-08-07  5:58     ` Bryan Gardiner
  2 siblings, 1 reply; 6+ messages in thread
From: Walter Dnes @ 2012-08-07  5:46 UTC (permalink / raw
  To: gentoo-user

On Sun, Aug 05, 2012 at 11:47:01PM -0700, Bryan Gardiner wrote

> package.keywords can be a directory instead of a file, in which case the "file" 
> that ends up getting used is the concatenation of all of the files in the 
> directory.  It lets you split your keywords up rather than having one large 
> monolithic file.  In my case:
> 
> $ ll /etc/portage/package.accept_keywords/
> total 28
> -rw-r--r-- 1 root   root   4314 Apr 22 12:42 eclipse-3.7
> -rw-r--r-- 1 khumba khumba 8739 Aug  1 23:56 kde-4.9.keywords.2012-08-01
> -rw-r--r-- 1 root   root   3999 Aug  2 23:11 mine
> 
> The KDE file for example is provided on the Gentoo KDE page for unmasking all 
> of the files necessary for KDE 4.9, and you don't have to merge it into your 
> personal keywords file.  You have to be careful not to leave any xxx~ backup 
> files in the directory, because they count as well.
> 
> The same applies to package.use.  The new style is for the file/directory to be 
> called package.accept_keywords.  There's more info in "man 5 portage".

  Are the package.use files additive?  I.e. if one use file has
app-fu/bar flag1
  and another use file has
app-fu/bar flag2
  is that equivalant to one combined use file with
app-fu/bar flag1 flag2

-- 
Walter Dnes <waltdnes@waltdnes.org>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Gentoo on a Beaglebone
  2012-08-07  5:46   ` Walter Dnes
@ 2012-08-07  5:58     ` Bryan Gardiner
  0 siblings, 0 replies; 6+ messages in thread
From: Bryan Gardiner @ 2012-08-07  5:58 UTC (permalink / raw
  To: gentoo-user

On August 7, 2012 01:46:30 AM Walter Dnes wrote:
>   Are the package.use files additive?  I.e. if one use file has
> app-fu/bar flag1
>   and another use file has
> app-fu/bar flag2
>   is that equivalant to one combined use file with
> app-fu/bar flag1 flag2

They are, just as you can list a package multiple times in a single file, which 
makes make Portage's autounmask rules work easily.

The relevant part of "man portage" is under /etc/portage/:

> Any file in this directory that begins with "package." can be more than just 
a flat file.  If it is a directory, then all the files in that directory will be 
sorted in ascending alphabetical order by file name and summed together as if 
it were a single file.

Cheers,
Bryan


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-07  6:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-06  4:51 [gentoo-user] Gentoo on a Beaglebone meino.cramer
2012-08-06  6:47 ` Bryan Gardiner
2012-08-06  7:15   ` Daniel Wagener
2012-08-06  7:45   ` meino.cramer
2012-08-07  5:46   ` Walter Dnes
2012-08-07  5:58     ` Bryan Gardiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox