Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS update for only one platform



On 11/18/2011 15:39, matthew green wrote:
I'm trying to do a CVS update to try the snprintf fixes from the other
thread.  While I'm doing that, is there a way to configure the CVS
update to only pull what is necessary for a single platform?  I only
need sparc so downloading everything like arm, amiga, m68k and the
others is of little value.  It would also save space on my very limited
disk.  I've only got a single 2 GB disk available for /usr/src.  I'm
trying to find another disk to give me some more space but it's all I
have at the moment.

it's a little tricky to do but you can tell cvs to ignore parts
of the tree.  just put "!path/here" in the "co" arguments.  eg:

        % cvs co src !src/sys/arch/foo !src/sys/arch/bar

it requires listing out the stuff you want to exclude, and these
subdirs aren't going to save that much.  a better place you should
also look at would be to exclude src/gnu/*/gcc4 (particularly the
"dist" match, which is going to be the biggest win of anything,
and maybe larger than the rest combined.)

you might have to end up with a pretty large cvs co line.

another alternative is to update in stages, and then just "rm -r"
the stuff you don't need.

Ok, well I've managed to destroy the system. I accidentally deleted all of /usr/lib thinking I was in /usr/src. So, is it possible to rebuild the entire lib directory from CVS or am I stuck reinstalling the entire system again? If I'm stuck having to reinstall, will the new changes be available on an ISO ro do I need the ISO first and then do a CVS update?

Home | Main Index | Thread Index | Old Index