Synology Package Framework 7.2
Notes
1. Package Framework
- Implementing a wizard using the Vue.js framework and compile by owner
Synology Package Framework 7.0
Breaking Changes
Find more details please refer to breaking changes Breaking Changes In 7.0.
Notes
1. Package Framework
- Force lower privilege for package
- Force some INFO fields to be neccessary
- Remove package signing
- Remove
run-as systemfrom privilege - Change default home path from
targettohome - Change
PACKAGE_ICON.PNGfrom 72x72 to 64x64 - Change FHS directory owner according to privilege settings
- Change package log location to
/var/log/packages/[package_name].logand/var/log/synopkg.log - Consider
prestartscript on bootup
2. Package Center
- Remove keyring
- Remove trust level
3. Commands
synopkg startstarts the package with its dependeessynopkg installchecks if the package can be installed
New Features
1. SDK Plugin
- Add
package_installmodule - Add
package_uninstallmodule - Add
package_startmodule - Add
package_stopmodule
2. Package Framework
- Add
vardirectory for FHS - Add
tmpdirectory for FHS - Add
homedirectory for FHS - Add
prereplacescript - Add
postreplacescript Add
install_on_cold_storageto INFOAdd
exclude_modelto INFO- Add
dsmapppageto INFO - Add
use_deprecated_replace_mechanismto INFO - Add multiple directories support for
dsmuidirin INFO
3. Resource Worker
- Add
strong-dependenceto data-share worker for package who needs auto start after encrypted share mounted - Add
systemd-user-unitworker
Enhancements
1. Package Framework
- Restart package after repaired according to its original state
- Cannot continue to install package if spk checksum is incorrect
2. Package Center
- Be able to start a package with its dependees
- Be able to stop a package with its dependers
- Be able to uninstall a package with its dependers
- Be able to repair start-failed package via repair button
- Community sources should have same name / source