packaged-staging: Fix packagaging of cross packages
authorJoshua Lock <josh@linux.intel.com>
Thu, 4 Mar 2010 22:34:20 +0000 (22:34 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 17 Mar 2010 12:17:15 +0000 (12:17 +0000)
commitf94496c1c245882df0e2f8c9fb94774c8c9b3ce0
tree8c04ba62d7dff49e888c9d95e63fc1d545316603
parent00e29e85c140430b3e6e398a0191979f4d94a93e
packaged-staging: Fix packagaging of cross packages

packagedstaging_fastpath() was only copying the contents of CROSS_DIR to
PSTAGE_TMPDIR resulting in the folders contents being packaged and then
installed incorrectly at the top level of CROSS_DIR rather than in HOST_ARCH
specific sub directories.

This patch fixes that issue by copying the directory and its contents rather
than just the directory contents.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
classes/packaged-staging.bbclass