Add preinst/postinst logic to handle upgrade of config file.
Bug #744588 reported by
Andres Rodriguez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powernap (Ubuntu) |
Fix Released
|
Medium
|
Andres Rodriguez |
Bug Description
Binary package hint: powernap
The new PowerNap configuration file format has changed extensively from the one in previous Ubuntu version.
preinst/postinst logic is required to handle the upgrades and not lose a custom configuration file, for which in such case a copy of the old configuration file should be kept for manual merge of configuration. The logic will only upgrade configuration files when upgrading from versions < of 2.0.
If the configuration is left untouched, then the upgrade is seamless.
Changed in powernap (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
assignee: | nobody → Andres Rodriguez (andreserl) |
importance: | Wishlist → Medium |
To post a comment you must log in.
This bug was fixed in the package powernap - 2.6-0ubuntu1
---------------
powernap (2.6-0ubuntu1) natty; urgency=low
* debian/copyright: Update upstream authors and license years. monitors/ IOMonitor. py: If processes do not have a command line, cpu_frequency: Fix saving/restoring of wrong governor (LP: #743682) powernap. {preinst, postinst} : Add logic to handle the upgrade of
* powernap/
search regex in the 'Name:' field of /proc/<PID>/status (LP: #735452)
* actions/
Thanks to Mathieu Berard for the patch.
- Additionally, save 'ondemand' as default when acpi-support and ondemand
are run on boot to handle special case when running on battery.
* debian/
the config file as format has changed. (LP: #744588)
- install copy of config file in /usr/share/powernap to help with this.
-- Andres Rodriguez <email address hidden> Mon, 28 Mar 2011 17:38:34 -0400