Anonymous | Login | Signup for a new account | 11-10-2008 12:18 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003644 | [BusyBox] Documentation | feature | always | 06-04-08 21:17 | 06-21-08 15:47 | ||||
Reporter | wz2b | View Status | public | ||||||
Assigned To | BusyBox | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | svn | ||||||
Summary | 0003644: Add script support to dpkg documentation | ||||||||
Description |
From looking at the source it appears that dpkg supports the prerm, postrm, preinst, postinst scripts. Busybox does not, however, call these scripts with the parameters explained by the policy manual. This is OK, as long as the scripts have some "default" behavior. It may be helpful to explain that these scripts are not called with the standard arguments one would expect by examining the debian policy manual. A simple DPKG.TXT file would be sufficient. |
||||||||
Additional Information |
The policy manual defines what scripts get called when and with what arguments. I realize that busybox does not support all of these scenarios, but it does support some of them; it does not, however, send any parameters to dpkg.c/run_package_script(). As such, I found a number of my own packages to fail to remove. Here are the scripts, and preinst install preinst install <old_version> preinst upgrade <old_version> preinst abort_upgrade <new_version> postinst configure <most_recent_version> postinst abort-upgade <new_version> postinst abort-remove postinst abort-remove in-favour <package> <version> postinst abort-deconfigure in-favor <failed_install_package> removing <conflicting_package> <version> prerm remove prerm upgrade <new_version> prerm failed-upgrade <old_version> prerm remove in-favor <package> <new_version> prerm deconfigure in-favour <package> <version> removing <package> <version> postrm remove postrm purge postrm upgrade <new_version> postrm failed-upgrade <old_version> postrm abort-install postrm abort-install <old_version> postrm abort-upgrade <old_version> postrm disappear <overwriter> <version> |
||||||||
Attached Files | |||||||||
|
Copyright © 2000 - 2006 Mantis Group |