Re: [systemd-devel] [PATCH 1/2] cryptsetup: RequiresMountsFor if source is a file

2013-03-29 Thread Frederic Crozat
Le vendredi 29 mars 2013 à 16:07 +0100, Lennart Poettering a écrit : > On Wed, 27.03.13 17:52, Thomas Weißschuh (tho...@t-8ch.de) wrote: > > > +if (startswith(u, "/dev/")) > > Looks like we want is_device_path for this? > > > +fprintf(f, > > +"Bind

Re: [systemd-devel] [PATCH 1/2] cryptsetup: RequiresMountsFor if source is a file

2013-03-29 Thread Lennart Poettering
On Wed, 27.03.13 17:52, Thomas Weißschuh (tho...@t-8ch.de) wrote: > +if (startswith(u, "/dev/")) Looks like we want is_device_path for this? > +fprintf(f, > +"BindsTo=%s\n" > +"After=%s\n" > +"Before=

[systemd-devel] [PATCH 1/2] cryptsetup: RequiresMountsFor if source is a file

2013-03-27 Thread Thomas Weißschuh
Fixes bug 60821 --- TODO | 1 - src/cryptsetup/cryptsetup-generator.c | 22 -- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index e54f84b..fc05317 100644 --- a/TODO +++ b/TODO @@ -354,7 +354,6 @@ Features: * cr