lp:ubuntu/natty/hdparm

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/natty/hdparm
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Mature

Recent revisions

40. By Martin Pitt

releasing version 9.32-1ubuntu3

39. By Martin Pitt

debian/95hdparm-apm: Handle powersaving and suspend separately, and only
apply -S settings on resuming, not on powersaving events. Thanks heckheck!
(LP: #738757)

38. By Martin Pitt

releasing version 9.32-1ubuntu2

37. By Martin Pitt

debian/rules: Install a suspend.d symlink to also call the pm-utils hook
on resuming. (LP: #738757)

36. By Martin Pitt

debian/95hdparm-apm: Also handle -S option from /etc/hdparm.conf. (side
issue in LP #738757).

35. By Michael Vogt

* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Do not depend on lsb-base (we no longer use init script)
    - Add Homepage
    - Add Breaks on old udev
    - Bump debhelper depends for dh_installudev changes
    - Recommend powermgmt-base, so we can use on_ac_power to detect if we're
      on battery.
    - declare a Breaks: on pm-utils (<< 1.2.5-2ubuntu8), due to the change of
      the hdparm-functions API.
    - Replace pm-utils versions which shipped that script.
  + debian/hdparm.install:
    - Use hpdarm.udev instead of .rules
    - move hdparm-functions to /lib/hdparm.
  + debian/hpdarm.udev:
    - refactor to use the above functions instead of embedding a parser.
  + debian/hpdarm.dirs:
    - Drop unused /etc/udev/rules.d, add lib/udev for our udev-script
  + debian/rules, debian/hdparm.udev-script:
    - Install udev-script, drop init file stuff
    - Pass --priority=85 to dh_installudev
  + debian/hdparm.postinst: The transitional code to create
    /etc/udev/rules.d/z60_hdparm.rules also got wrongly executed on new
    installs, leaving a broken symlink behind. However, we do not need this
    in the first place, so just throw away the code completely.
  + debian/hdparm.preinst: Remove broken symlink on upgrade.
  + Add a new option to hdparm.conf, apm_battery, which is used in place of
    apm when we detect that we're on battery power.
  + debian/hdparm.udev-script, debian/hdparm.init:
    - only use the 'apm' setting when we're not on battery; when we are on
      battery, apply the separate 'apm_battery' setting.
    - Don't call hdparm -f for every drive; no clear rationale was ever given
      for doing this, and doing so slows down hard drive access at boot time.
    - also don't call sync...
  + debian/hdparm-functions:
    - break out a barebones parser for /etc/hdparm.conf and install it to
      /usr/lib/pm-utils, for use in /usr/lib/pm-utils/sleep.d/95hdparm-apm.
    - refactor so that it can be used by the udev script as well
    - drop handling of "command_line" here - we shouldn't be running this
      for every hard drive and every power event, this should be supported
      only by an init script (if at all)
    - Don't apply default APM policy to Firewire or USB devices when running
      from udev (LP: #515023, #548513).
    - Fetch ID_PATH from 'udevadm info' if it isn't already set in the
      environment (LP: #567182).
    - Factor Firewire/USB check out into a new hdparm_try_apm function.
  + Add debian/95hdparm-apm:
    - pm-utils script to adjust hard drive APM settings
      after resuming. This was previously shipped in pm-utils, but is more
      appropriate here (see /usr/share/doc/pm-utils/README.distributions).
    - Skip Firewire and USB devices.
  + debian/hdparm.conf, debian/hdparm.conf.5: drop 'command_line' example

34. By Steve Langasek

releasing version 9.27-2ubuntu2

33. By Steve Langasek

debian/hdparm.conf, debian/hdparm.conf.5: drop 'command_line' example
from the default hdparm.conf since it's no longer supported, and update
the manpage to match. LP: #568120.

32. By Benjamin Drung

Correct series to maverick.

31. By Benjamin Drung

* Merge from Debian unstable (LP: #516249); remaining changes:
  + debian/control:
    - Do not depend on lsb-base (we no longer use init script)
    - Add Homepage
    - Add Breaks on old udev
    - Bump debhelper depends for dh_installudev changes
    - Recommend powermgmt-base, so we can use on_ac_power to detect if we're
      on battery.
    - declare a Breaks: on pm-utils (<< 1.2.5-2ubuntu8), due to the change of
      the hdparm-functions API.
    - Replace pm-utils versions which shipped that script.
  + debian/hdparm.install:
    - Use hpdarm.udev instead of .rules
    - move hdparm-functions to /lib/hdparm.
  + debian/hpdarm.udev:
    - refactor to use the above functions instead of embedding a parser.
  + debian/hpdarm.dirs:
    - Drop unused /etc/udev/rules.d, add lib/udev for our udev-script
  + debian/rules, debian/hdparm.udev-script:
    - Install udev-script, drop init file stuff
    - Pass --priority=85 to dh_installudev
  + debian/hdparm.postinst: The transitional code to create
    /etc/udev/rules.d/z60_hdparm.rules also got wrongly executed on new
    installs, leaving a broken symlink behind. However, we do not need this
    in the first place, so just throw away the code completely.
  + debian/hdparm.preinst: Remove broken symlink on upgrade.
  + Add a new option to hdparm.conf, apm_battery, which is used in place of
    apm when we detect that we're on battery power.
  + debian/hdparm.udev-script, debian/hdparm.init:
    - only use the 'apm' setting when we're not on battery; when we are on
      battery, apply the separate 'apm_battery' setting.
    - Don't call hdparm -f for every drive; no clear rationale was ever given
      for doing this, and doing so slows down hard drive access at boot time.
    - also don't call sync...
  + debian/hdparm-functions:
    - break out a barebones parser for /etc/hdparm.conf and install it to
      /usr/lib/pm-utils, for use in /usr/lib/pm-utils/sleep.d/95hdparm-apm.
    - refactor so that it can be used by the udev script as well
    - drop handling of "command_line" here - we shouldn't be running this
      for every hard drive and every power event, this should be supported
      only by an init script (if at all)
    - Don't apply default APM policy to Firewire or USB devices when running
      from udev (LP: #515023, #548513).
    - Fetch ID_PATH from 'udevadm info' if it isn't already set in the
      environment (LP: #567182).
    - Factor Firewire/USB check out into a new hdparm_try_apm function.
  + Add debian/95hdparm-apm:
    - pm-utils script to adjust hard drive APM settings
      after resuming. This was previously shipped in pm-utils, but is more
      appropriate here (see /usr/share/doc/pm-utils/README.distributions).
    - Skip Firewire and USB devices.
* Stop unconditionally stripping hdparm during build (closes: #568774)
* New upstream version
* Make eval_value fail if unknown value passed to it (closes: #329443)
* Get rid of deprecated dev.d/ file (closes: #329450)
* Add /etc/udev/rules.d/ to package (closes: #329731)
* Make eval_value fail if unknown value passed to it (closes: #329443)
* Get rid of deprecated dev.d/ file (closes: #329450)
* Add /etc/udev/rules.d/ to package (closes: #329731)
* Migrate from dev.d to udev/hdparm.rules (closes: #329026)
* remerge manpage patch for -M (closes: #325237)
* Change udev script name to end in .dev (hmm, really should have
  investigated that more) (closes: #322636)
* Grr, I _would_ have had a working solution, if only I actually installed
  all the files.
* Finally, I think I have a working udev method (much thanks to Ubuntu for
  doing rather a lot of the work getting it there)
  (closes: #274109, #312949)
* security-freeze support for init script (closes: #317675)
* hdparm.conf manpage written and included (closes: #319928)
* Typo fixups in /etc/default/hdparm (closes: #310517)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/oneiric/hdparm
This branch contains Public information 
Everyone can see this information.

Subscribers