adt-installer: ensure directory exists before copying/removing
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 18 Sep 2012 07:34:35 +0000 (10:34 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Sep 2012 10:10:23 +0000 (11:10 +0100)
commit09dbf541f2eb22242e1e3956b962c7c793ff1f87
treefb54dae71c9a88d06c3ee61f008d0d9f70f7f0ff
parentde48d3117a21e4af38ad74a7d19cca43e73e8e53
adt-installer: ensure directory exists before copying/removing

If the installation is done in a directory which already contains a
valid installation, opkg will not install anything and the moving the
contents of /install/dir/opt/poky/1.2 (for example) to /install/dir will
throw some errors. However, the install directory will not be affected.
This patch will ensure that the /install/dir/opt/poky/1.2 exists.

(From OE-Core rev: 1cd01533cbec0e9ed61bbd33ecdf5dc306a32eec)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal