65 | | The current inventory code can all be found in the image {{{inventory.ndz}}}. Source is controlled by {{{git}}}. At the time of this writing there is no functioning {{{git}}} server at WINLAB, so just mail patches to {{{jfm3}}} at {{{winlab.rutgers.edu}}}. |
66 | | |
| 65 | The current inventory code can all be found in the image {{{inventory.ndz}}} in {{{/root/inv.tar}}}. Source is controlled by {{{git}}}. At the time of this writing there is no functioning {{{git}}} server at WINLAB, so just mail patches to {{{jfm3}}} at {{{winlab.rutgers.edu}}}. From {{{baseline.ndz}}}, you will also need the packages {{{sbcl}}}, {{{cl-sql}}}, and {{{cl-ppcre}}}. '''Porting to a new baseline image is usually a fair amount of work.''' {{{sysfs}}} has proven to be a very moving target, so far. |
| 66 | |
| 67 | To run inventory, follow the following procedure from the console. (It would be good to script more of this.) |
| 68 | |
| 69 | 1. {{{sh> tar xvf inv.tar}}} |
| 70 | 1. {{{sh> mkdir -p ~/.sbcl/systems}}} |
| 71 | 1. {{{sh> cd inventory}}} |
| 72 | 1. {{{sh> ln -s *.asd ~/.sbcl/systems}}} |
| 73 | |
| 74 | You only need to do the above steps once ever. If you use symbolic links, untarring new versions of the code over the old will not cause any problems downstream. |
| 75 | |
| 76 | 1. {{{sh> sbcl}}} |
| 77 | 1. {{{sbcl> (asdf:operate 'asdf:load-op 'inventory)}}} |
| 78 | 1. {{{sbcl> (inv:open-inventory)}}} |
| 79 | 1. {{{sbcl> (quit)}}} |
| 80 | 1. {{{sh> orbit load all inventory.ndz}}} |
| 81 | 1. {{{sh> orbit exec inv}}} |
| 82 | 1. {{{sh> sbcl}}} |
| 83 | 1. {{{sbcl> (asdf:operate 'asdf:load-op 'inventory)}}} |
| 84 | 1. {{{sbcl> (inv:regenerate-tags-table)}}} |
| 85 | 1. {{{sbcl> (inv:close-inventory)}}} |
| 86 | 1. {{{sbcl> (quit)}}} |