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
-----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
|
|