Sv: Sv: live-config hooks

2016-10-06 Thread Kristian Klausen
an Klausen Fra: Machu Chukov <mailto:m.chu...@gmx.de> Sendt: 6. oktober 2016 14:23:35 Til: debian-live@lists.debian.org<mailto:debian-live@lists.debian.org> Emne: Re: live-config hooks Ah, I think I got it. The scripts in {builddirectory}/config/hooks/ are executed the ver

Re: Sv: live-config hooks

2016-10-06 Thread Machu Chukov
ausen *Fra:* Machu Chukov *Sendt:* 6. oktober 2016 14:23:35 *Til:* debian-live@lists.debian.org *Emne:* Re: live-config hooks Ah, I think I got it. The scripts in {builddirectory}/config/hooks/ are executed the very last in chroot-stage. Plac

Sv: live-config hooks

2016-10-06 Thread Kristian Klausen
schrieb Machu Chukov: > Hello everybody, > > I want to change the configuration of sudo in a debian live-system. > That's what live-config-hooks are made for, in this case > /lib/live/config/0040-sudo. But I want to configure sudo in a > different way, than it is made in this

Re: live-config hooks

2016-10-06 Thread Machu Chukov
schrieb Machu Chukov: Hello everybody, I want to change the configuration of sudo in a debian live-system. That's what live-config-hooks are made for, in this case /lib/live/config/0040-sudo. But I want to configure sudo in a different way, than it is made in this hook. I want to disable sudo

live-config hooks

2016-10-06 Thread Machu Chukov
Hello everybody, I want to change the configuration of sudo in a debian live-system. That's what live-config-hooks are made for, in this case /lib/live/config/0040-sudo. But I want to configure sudo in a different way, than it is made in this hook. I want to disable sudo for all normal

Bug#598375: marked as done (live-config: hooks on media do not run)

2010-10-02 Thread Debian Bug Tracking System
Your message dated Sat, 02 Oct 2010 09:02:39 + with message-id and subject line Bug#598375: fixed in live-config 3.0~a9-1 has caused the Debian Bug report #598375, regarding live-config: hooks on media do not run to be marked as done. This means that you claim that the problem has been dealt

Bug#598375: marked as done (live-config: hooks on media do not run)

2010-10-02 Thread Debian Bug Tracking System
Your message dated Sat, 02 Oct 2010 08:36:05 + with message-id and subject line Bug#598375: fixed in live-config 2.0.8-1 has caused the Debian Bug report #598375, regarding live-config: hooks on media do not run to be marked as done. This means that you claim that the problem has been dealt

Bug#598375: live-config: hooks on media do not run

2010-09-30 Thread Daniel Baumann
On 09/28/2010 11:10 PM, Scott Barker wrote: > There is also a faulty "if" statement on line 56. This is incorrect: > > if $(echo "${_HOOK}" | grep file:\/\/) > > this is correct: > > if (echo "${_HOOK}" | grep file:\/\/) not really, the proper way to do it is if echo "${_HOOK}" | grep -q

Bug#598375: live-config: hooks on media do not run

2010-09-30 Thread Daniel Baumann
On 09/28/2010 10:55 PM, Scott Barker wrote: > I'm pretty sure that the first for loop in the script is incorrect as well. > The case statement uses "${LIVE_HOOKS}" instead of "${_HOOK}", which doesn't > work if more than one hook is defined. fixed, thanks. -- Address:Daniel Baumann, Burg

Bug#598375: live-config: hooks on media do not run

2010-09-28 Thread Scott Barker
There is also a faulty "if" statement on line 56. This is incorrect: if $(echo "${_HOOK}" | grep file:\/\/) this is correct: if (echo "${_HOOK}" | grep file:\/\/) Probably "file:\/\/" could also just be "file://". I think in the sed statement, "file\://" could just be "file://" as well. -

Bug#598375: live-config: hooks on media do not run

2010-09-28 Thread Scott Barker
I'm pretty sure that the first for loop in the script is incorrect as well. The case statement uses "${LIVE_HOOKS}" instead of "${_HOOK}", which doesn't work if more than one hook is defined. -- Scott Barker sc...@mostlylinux.ca Linux Consultant http://www.mostlylinux.ca/scott -- To U

Processed: Re: Bug#598375: live-config: hooks on media do not run

2010-09-28 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > tag 598375 - moreinfo Bug #598375 [live-config] live-config: hooks on media do not run Removed tag(s) moreinfo. > tag 598375 pending Bug #598375 [live-config] live-config: hooks on media do not run Added tag(s) pending. > thanks

Bug#598375: live-config: hooks on media do not run

2010-09-28 Thread Daniel Baumann
tag 598375 - moreinfo tag 598375 pending thanks On 09/28/2010 07:18 PM, Scott Barker wrote: > 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. ah, right. fixed in git. thanks you for reporting i

Bug#598375: live-config: hooks on media do not run

2010-09-28 Thread Scott Barker
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 > thanks > > On 09/28/2010 05:19 PM, Scott Barker wrote: > >

Processed: Re: Bug#598375: live-config: hooks on media do not run

2010-09-28 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > tag 598375 moreinfo Bug #598375 [live-config] live-config: hooks on media do not run Added tag(s) moreinfo. > thanks Stopping processing here. Please contact me if you need assistance. -- 598375: http://bugs.debian.org/cgi-bin/bugreport.c

Bug#598375: live-config: hooks on media do not run

2010-09-28 Thread Daniel Baumann
tag 598375 moreinfo thanks 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 scrip

Bug#598375: live-config: hooks on media do not run

2010-09-28 Thread Scott Barker
Package: live-config Version: 2.0.7+20100926.070409~60squeeze+1 Severity: normal 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