]> code.ossystems Code Review - openembedded-core.git/commit
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:05 +0000 (11:10 +0100)
commit1cd01533cbec0e9ed61bbd33ecdf5dc306a32eec
tree7a4f126370aee1f6068bc8d4bd8480baad9093ca
parent9e6a25e2e9a7f37c3baa0b2949a43ac4127868da
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.

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