Fix installation of NPRuntime plug-ins.
authorZbigniew Kostrzewa <z.kostrzewa@samsung.com>
Fri, 14 Jun 2013 10:56:53 +0000 (12:56 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Fri, 14 Jun 2013 13:08:06 +0000 (13:08 +0000)
commit9952b51a8e732a9fd9578d83c34c2f85bc4c9b44
tree7f924321554608455f12cfb7eb4afbf6b3ebb0c2
parent7849e6bb16800f4f552f85b122f9dfe161b726b3
Fix installation of NPRuntime plug-ins.

[Issue#] N/A
[Problem] All NPRuntime plug-ins are installed with a widget instead of
only those that match target architecture.
See "Tizen Web Runtime Core Specification 2.1", section
"Web Application Installation", requirements 0102 and 0103.
[Cause] N/A
[Solution] Install from widget package from sub-directory
"plugins/" only those files that are in sub-directory for target
architecture.
[SCMRequest] Depends on: https://review.tizenrsa.org/74219

[Verification]
1. Build repository.
2. Install widget npruntime-all-on-arm-x86.wgt from
RSA/test/wrt/wrt-package-management-tests/resources/ on the device.
3. Check if only plug-ins for arm architecture have been installed.

Change-Id: Iaa5ddca79f8cb1bc0237531869841864ee0e4625
src/jobs/widget_install/widget_unzip.cpp