Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: solar@g.o
From: Daniel <dragonheart@g.o>
Subject: Re: busybox default Config.h
Date: Wed, 21 Jan 2004 10:06:51 +0930
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Sure we can do something like this, but what shall our trigger be?
>

I think the existance of the file is a trigger enough

> How about something like this?
>
> if [ `use this_trigger` ] ; then
> 	for conf in {${PN}-${PV}-${PR},${PN}-${PV},${PN}}.config
> 		if [ -r /etc/${PN}/${conf} ] ; then
> 			cp ${conf} ${S}/.config
> 			break;
> 		fi
> 	done
> fi
>
> [ ! -r .config ] && make a config
> .. existing stuff
>
> post install phase
>
> [ `use this_trigger` ] && copy .confg /etc/${PN}/${PN}.config

This could just be default (no trigger) - I think lisa has done it a few times 
in her ebuilds.

>
> -----
>
> Idea here would be fine grained config control by searching
> /etc/busybox/ for
>
> [package]-[version]-[revision].config
> [package]-[version].config
> [package].config
>

I realy like this idea.

I like how the default is ${PN}.config too.

> The config would be searched for in that order and once a config is copied,
> no more attempts would be made.

Very good.

Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFADcmmTDSbtjKmTcgRAmwrAKClw7bHtW8BO/qeriIvXSrci9z9KACfQkJq
q85z8ms6dXKAqTi/ualNsWM=
=rYlX
-----END PGP SIGNATURE-----


--
gentoo-embedded@g.o mailing list

Replies:
Re: busybox default Config.h
-- Ned Ludd
References:
busybox default Config.h
-- david
Re: busybox default Config.h
-- Daniel
Re: busybox default Config.h
-- Ned Ludd
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: busybox default Config.h
Next by thread:
Re: busybox default Config.h
Previous by date:
Re: busybox default Config.h
Next by date:
Re: busybox default Config.h


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.