DragonFly docs List (threaded) for 2008-05
DragonFly BSD
DragonFly docs List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Custom kernel


From: Robert Luciani <rluciani@xxxxxxxxx>
Date: Sat, 10 May 2008 10:56:55 +0200

> What do I use to get at the source? (Funny thing is,
> first time I ran it the day or two before I had to
> rebuild it, it gave me the source.  But I'm a novice
> at this and maybe I did something slightly different(??)
> which didn't look different when I re-did it??)
> 
> Thanks for your help.
> 
> Walter
I get what you're talking about. What you need to do after that is check
out a copy from the folder you just downloaded. I propose a more simple
/usr/Makefile structure. Something like this:

pkgsrc:
  CVS_RSH=/usr/bin/ssh
  cd /usr; if [ -d pkgsrc/CVS ]; then\
    cvs -d anoncvs@anoncvs.se.netbsd.org:/cvsroot update -P pkgsrc; \
  else \
    cvs -d anoncvs@anoncvs.se.netbsd.org:/cvsroot checkout -P pkgsrc; \
  fi

pkgsrc-wip:
  CVS_RSH=/usr/bin/ssh
  cd /usr/pkgsrc; if [ -d wip/CVS ]; then\
    cvs -d anoncvs@anoncvs.se.netbsd.org:/cvsroot update -P wip;\
  else \
    cvs -d anoncvs@anoncvs.se.netbsd.org:/cvsroot checkout -P wip;\
  fi

rsync-src:
  rsync -avz chlamydia.fs.ei.tum.de::dragonfly-cvs/src /usr/dfcvs
  rsync -avz chlamydia.fs.ei.tum.de::dragonfly-cvs/CVSROOT /usr/dfcvs

dragonfly-preview:
  cd /usr; if [ -d src/CVS ]; then \
    cvs -d /usr/dfcvs update -r DragonFly_Preview -PAd src; \
  else \
    cvs -d /usr/dfcvs checkout -r DragonFly_Preview -PA src; \
  fi

dragonfly-head:
  cd /usr; if [ -d src/CVS ]; then \
    cvs -d /usr/dfcvs update -r HEAD -PAd src; \
  else \
    cvs -d /usr/dfcvs checkout -r HEAD -PA src; \
  fi


-- 
Robert Luciani
Chalmers University of Technology, SWE
Department of Computer Science and Engineering
http://www.rluciani.com/rluciani@gmail.com.asc



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