Changes between Version 134 and Version 135 of NanoBSD


Ignore:
Timestamp:
Sep 21, 2010, 3:01:48 PM (12 years ago)
Author:
rick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NanoBSD

    v134 v135  
    5555setenv CFG_ROOT_PASSWORD [default password]
    5656 
    57 # define the svn download directory:
     57# define your nanobsd (svn) working directory:
     58# NOTE: All command at later stages will refer to this so you better get it right!
    5859setenv R /root/nanobsd
    5960EOF
     
    8990 B.2. Compile all required packages using
    9091 {{{
    91  $ /root/nanobsd/tools/package-build.sh
     92 $ $R/tools/package-build.sh
    9293 }}}
    9394 
     
    106107 For use of a Davicom DM9601 USB network controler you have to patch usbdevs and the if_udav driver:
    107108 {{{
    108  $ patch -d /usr/src/sys/dev/usb -i /root/nanobsd/misc/patches/usbdevs.patch
    109  $ patch -d /usr/src/sys/dev/usb/net -i /root/nanobsd/misc/patches/if_udav.c.patch
     109 $ patch -d /usr/src/sys/dev/usb -i $R/misc/patches/usbdevs.patch
     110 $ patch -d /usr/src/sys/dev/usb/net -i $R/misc/patches/if_udav.c.patch
    110111 }}}
    111112
    112113 B.5. Build nanobsd (make sure to prepare some coffee;-) )
    113114 {{{
    114  $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -c /root/nanobsd/cfg/nanobsd.wleiden
     115 $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -c $R/cfg/nanobsd.wleiden
    115116 }}}
    116117 Note 1: Take a coffee of go for a hike, this normally takes 2 - 8 hours depending on the machine configuration
     
    125126 }}}
    126127
    127  Note 3: The geometry of the cf card is defined in the nanobsd configuration file /root/nanobsd/cfg/nanobsd.wleiden
     128 Note 3: The geometry of the cf card is defined in the nanobsd configuration file $R/cfg/nanobsd.wleiden
    128129 The 'default' values are for a Peak 1 GB card. They also work on an Alix board (but ''' NOT ON Soekris! ''' ) for a 1 GB PCEngines 'blanc' cf card although its geometry is slightly different.
    129130
     
    135136
    136137 {{{
    137  $ /root/nanobsd/tools/config-image.sh
     138 $ $R/tools/config-image.sh
    138139 }}}
    139140
     
    228229    a. Only changes in kernel options - `kernel.wleiden` altered - ETA 0:45
    229230    {{{
    230     $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -w -c /root/nanobsd/cfg/nanobsd.wleiden
     231    $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -w -c $R/cfg/nanobsd.wleiden
    231232    }}}
    232233    a. Only changes in world options - `CONF_{BUILD,COMMON,INSTALL}` in  `nanobsd.wleiden` altered - ETA 2:00 - 6:00
    233234    {{{
    234     $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -k -c /root/nanobsd/cfg/nanobsd.wleiden
     235    $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -k -c $R/cfg/nanobsd.wleiden
    235236    }}}
    236237    a. _NO_ changes in build options - any other file altered - ETA 0:10
    237238    {{{
    238     $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -b -c /root/nanobsd/cfg/nanobsd.wleiden
     239    $ sh /usr/src/tools/tools/nanobsd/nanobsd.sh -b -c $R/cfg/nanobsd.wleiden
    239240    }}}
    240241    a. ONLY different configuration
     
    376377 * Handy .cshrc hints
    377378{{{
    378 alias quicknano sh /usr/src/tools/tools/nanobsd/nanobsd.sh -b -c /root/nanobsd/cfg/nanobsd.wleiden
    379 alias slownano  sh /usr/src/tools/tools/nanobsd/nanobsd.sh -c /root/nanobsd/cfg/nanobsd.wleiden
    380 alias slownewkernelnano sh /usr/src/tools/tools/nanobsd/nanobsd.sh -w -c /root/nanobsd/cfg/nanobsd.wleiden
    381 alias slownewworldnano sh /usr/src/tools/tools/nanobsd/nanobsd.sh -k -c /root/nanobsd/cfg/nanobsd.wleiden
    382 alias prepare-nfs  /root/nanobsd/tools/prepare-nfs.sh -f -n
    383 }}}
     379alias quicknano sh /usr/src/tools/tools/nanobsd/nanobsd.sh -b -c $R/cfg/nanobsd.wleiden
     380alias slownano  sh /usr/src/tools/tools/nanobsd/nanobsd.sh -c $R/cfg/nanobsd.wleiden
     381alias slownewkernelnano sh /usr/src/tools/tools/nanobsd/nanobsd.sh -w -c $R/cfg/nanobsd.wleiden
     382alias slownewworldnano sh /usr/src/tools/tools/nanobsd/nanobsd.sh -k -c $R/cfg/nanobsd.wleiden
     383alias prepare-nfs  $R/tools/prepare-nfs.sh -f -n
     384}}}