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 │ └── default ├── nodes └── src ├── usersguide │ └── images └── valgrind └── Makefile └── test-1.0.tgz ├── version.mk |
![]() | At this point, the roll is "buildable". It doesn't actually do much, but
the structure is functional. Type |
Now we are ready to add packages to the Valgrind Roll.