Custom kernel

Robert Luciani rluciani at gmail.com
Sat May 10 01:56:55 PDT 2008


> 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 at anoncvs.se.netbsd.org:/cvsroot update -P pkgsrc; \
  else \
    cvs -d anoncvs at 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 at anoncvs.se.netbsd.org:/cvsroot update -P wip;\
  else \
    cvs -d anoncvs at 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





More information about the Docs mailing list