OpenSLX supports a couple of perl functions. Because the functions are not documented in the source beside the source itself, this page will give you a list.
Not described functions are often easy to understand by the name. If something is unclear, read the sourcecode.
lib/OpenSLX/Utils.pm included via "use OpenSLX::Utils;"- copyFile("/path1/$fileA", "/path2/$fileB");
- copys $fileA to place $fileB
- determineMatchingHwinfoVersion()
- set the version of hwinfo the Demuxer should copy into the InitRamFS
- fakeFile(...);
- ...
- linkFile(/path1/$fileA, /path2/$fileB);
- creats a link from $fileB at place $fileA
- slurpFile
- ...
- spitFile(fileA, fileB);
- ...
- appendFile(fileA, fileB);
- ...
- followLink(fileA, fileB);
- ...
- copyBinaryWithRequiredLibs(..., ...);
- ...
- unshiftHereDoc(...);
- ...
- string2Array(...);
- ...
- chrootInto(...);
- ...
- mergeHash(...);
- ...
- getFQDN(...);
- ...
- readPassword(...);
- ...
- hostIs64Bit();
- Checks if host is a 64 bit architecture
To be continued.