Skip to content
tingletech edited this page Jun 16, 2013 · 3 revisions

update a build

./appstrap/pkgup

This command will check all the installed packages; then it will update the pgksrc from github, then it will re-bootstrap into a new directory; and then it will pmake each installed package into the new directory. At the end, you will have something like this:

pkg -> pkgbld/b09794c

and in pkgbld, there will be a directory, say e8d6362 -- this will match the short checksum from github of pkgsrc. Just change the link to point to the new directory.

rm pkg
ln -s pkgbld/e8d6362 pkg

Then, stop and start the application using monit.


├── bashrc              # ln -s ./appstrap/bashrc/application
├── cronic
│   ├── atnow           # wrapper to schedule a job right now
│   ├── cronic          # cron job wrapper
│   ├── log             # log from the cron/at jobs
│   └── spinner         # keep from getting disconnected
├── envwrap             # for use with monit; move
├── monit               # ln -s ./appstrap/monit/application
├── pmake               # pkgsrc wrapper
├── roll_test_certs
├── setenv.sh           # source this
└── shib_it             # build and install shib

Clone this wiki locally