hibernate-script should runtime depend on vbetool. In case the user enables vbetool related stuff in /etc/hibernate/hibernate.conf or /etc/hibernate/ram.conf this will silently (except for an entry in /var/log/hibernate.log) fail if vbetool has not been emerged. Especially in connection with hibernate-ram and framebuffer devices (here vesafb on a Dell Inspiron 8600 with nvidia graphics) this leads to problems that are extremely hard to diagnose (blank screen after resume). Reproducible: Always Steps to Reproduce: 1. 2. 3.
sys-power/hibernate-script can use a lot of external programs - but none of them are runtime dependencies, unless the user enables them - in which case they need to emerge the programs themselves. Otherwise the dependency list of hibernate-script would be huge for no good reason.
Okay, understand, but how about adding an info text then that alerts the user to this fact? It cost me several hours to find the problem (vbetool is enabled in the standard config that ships with hibernate-script, it wasn't clear to me that it's an external program).
Good idea.
Fixed InCVS.