]> git.pld-linux.org Git - packages/captive.git/blob - captive-use_lufis.patch
- typo
[packages/captive.git] / captive-use_lufis.patch
1 --- captive-1.1.5/src/client/lufs/mount.captive.in.orig 2003-12-02 18:23:19.000000000 +0100
2 +++ captive-1.1.5/src/client/lufs/mount.captive.in      2005-03-26 23:19:21.163928008 +0100
3 @@ -28,8 +28,7 @@
4  my $vardir='@localstatedir@/lib/captive';
5  $vardir=~s#\$\Q{prefix}\E#'@prefix@';#ge;
6  $vardir="/var/lib/captive" if $vardir=~/^@/;
7 -my $lufsd_bin='@PATH_LUFSD@';
8 -$lufsd_bin="/usr/bin/lufsd" if $lufsd_bin=~/^@/;
9 +my $lufsd_bin="/usr/bin/lufis";
10  my $captive_sandbox_server_bin='@sbindir@/captive-sandbox-server';
11  $captive_sandbox_server_bin=~s#\$\Q{exec_prefix}\E#'@exec_prefix@';#ge;
12  $captive_sandbox_server_bin=~s#\$\Q{prefix}\E#'@prefix@';#ge;
13 @@ -128,8 +127,10 @@
14  
15  warn "$0: '-n' not supported - ignored" if $nomtab;
16  
17 +my $fuseopts="-oallow_other,fsname=$image";
18 +
19  # Use "'$oo'" to permit another expansion by bash(1) during lufsmnt(8) execution.
20 -my @argv=($lufsd_bin,"none",$dir,"-o",$oo);
21 +my @argv=($lufsd_bin,$oo,$dir,"-s",$fuseopts);
22  
23  print STDERR "$0: @argv\n" if $verbose;
24  exec $lufsd_bin @argv;
This page took 0.065354 seconds and 3 git commands to generate.