Making release with EXTSRC tag

Kövesdán Gábor gabor.kovesdan at
Sun May 22 13:08:11 PDT 2005


I'm about to build an own install disc from 5.3-RELEASE-p15 but I don't 
want to mirror the whole CVS repo. I have my RELENG_5_3 source tree in 
/usr/src and according to this I edited my /usr/src/release/Makefile. I 
set the EXTSRC macro to /usr/src and I did a 'make buildworld' to fill 
/usr/obj with the system binariesand then I changed to /usr/src/release 
directory and I typed: 'make MAKE_ISOS=YES MAKE_FLOPPIES=YES 
CVSROOT=/usr/src release'. I had to set CVSROOT macro, because the 
Makefile requires it even if I use EXTSRC and do not want to checkout 
anything. The release process stopped with this:

if [ -f /etc/resolv.conf ]; then  cp -p /etc/resolv.conf 
/home/tux/release/etc;  fi
rm -rf /home/tux/release/usr/src
cd /home/tux/release/usr &&  cp -R -H /usr/src src
rm -rf /home/tux/release/usr/ports
cd /home/tux/release/usr &&  cvs -R  -d /usr/src  co  -P ports
cvs [checkout aborted]: /usr/src/CVSROOT: No such file or directory
*** Error code 1

Stop in /usr/src/release.

Do You have any experience with this? What can I do now? Btw, I uploaded 
the Makefile:


Gábor Kövesdán

More information about the freebsd-stable mailing list