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

Re: CVS help and copying source from CD...



Trey Jager wrote:
> First of all, what I'm trying to do is copy the source from the CD to my
> machine so I can get ready to patch the system using CVS.  From the FAQ:

Actually, anoncvs.html... 8-)
 
> To copy the CVS tree from the CD to /usr/src (assuming the CD is mounted on
> /mnt):
> 
>  # cd /mnt; pax -rw CVS Makefile [a-z]* /usr/src
> 
> I get an error that it cannot find CVS or Makefile......  I assume a path
> problem.  Can you give me the exact steps to get the source?
> 
> If I can just get the source from the CD to my box, I can probably finish
> the rest of the patching myself.  Thanks for any help.
> 
> Trey

oops.

Looks like that needs to be updated.

You didn't indicate which version of OpenBSD you are working with --
on 3.0, it is on disk 3, in the file src.tar.gz.  You want to untar
that file in your /usr/src directory:

(assuming cd#3 on /mnt)
   cd /usr/src
   tar xzvf /mnt/src.tar.gz

On 2.9 and before, it was two separate files: - src.tar.gz and
srcsys.tar.gz, the second holding the kernel source, and the first
holding everything else.

At a time in the past, I believe there was a CVS checkout on the disk
-- that's what the instructions in anoncvs.html refer to, I
believe...so yes, they need to be updated.  It's on my list now...

Nick.
-- 
http://www.holland-consulting.net