2009/12/19  <luca...@svn.gobolinux.org>:
> Author: lucasvr
> Date: 2009-12-18 21:20:36 -0800 (Fri, 18 Dec 2009)
> New Revision: 4244
>
> Modified:
>   branches/015/Compile/bin/UnionSandbox
> Log:
> Bring unionfs back to life in ChrootCompile.
>
> Modified: branches/015/Compile/bin/UnionSandbox
> ===================================================================
> --- branches/015/Compile/bin/UnionSandbox       2009-12-19 04:14:30 UTC (rev 
> 4243)
> +++ branches/015/Compile/bin/UnionSandbox       2009-12-19 05:20:36 UTC (rev 
> 4244)
> @@ -187,12 +187,15 @@
>  echo "#!/bin/bash" >"${sandbox_mp}/.wrapper"
>  echo "cd $newpwd" >>"${sandbox_mp}/.wrapper"
>  Args_To_Array command >> "${sandbox_mp}/.wrapper"
> -echo "mkdir -p $goboDevices; mount -t tmpfs none $goboDevices" >> 
> "${sandbox_mp}/.wrapper"
> -echo "mkdir -p $goboStatus; mount -t proc none $goboStatus" >> 
> "${sandbox_mp}/.wrapper"
> -echo "cp -aR \"${goboLibraries}/udev/devices/\"* $goboDevices" >> 
> "${sandbox_mp}/.wrapper"
> -if Executable_Exists_In_Path "udevadm"
> -then echo "udevadm trigger && udevadm settle --timeout=10" >> 
> "${sandbox_mp}/.wrapper"
> -else echo "udevtrigger && udevsettle" >> "${sandbox_mp}/.wrapper"
> +if [ "$unionbackend" != "unionfs" ]
> +then
> +    echo "mkdir -p $goboDevices; mount -t tmpfs none $goboDevices" >> 
> "${sandbox_mp}/.wrapper"
> +    echo "mkdir -p $goboStatus; mount -t proc none $goboStatus" >> 
> "${sandbox_mp}/.wrapper"
> +    echo "cp -aR \"${goboLibraries}/udev/devices/\"* $goboDevices" >> 
> "${sandbox_mp}/.wrapper"
> +    if Executable_Exists_In_Path "udevadm"
> +    then echo "udevadm trigger && udevadm settle --timeout=10" >> 
> "${sandbox_mp}/.wrapper"
> +    else echo "udevtrigger && udevsettle" >> "${sandbox_mp}/.wrapper"
> +    fi
>  fi
>  echo "\"\${comma...@]}\"" >>"${sandbox_mp}/.wrapper"
>
Why doesn't unionfs need these entries in the wrapper?

-- 
/Jonas
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to