[csw-maintainers] Evaluating Gentoo Prefix
Maciej (Matchek) Bliziński
maciej at opencsw.org
Mon Sep 23 00:11:12 CEST 2013
2013/9/22 Peter FELECAN <pfelecan at opencsw.org>
> > I'm just putting the idea out there: if we want to do a rebuild, we
> > could reuse someone else's code.
>
> Can you develop a little bit?
Out of many things that GAR does, the most interesting / unique ones
are modulations, CAS integration and other SVR4-specific things. The
patching and compilation parts are relatively weak ‒ it has been done
elsewhere, maybe even better than what we did. We could see if it's
feasible to reuse that work. For example, instead of calling
CONFIGURE_SCRIPTS, GAR could shell out to call portage to build and
install a specific piece of code. Then it would merge the installed
image and proceed as usual. It's just one idea.
Why I think it could be feasible? Our current code hardcodes /opt/csw
and other variants of the CSW string in many, many places. To build
into a different prefix, e.g. ${HOME}/myproject of an unprivileged
user, we would have to correct countless places in our build recipes.
The required amount of work could be larger than adopting a different
codebase.
Maciej
More information about the maintainers
mailing list