[ovs-dev] [PATCH] create dir if not exist

Ben Pfaff blp at nicira.com
Wed Aug 26 03:48:32 UTC 2015


On Wed, Aug 26, 2015 at 11:10:56AM +0800, rongqing.li at windriver.com wrote:
> From: Roy Li <rongqing.li at windriver.com>
> 
> If build dir is not same as the source code, make the target .in wrong
> due to no dir:
> 	vswitchd/ovs-vswitchd.conf.db.5.tmp: No such file or directory
> 
> The target .in has not dependency, but in fact, it needs other target to
> create the dir to put its result, like builddir/vswitchd in below:
> 
> /usr/bin/perl soexpand.pl < ${S}/vswitchd/ovs-vswitchd.8.in | \
>     sed \
>         -e 's,[@]PKIDIR[@],/var/lib/openvswitch/pki,g' \
>            ......
>             > vswitchd/ovs-vswitchd.8.tmp
> 
> fix it by creating the dir in .in target
> 
> Signed-off-by: Roy Li <rongqing.li at windriver.com>

Running "configure" creates all the necessary directories, so this patch
is not necessary.



More information about the dev mailing list