disable-powersave.patch 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Index: pm-utils-1.4.1/configure.ac
  2. ===================================================================
  3. --- pm-utils-1.4.1.orig/configure.ac
  4. +++ pm-utils-1.4.1/configure.ac
  5. @@ -41,7 +41,6 @@ man/Makefile
  6. src/Makefile
  7. pm/Makefile
  8. pm/sleep.d/Makefile
  9. -pm/power.d/Makefile
  10. pm/module.d/Makefile
  11. ])
  12. Index: pm-utils-1.4.1/man/Makefile.am
  13. ===================================================================
  14. --- pm-utils-1.4.1.orig/man/Makefile.am
  15. +++ pm-utils-1.4.1/man/Makefile.am
  16. @@ -2,7 +2,6 @@ pm_mans = \
  17. on_ac_power.1 \
  18. pm-is-supported.1 \
  19. pm-pmu.8 \
  20. - pm-powersave.8 \
  21. pm-action.8
  22. if HAVE_XMLTO
  23. @@ -13,7 +12,6 @@ EXTRA_DIST = \
  24. on_ac_power.xml \
  25. pm-pmu.xml \
  26. pm-is-supported.xml \
  27. - pm-powersave.xml \
  28. pm-action.xml \
  29. $(pm_mans)
  30. Index: pm-utils-1.4.1/pm/sleep.d/Makefile.am
  31. ===================================================================
  32. --- pm-utils-1.4.1.orig/pm/sleep.d/Makefile.am
  33. +++ pm-utils-1.4.1/pm/sleep.d/Makefile.am
  34. @@ -2,8 +2,7 @@ sleepdir = $(libdir)/pm-utils/sleep.d
  35. sleep_SCRIPTS = \
  36. 00logging \
  37. - 00powersave \
  38. - 01grub \
  39. + 01grub \
  40. 49bluetooth \
  41. 55NetworkManager \
  42. 75modules \
  43. Index: pm-utils-1.4.1/pm/Makefile.am
  44. ===================================================================
  45. --- pm-utils-1.4.1.orig/pm/Makefile.am
  46. +++ pm-utils-1.4.1/pm/Makefile.am
  47. @@ -1,6 +1,5 @@
  48. SUBDIRS = \
  49. sleep.d \
  50. - power.d \
  51. module.d
  52. pm_libdir = $(libdir)/pm-utils
  53. Index: pm-utils-1.4.1/pm/HOWTO.hooks
  54. ===================================================================
  55. --- pm-utils-1.4.1.orig/pm/HOWTO.hooks
  56. +++ pm-utils-1.4.1/pm/HOWTO.hooks
  57. @@ -24,12 +24,6 @@ The actual sleep method being used will
  58. if your hook needs to handle suspend-hybrid (or any other platform-specific
  59. sleep method), it should examine the second parameter.
  60. -For hooks in power.d, the potential values of that parameter are:
  61. -true -- the hook MUST perform whatever action is appropriate when the system
  62. - transitions TO battery power.
  63. -false -- The hook MUST perform whatever action is appropriate when the system
  64. - transitions FROM battery power.
  65. -
  66. NAMING SCHEME
  67. All hooks are run in lexical sort order according to the C locale.
  68. @@ -44,8 +38,7 @@ Any other return code is interpreted by
  69. from the hook that it should abort whatever it is doing. When running sleep.d
  70. hooks, that means that pm-utils stops running hooks, aborts the suspend/resume
  71. process, calls any hooks that ran successfully prior to this one with the
  72. -appropriate wakeup options, and exits with a non-zero exit code. When running
  73. -power.d hooks, any hooks after this one will be skipped.
  74. +appropriate wakeup options, and exits with a non-zero exit code.
  75. SLEEP.D SPECIFIC NOTES
  76. Index: pm-utils-1.4.1/src/Makefile.am
  77. ===================================================================
  78. --- pm-utils-1.4.1.orig/src/Makefile.am
  79. +++ pm-utils-1.4.1/src/Makefile.am
  80. @@ -16,9 +16,7 @@ bin_SCRIPTS = pm-is-supported
  81. dist_bin_SCRIPTS = on_ac_power
  82. -sbin_SCRIPTS = pm-powersave
  83. -
  84. -script_in_files = pm-action.in pm-is-supported.in pm-powersave.in service
  85. +script_in_files = pm-action.in pm-is-supported.in service
  86. CLEANFILES = $(script_in_files:.in=)