In this section, we'll build an example roll (the Valgrind Roll) from the ground up.
First, we need to create a development environment that can be used to build the Valgrind Roll. On a Rocks frontend, execute:
# mkdir -p /export/src/roll # cd /export/src/roll # rocks create new roll name=valgrind |
There are several more options you can supply to
"rocks create new roll"
(execute
"rocks create new roll help"
to see all the options).
The command "rocks create new roll name=valgrind"
creates the following file system:
valgrind -+ | +- graphs -+ | +- nodes -+ | +- src -+ | +- version.mk | +- Makefile |
Now we are ready to add packages to the Valgrind Roll.