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>
%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