summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sys-apps/usb_modeswitch: udev scripts need RW temporary directoryMaciej S. Szmigiero2017-02-031-0/+18
/lib/udev/usb_modeswitch script and usb_modeswitch_dispatcher Tcl script that it calls both need a writable temporary directory which is a problematic requirement for example if usb_modeswitch is triggered by a module loaded during system startup. Fortunately, /run is available RW very early at boot so let's redirect them there instead. Fixes a case where system startup with an USB modem plugged in would often result in this modem not being switched correctly if USB host controller modules are loaded via the "modules" service. Gentoo-Bug: https://bugs.gentoo.org/565262 Fixes: https://github.com/gentoo/gentoo/pull/3389 Package-Manager: Portage-2.3.3, Repoman-2.3.1 (cherry picked from commit 1cede4c86a4e691cd51f82aad27c2a4e543cacdd) Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>