Enabled images filtering when run kickstarter 01/24501/1 accepted/tizen/common/20140722.142200 submit/tizen/20140722.023347 submit/tizen_ivi/20140731.114127
authorLin Yang <lin.a.yang@intel.com>
Tue, 15 Jul 2014 11:53:28 +0000 (19:53 +0800)
committerLin Yang <lin.a.yang@intel.com>
Tue, 15 Jul 2014 11:53:28 +0000 (19:53 +0800)
Add extra command line options for kickstarter command:
    kickstarter ... --targetdef .../%{_profile}-targets.yaml \
                    --target %{_repository}

--targetdef to specify the YAML file of targets definition
--target to specify the dedicated build target to filter images

Change-Id: I32759c1490005c22f5bff5fed3de254f8ea37611
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
packaging/image-configurations.spec

index c933fbe..7e46b7d 100644 (file)
@@ -31,7 +31,10 @@ cp %{SOURCE1001} .
 %build
 kickstarter -c /usr/share/image-configurations/%_profile/%_profile.yaml \
     -e /usr/share/image-configurations/%_profile/configs \
-    -r /usr/share/image-configurations/%_profile/%_profile-repos.yaml -i image-configs.xml
+    -r /usr/share/image-configurations/%_profile/%_profile-repos.yaml \
+    -T /usr/share/image-configurations/%_profile/%_profile-targets.yaml \
+    -t %{_repository} \
+    -i image-configs.xml
 
 %install