The usm manifest validate command validates USM packages by building and installing them in a temporary environment, then verifying all declared resources are present and correctly located.
usm manifest validate [build-path]
build-path: Directory for package build (optional, auto-generated if not provided)Validates each declared resource based on path base:
Checks file exists at standard system location in temporary install directory.
Checks file exists at specified path in build directory.
Checks file exists at specified path in source directory.
Checks file exists at specified path in install directory.
Scans install directory for resources not declared in manifest and reports warnings.
| Code | Description |
|---|---|
| 0 | Validation completed successfully |
| 247 | Error validating installation result |
| 248 | Expected resources not found |
| 249 | Error running install exec |
| 250 | Could not create temporary install directory |
| 251 | Error running build exec |
| 252 | Missing dependencies |
| 253 | Could not read MANIFEST.usm |
| 254 | No MANIFEST.usm file found |
| 255 | Could not create temporary build directory |
usm manifest validate
usm manifest validate /tmp/my-build
The command reports:
Designed for automated environments:
| Command | Purpose |
|---|---|
| validate | Verifies package structure and resources |
| autoprovides | Generates provides section from build output |
| test | Runs package test scripts |
| install | Installs package to system |
This command provides comprehensive package validation by building and installing packages in temporary environments to ensure all declared resources are correctly present and located.