On 11.04.2016 18:00, Guido Trentalancia wrote: > Avoid symbolic link creation error (should apply to latest dracut version). > > Signed-off-by: Guido Trentalancia <guido@xxxxxxxxxxxxxxxx> > --- > modules.d/95resume/parse-resume.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- dracut-044/modules.d/95resume/parse-resume.sh 2015-11-25 14:22:28.000000000 +0100 > +++ dracut-044-95resume-force-symlink/modules.d/95resume/parse-resume.sh 2016-04-11 17:53:20.664983390 +0200 > @@ -67,7 +67,7 @@ if ! getarg noresume; then > printf -- '%s\n' ' RUN+="/sbin/initqueue --finished --unique --name 00resume echo %M:%m > /sys/power/resume"' > } >> /etc/udev/rules.d/99-resume.rules > > - printf '[ -e "%s" ] && { ln -s "%s" /dev/resume 2> /dev/null; rm -f -- "$job" "%s/initqueue/timeout/resume.sh"; }\n' \ > + printf '[ -e "%s" ] && { ln -sf "%s" /dev/resume 2> /dev/null; rm -f -- "$job" "%s/initqueue/timeout/resume.sh"; }\n' \ > "$resume" "$resume" "$hookdir" >> $hookdir/initqueue/settled/resume.sh > > { > -- > To unsubscribe from this list: send the line "unsubscribe initramfs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > patching file modules.d/95resume/parse-resume.sh patch: **** malformed patch at line 8: printf -- '%s\n' ' RUN+="/sbin/initqueue --finished --unique --name 00resume echo %M:%m > /sys/power/resume"' anyway.. applied by hand and pushed. -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html