spksrc
spksrc copied to clipboard
redesign package folders for DSM7 compatibility and use alternate TMPDIR for all packages
Description
This is a redesign of the framework generated installers
- define installer variables SYNOPKG_PKGVAR, SYNOPKG_PKGTMP and SYNOPKG_PKGHOME for DSM7 compatibility of DSM5 and DSM6 packages
- create home and tmp folders for DSM7 compatibility of DSM5 and DSM6 packages
- implement alternate TMPDIR for all packages and remove USE_ALTERNATE_TMPDIR variable (related to #5089)
§ 1. and 2. are based on the Package Filesystem, documented by synology (https://help.synology.com/developer-guide/integrate_dsm/fhs.html)
Checklist
- [ ] Build rule
all-supported
completed successfully - [ ] New installation of package completed successfully
- [ ] Package upgrade completed successfully (Manually install the package again)
- [ ] Package functionality was tested
- [ ] Any needed documentation is updated/created
Type of change
- [ ] Bug fix
- [ ] New Package
- [ ] Package update
- [x] Includes small framework changes
- [x] This change requires a documentation update (e.g. Wiki)
this would also fix https://github.com/SynoCommunity/spksrc/issues/5081
@hgy59 Don't we still need this?