public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] qmerge and friend
@ 2011-03-16 16:18 Martin Gysel
  2011-03-17  1:56 ` Mike Frysinger
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Gysel @ 2011-03-16 16:18 UTC (permalink / raw
  To: gentoo-embedded

Hi

I tied to use qmerge on my 'embedded' system (well for the moment it
runs from a usb stick...). I don't have the portage tree there nor any
profile. Unfortunately qmerge exits with:
 merge: chdir(portage) failed: No such file or directory
then I set some more variabls in make.conf like PORTAGE_TMPDIR etc. but
there's still some 'info' missing.
what variables do I have to set to have it run?

rgds
martin



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

* Re: [gentoo-embedded] qmerge and friend
  2011-03-16 16:18 [gentoo-embedded] qmerge and friend Martin Gysel
@ 2011-03-17  1:56 ` Mike Frysinger
  2011-03-17  8:26   ` Ed W
  2011-03-17 10:53   ` Martin Gysel
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Frysinger @ 2011-03-17  1:56 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: Text/Plain, Size: 566 bytes --]

On Wednesday, March 16, 2011 12:18:39 Martin Gysel wrote:
> I tied to use qmerge on my 'embedded' system (well for the moment it
> runs from a usb stick...). I don't have the portage tree there nor any
> profile.

the profile is necessary to convey fundamental information such as ARCH and 
ACCEPT_KEYWORDS.  and to a lesser degree, the system packages and default USE 
flags.  without a profile, you need to manually set all of those.

i guess we could tweak the qmerge code to not walk the profile if people 
provide ARCH and such themselves ...
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [gentoo-embedded] qmerge and friend
  2011-03-17  1:56 ` Mike Frysinger
@ 2011-03-17  8:26   ` Ed W
  2011-03-18  1:28     ` solar
  2011-03-17 10:53   ` Martin Gysel
  1 sibling, 1 reply; 5+ messages in thread
From: Ed W @ 2011-03-17  8:26 UTC (permalink / raw
  To: gentoo-embedded

On 17/03/2011 01:56, Mike Frysinger wrote:
> On Wednesday, March 16, 2011 12:18:39 Martin Gysel wrote:
>> I tied to use qmerge on my 'embedded' system (well for the moment it
>> runs from a usb stick...). I don't have the portage tree there nor any
>> profile.
> 
> the profile is necessary to convey fundamental information such as ARCH and 
> ACCEPT_KEYWORDS.  and to a lesser degree, the system packages and default USE 
> flags.  without a profile, you need to manually set all of those.
> 
> i guess we could tweak the qmerge code to not walk the profile if people 
> provide ARCH and such themselves ...
> -mike

Is it sufficient to "fake" the profile by simply having a profile path?
 Everything else defined in make.conf?

If not, what might be the minimal set of files in profile required? (I
guess they could mostly be empty?)

Cheers

Ed W



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

* Re: [gentoo-embedded] qmerge and friend
  2011-03-17  1:56 ` Mike Frysinger
  2011-03-17  8:26   ` Ed W
@ 2011-03-17 10:53   ` Martin Gysel
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Gysel @ 2011-03-17 10:53 UTC (permalink / raw
  To: gentoo-embedded

Am 17.03.2011 02:56, schrieb Mike Frysinger:
> i guess we could tweak the qmerge code to not walk the profile if people 
> provide ARCH and such themselves ...

I think that would be a good idea (less 'unneeded' files on the
target...). maybe combined with a script which walks through the profile
tree extracting all the necessary parameters and putting them in
make.conf...

/martin



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

* Re: [gentoo-embedded] qmerge and friend
  2011-03-17  8:26   ` Ed W
@ 2011-03-18  1:28     ` solar
  0 siblings, 0 replies; 5+ messages in thread
From: solar @ 2011-03-18  1:28 UTC (permalink / raw
  To: gentoo-embedded

On Thu, 2011-03-17 at 08:26 +0000, Ed W wrote:
> On 17/03/2011 01:56, Mike Frysinger wrote:
> > On Wednesday, March 16, 2011 12:18:39 Martin Gysel wrote:
> >> I tied to use qmerge on my 'embedded' system (well for the moment it
> >> runs from a usb stick...). I don't have the portage tree there nor any
> >> profile.
> > 
> > the profile is necessary to convey fundamental information such as ARCH and 
> > ACCEPT_KEYWORDS.  and to a lesser degree, the system packages and default USE 
> > flags.  without a profile, you need to manually set all of those.
> > 
> > i guess we could tweak the qmerge code to not walk the profile if people 
> > provide ARCH and such themselves ...
> > -mike
> 
> Is it sufficient to "fake" the profile by simply having a profile path?
>  Everything else defined in make.conf?

qmerge only ever required a minimal /etc/make.conf ; What Mike points
out is we can probably accept it from the env also.

-- 
solar <solar@gentoo.org>
Gentoo Linux




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

end of thread, other threads:[~2011-03-18  2:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16 16:18 [gentoo-embedded] qmerge and friend Martin Gysel
2011-03-17  1:56 ` Mike Frysinger
2011-03-17  8:26   ` Ed W
2011-03-18  1:28     ` solar
2011-03-17 10:53   ` Martin Gysel

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