-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deb: improve process timing for safety and simplicity
Points * FROM-package just leaves tmp files if it supports the features. * TO-package trigger the features if there are those tmp files. * Thus, we don't need to check the version. * Make installing plugin and restarting the same condition. Before 1. from-prerm(upgrade): Do nothing. 2. to-preinst(upgrade): Collect plugin-list. Confirm version. 3. Install TO-package 4. from-postrm(upgrade): Do nothing. 5. Uninstall FROM-package 6. to-postinst(configure): Install plugin and restart if need. After 1. from-prerm(upgrade): * Check auto or not. * Leave plugin-list and pid if need. 2. to-preinst(upgrade): Set tmp files for TO-package. 3. Install TO-package 4. from-postrm(upgrade): Clean tmp files of FROM-package. 5. Uninstall FROM-package 6. to-postinst(configure): Install plugin and restart if need. Signed-off-by: Daijiro Fukuda <[email protected]>
- Loading branch information
Showing
4 changed files
with
69 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters