Line
Link Here
|
0 |
-- laptop-mode-tools-1.65.ebuild |
0 |
++ laptop-mode-tools-1.65.ebuild |
Lines 30-35
Link Here
|
30 |
S=${WORKDIR}/${MY_P} |
30 |
S=${WORKDIR}/${MY_P} |
31 |
|
31 |
|
32 |
src_prepare() { |
32 |
src_prepare() { |
|
|
33 |
# fix USB autosuspend issues #520124 |
34 |
rm etc/laptop-mode/conf.d/usb-autosuspend.conf |
35 |
rm usr/share/laptop-mode-tools/modules/usb-autosuspend |
36 |
epatch "${FILESDIR}"/${P}-usb-autosuspend.patch |
37 |
|
33 |
# This should avoid conflict with pm-powersave wrt #327443 and #396703 |
38 |
# This should avoid conflict with pm-powersave wrt #327443 and #396703 |
34 |
cat <<-EOF > "${T}"/${PN} |
39 |
cat <<-EOF > "${T}"/${PN} |
35 |
HOOK_BLACKLIST="00powersave" |
40 |
HOOK_BLACKLIST="00powersave" |
Lines 90-93
Link Here
|
90 |
ewarn "information." |
95 |
ewarn "information." |
91 |
ewarn |
96 |
ewarn |
92 |
fi |
97 |
fi |
|
|
98 |
|
99 |
if [ -e "/etc/laptop-mode/conf.d/usb-autosuspend.conf" ]; then |
100 |
ewarn "/etc/laptop-mode/conf.d/usb-autosuspend.conf exists from an" |
101 |
ewarn "older installation. It is recommended you delete this file" |
102 |
ewarn "as per the author's suggestion:" |
103 |
ewarn "https://github.com/rickysarraf/laptop-mode-tools/commit/ad323f37b22ef0088dd687e0af040afe309e2dcb" |
104 |
ewarn |
105 |
fi |
93 |
} |
106 |
} |