Files
openwrt/docs/package-creation-procedure.md
2026-03-22 00:54:57 -07:00

18 lines
666 B
Markdown
Executable File

# Package Creation Procedure
## New Standard Workflow (as of 2025-12-13)
1. **Build Format**: Always build packages as `.tar.gz` first.
- Do NOT build directly as `.ipk`.
- The `.tar.gz` must contain: `debian-binary`, `control.tar.gz`, `data.tar.gz`.
2. **Verification**:
- Verify the `.tar.gz` can be extracted using standard `tar -xzf`.
- Check contents of extracted archive.
3. **Finalize**:
- Only AFTER verification is successful, rename the `.tar.gz` file to `.ipk`.
## Why?
This ensures the package structure is valid and compatible with standard archive tools before being deployed, preventing "malformed package" errors on some systems.