mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
bitbake: toaster: Add new ReST API for Image Customisation feature
Implemented xhr_customrecipe API. To create a custom recipe from a base recipe. Implemented xhr_customrecipe_packages API to add/remove packages to/from custom recipe. co-authored see Signed-off-by (Bitbake rev: 84be400237173970716616eeab6a37d776aa011b) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
28153acb0a
commit
a3ff4b28ba
@@ -152,6 +152,14 @@ urlpatterns = patterns('toastergui.views',
|
||||
# JS Unit tests
|
||||
url(r'^js-unit-tests/$', 'jsunittests', name='js-unit-tests'),
|
||||
|
||||
# default redirection
|
||||
# image customisation functionality
|
||||
url(r'^xhr_customrecipe/(?P<recipe_id>\d+)/packages/(?P<package_id>\d+|)$',
|
||||
'xhr_customrecipe_packages', name='xhr_customrecipe_packages'),
|
||||
url(r'^xhr_customrecipe/(?P<recipe_id>\d+)$', 'xhr_customrecipe_id',
|
||||
name='xhr_customrecipe_id'),
|
||||
url(r'^xhr_customrecipe/', 'xhr_customrecipe',
|
||||
name='xhr_customrecipe'),
|
||||
|
||||
# default redirection
|
||||
url(r'^$', RedirectView.as_view( url= 'landing')),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user