Translations of this page?:
Table of Contents

Tracking -current

The easies way to track -current is to periodically download current snapshot, reboot using it and do an upgrade. Takes about 30 minutes, plus some more in case housekeeping is required (configuration chages, broken packages, etc.)

Don't forget to also update /usr/ports and /usr/src

Process

  • install -b bsd.rd /bsd
  • Make sure you have access to console before after reboot ssh will not be available
  • reboot
  • select 'U' for upgrade option
  • select ftp mirror [mirror.planetunix.net]
  • leave default path [/pub/OpenBSD/snapshots/i386] ftp://mirror.planetunix.net/pub/OpenBSD/snapshots/i386
  • download and install sets (25-30 minutes)
  • reboot
  • remaining install could be done over ssh
  • adjust CVSROOT and pgk_path in root and your profile if necessary
    • export CVSROOT=anoncvs@anoncvs1.ca.openbsd.org:/cvs
      #export CVSROOT=anoncvs@anoncvs.comstyle.com:/cvs
      export PKG_PATH=ftp://ftp.ca.openbsd.org/pub/OpenBSD/snapshots/packages/`machine -a`/
       
      # For use with make package 2>&1 | $PL /usr/ports/log
      export PL=/usr/ports/infrastructure/build/portslogger
      
  • continue with CVS update of sources and ports
    • cd /usr/src
      cvs -d$CVSROOT up -PAd
      
      cd /usr/ports
      cvs -d$CVSROOT up -PAd
      
  • if you doing it for the first time do initial checkout
    • cd /usr
      sudo cvs -d$CVSROOT co ports
      sudo cvs -d$CVSROOT co src
      
  • IMPORTANT If you are doing version upgrade (e.g. from 4.6-current to 4.7-current) consult Upgrade FAQ for a proper version. You may need to merge new etc files with yours.

See Also

 
tracking_-current.txt · Last modified: 2010/04/12 10:57 by Alex Popov
 
Except where otherwise noted, content on this wiki is licensed under the following license:Public Domain
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki