This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: stupid newbie question about source directory structure
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Eric Smith <eric-ecd at brouhaha dot com>
- Cc: ecos-devel at sources dot redhat dot com
- Date: Mon, 28 Apr 2003 16:37:55 +0100
- Subject: Re: stupid newbie question about source directory structure
- References: <33085.64.169.63.74.1051500103.squirrel@ruckus.brouhaha.com>
Eric Smith wrote:
Even after reading the eCos Component Writer's Guide, I'm still
confused about the utility of package versioning. It seems to me
that having a version as the name of a directory in the path causes
more problems and confusion that it solves. For instance, it makes
applying patches difficult. I've resorted to doing this:
for f in `find . -name v2_0b1`; do echo ln -s $f `dirname $f`/current; done
Am I overlooking some clever tricks to avoid the need for this?
I think you just did them ;-).
On other operating systems I've used, it was certainly possible to select
between versions of components, but you could only install one at a time
(unless you wanted to manage symlinks yourself), and I never had any
problem with that. Is the eCos way really that much of a win?
It's part of the design so far.... it's long been hoped that we would have
a proper package management utility, so that multiple versions of
packages could be installed alongside each other. Such a tool would do the
patch management as well.
As ever it's one of the things that's wanted to be done "soon", but we're
actually more optimistic this time that it could well be done (or at least
started) for eCos 2.1.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine