Bug#598375: live-config: hooks on media do not run
I specified "hooks=medium", so the script found the hooks in /live/hooks/*,
but then uses them as raw filenames, without pre-pending file:// to them.
On Tue, Sep 28, 2010 at 07:09:02PM +0200, Daniel Baumann wrote:
> tag 598375 moreinfo
> On 09/28/2010 05:19 PM, Scott Barker wrote:
> > The 999-hooks script allows "filesystem" and "media" as options to the
> > hooks= boot argument, however, it tries to use wget to copy them, and wget
> > just complains "Scheme missing." If there is no scheme specified, the script
> > should just use "cp".
> it should do the right thing if your filesystem or medium hooks are in
> the format of a file:// url.
> are you using it with file:// prefix?
> > Note also that the man page for live-config
> > incorrectly states "medium" as an option for the hooks= boot argument,
> > instead of "media".
> updated the script to match the manpage (it should not be plural here).
> Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
> Email: firstname.lastname@example.org
> Internet: http://people.panthera-systems.net/~daniel-baumann/
Scott Barker email@example.com
Linux Consultant http://www.mostlylinux.ca/scott